|
|
@ -12,6 +12,7 @@ class QStackedLayout; |
|
|
|
|
|
|
|
|
|
|
|
class UBMainWindow : public QMainWindow, public Ui::MainWindow |
|
|
|
class UBMainWindow : public QMainWindow, public Ui::MainWindow |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
Q_OBJECT |
|
|
|
public: |
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
UBMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); |
|
|
|
UBMainWindow(QWidget *parent = 0, Qt::WindowFlags flags = 0); |
|
|
@ -26,6 +27,9 @@ class UBMainWindow : public QMainWindow, public Ui::MainWindow |
|
|
|
void addDocumentsWidget(QWidget *pWidget); |
|
|
|
void addDocumentsWidget(QWidget *pWidget); |
|
|
|
void switchToDocumentsWidget(); |
|
|
|
void switchToDocumentsWidget(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public slots: |
|
|
|
|
|
|
|
void onExportDone(); |
|
|
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
|
|
virtual void keyPressEvent(QKeyEvent *event); |
|
|
|
virtual void keyPressEvent(QKeyEvent *event); |
|
|
|