GUI Widget of Urpo printing. More...
#include <printwidget.h>
Public Slots | |
void | setStatus (QString message=QString(), bool busy=false) |
Set status information. | |
void | setReady (bool ready) |
Set ready to print. | |
void | browseFile () |
void | doPrint () |
Press browse button. | |
void | doCancel () |
Press print button. | |
Signals | |
void | cancel () |
User press Cancel button. | |
void | reconnect () |
User press Reconnect button. | |
void | print (QString file, QString options) |
User press Print button. | |
Public Member Functions | |
PrintWidget (QWidget *parent=0) | |
void | setPrinters (QStringList printers) |
Set printers. |
GUI Widget of Urpo printing.
Definition at line 43 of file printwidget.h.
void PrintWidget::setPrinters | ( | QStringList | printers | ) |
Set printers.
Set printers and enable printing if printer exists
Definition at line 140 of file printwidget.cpp.
void PrintWidget::setReady | ( | bool | ready | ) | [slot] |
Set ready to print.
Enable print button and set status message to ready
Definition at line 155 of file printwidget.cpp.
void PrintWidget::setStatus | ( | QString | message = QString() , |
|
bool | busy = false | |||
) | [slot] |
Set status information.
Definition at line 122 of file printwidget.cpp.