00001
+00002
+00003
+00004
+00005
+00006
+00007
+00008
+00009
+00010
+00011
+00012
+00013
+00014
+00015
+00016
+00017
+00018
+00019
+00020
+00021
+00022
+00023 #ifndef URPOMAINWINDOW_H
+00024 #define URPOMAINWINDOW_H
+00025
+00026 #include <QtGui/QMainWindow>
+00027
+00028 class PrintWidget;
+00029 class PrintJob;
+00030 class PrinterListJob;
+00031 class UrpoConnectionSettings;
+00032 class DebugConsole;
+00033 class QTextBrowser;
+00034
+00042 class UrpoMainWindow : public QMainWindow
+00043 {
+00044 Q_OBJECT
+00045
+00046 public:
+00047 UrpoMainWindow(QWidget *parent = 0);
+00048 ~UrpoMainWindow();
+00049
+00050 public slots:
+00052 void printersReceived(bool success, QString error);
+00054 void getPrinters();
+00056 void about();
+00058 void settings();
+00060 void helpWindow();
+00062 void debugWindow();
+00064 void print(QString file, QString options);
+00066 void printFinished(bool success, QString errorStr);
+00067
+00068 private:
+00069 void initMenu();
+00070 void initHelp();
+00071
+00072 private:
+00073 PrintWidget* printWidget_;
+00074 PrinterListJob* printerListJob_;
+00075 PrintJob* printJob_;
+00076 UrpoConnectionSettings* settings_;
+00077 DebugConsole* monitor_;
+00078 QTextBrowser* helpBrowser_;
+00079
+00080
+00081 };
+00082
+00083 #endif // URPOMAINWINDOW_H
+