BuildLogViewer/mainwindow.h
changeset 0 bbe0af256f1b
child 1 8e9c5760ce6f
equal deleted inserted replaced
-1:000000000000 0:bbe0af256f1b
       
     1 #ifndef MAINWINDOW_H
       
     2 #define MAINWINDOW_H
       
     3 
       
     4 #include <QSignalMapper>
       
     5 
       
     6 #include <QtGui/QMainWindow>
       
     7 #include <QtGui/QWorkspace>
       
     8 
       
     9 #include "Document.h"
       
    10 
       
    11 namespace Ui
       
    12 {
       
    13     class MainWindow;
       
    14 }
       
    15 
       
    16 class MainWindow : public QMainWindow
       
    17 {
       
    18     Q_OBJECT
       
    19 
       
    20 public:
       
    21     MainWindow(QWidget *parent = 0);
       
    22     ~MainWindow();
       
    23 
       
    24 public slots:
       
    25     void notYetImplemented();
       
    26     void openLog();
       
    27     void enableActions();
       
    28     void closeEvent(QCloseEvent *event);
       
    29 
       
    30 private:
       
    31     Document *activeDocument();
       
    32     void createActions();
       
    33     void updateWindowList();
       
    34 
       
    35 
       
    36     Ui::MainWindow *ui;
       
    37     QWorkspace *workspace;
       
    38     QSignalMapper *mapper;
       
    39 };
       
    40 
       
    41 #endif // MAINWINDOW_H