PrintView improvements (#250)
- Allow printer selection directly from PrintView - Print button bypasses the system print dialog, since label printing is quite different from typical printing tasks - Separate button to optionally use system print dialog, if needed
This commit is contained in:
@@ -57,10 +57,21 @@ namespace glabels
|
||||
// Slots
|
||||
/////////////////////////////////
|
||||
private slots:
|
||||
void onAvailablePrintersChanged( const QStringList& printers );
|
||||
void onModelChanged();
|
||||
void updateView();
|
||||
void onFormChanged();
|
||||
void onPrintButtonClicked();
|
||||
void onSystemDialogButtonClicked();
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Private methods
|
||||
/////////////////////////////////
|
||||
private:
|
||||
void loadDestinations( const QStringList& printers );
|
||||
QString defaultPdf();
|
||||
void setDestination( const QString& printerName );
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user