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
Line 
1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include <QtGui/QMainWindow>
5
6#include <ui_mainwindow.h>
7
8class SqlEngine;
9
10class MainWindow : public QMainWindow, private Ui::MainWindow
11{
12    Q_OBJECT
13public:
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);
17    ~MainWindow();
18private slots:
19    void scheduleImported(int aConfId);
20    void aboutApp();
21    void updateSearchView(const QDate &aDate);
22    void searchClicked();
23        void searchAgainClicked();
24    void conferenceMapClicked();
25    void eventHasChanged(int aEventId);
26private:
27    SqlEngine *mSqlEngine;
28};
29
30#endif // MAINWINDOW_H
31
Note: See TracBrowser for help on using the repository browser.