source: src/gui/tabcontainer.h @ d49254d

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

implemented 'conflicts' dialog

  • displays rooms instead of conflicts for now
    • needs to implement additional methods in Event, ...
  • Property mode set to 100644
File size: 932 bytes
Line 
1#ifndef TABCONTAINER_H
2#define TABCONTAINER_H
3
4#include <QWidget>
5#include "ui_tabcontainer.h"
6
7#include <conference.h>
8#include <sqlengine.h>
9#include <conference.h>
10#include <eventmodel.h>
11
12class TabContainer : public QWidget, public Ui::TabContainer
13{
14    Q_OBJECT
15public:
16
17    TabContainer(QWidget *aParent = NULL);
18    virtual ~TabContainer() {}
19
20protected:
21    virtual void loadEvents( const QDate &aDate, const int aConferenceId )
22    {
23        Q_UNUSED(aDate);
24        Q_UNUSED(aConferenceId);
25    };
26
27signals:
28    void eventHasChanged(int aEventId);
29
30public slots:
31    virtual void updateTreeViewModel(int aEventId);
32    void setDates(const QDate &aStart, const QDate &aEnd);
33
34protected slots:
35    void updateTreeView(const QDate &aDate);
36    void itemClicked(const QModelIndex &aIndex);
37    void displayMap(const QModelIndex &aIndex);
38    void displayConflicts(const QModelIndex &aIndex);
39};
40
41#endif /* TABCONTAINER_H */
42
Note: See TracBrowser for help on using the repository browser.