In this project, I developed a Qt application that utilizes TCP sockets to send data to a PComm Terminal Emulator. The Qt application sends data over TCP to port 5004, and PComm listens on this port to receive and display the incoming data.
The Qt application performs the following tasks:
- Sends data via TCP socket to port 5004.
- Utilizes CSS styling for enhanced visual presentation (e.g., QTabWidget, buttons).
PComm Terminal Emulator acts as the receiver:
- Listens on port 5004 for incoming data.
- Once connected to the host, it retrieves and displays the received messages from the TCP socket.
Screenshots of the application's output have been included to illustrate its functionality and design.
- Qt Application: Uses Qt's
QTcpSocket
class to establish a TCP connection and send data to the specified port. - PComm Terminal Emulator: Listens on port 5004 using its terminal interface to display received messages from the connected Qt application.
- Applied CSS styling to enhance the user interface of Qt components like
QTabWidget
and buttons. - CSS helps in customizing the look and feel of the GUI elements, providing a cohesive and visually appealing interface.
To run the project:
- Clone the repository from GitHub.
- Open the project in Qt Creator.
- Build and run the application.
This project demonstrates the integration of TCP socket communication between a Qt application and PComm Terminal Emulator. The Qt application sends data to port 5004, which PComm listens to, retrieves, and displays. Additionally, CSS styling enhances the visual presentation of certain Qt components within the application.