CommandWidget provides a widget to send commands or messages to the printer.
More...
#include <commandwidget.h>
CommandWidget provides a widget to send commands or messages to the printer.
Usage: Connect to commandPressed or messagePressed to capture the events.
◆ CommandWidget()
| CommandWidget::CommandWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~CommandWidget()
| CommandWidget::~CommandWidget |
( |
| ) |
|
|
default |
◆ commandPressed
| void CommandWidget::commandPressed |
( |
const QString & |
command | ) |
|
|
signal |
User has requested to send a command.
- Parameters
-
| command | The command to send. |
◆ messagePressed
| void CommandWidget::messagePressed |
( |
const QString & |
message | ) |
|
|
signal |
User has requested to send a message.
- Parameters
-
| message | The message to send. |
◆ lineCommand
| QLineEdit* CommandWidget::lineCommand = nullptr |
|
private |
◆ lineMessage
| QLineEdit* CommandWidget::lineMessage = nullptr |
|
private |
The documentation for this class was generated from the following files: