source: src/gui/mainwindow.h @ 05afe5f

qt5
Last change on this file since 05afe5f was 05afe5f, checked in by pavelpa <pavelpa@…>, 12 years ago

implemented 'tab container' widget, which groups daynavigator with treeview

  • moved functionality from mainwindow to tabcontainer
  • TODO: 'search' tab not done yet
  • Property mode set to 100644
File size: 698 bytes
RevLine 
[e5bc908]1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include <QtGui/QMainWindow>
5
[9bbb44e]6#include <ui_mainwindow.h>
7
[72f6fe4]8class SqlEngine;
9
[9bbb44e]10class MainWindow : public QMainWindow, private Ui::MainWindow
[e5bc908]11{
12    Q_OBJECT
13public:
[d4a8bbf]14    // aEventId is used to inform widget to automatically open
15    // Event dialog for given Event ID
16    MainWindow(int aEventId = 0, QWidget *aParent = NULL);
[72f6fe4]17    ~MainWindow();
18private slots:
[c15be10]19    void scheduleImported(int aConfId);
[c2d66b2]20    void aboutApp();
[9d8946b]21    void updateSearchView(const QDate &aDate);
[990afd5]22    void searchClicked();
[0d4ecc2]23        void searchAgainClicked();
[e7340e1]24    void conferenceMapClicked();
[c718a77]25    void eventHasChanged(int aEventId);
[72f6fe4]26private:
27    SqlEngine *mSqlEngine;
[e5bc908]28};
29
30#endif // MAINWINDOW_H
[c2d66b2]31
Note: See TracBrowser for help on using the repository browser.