source: src/gui/tabcontainer.h @ d49254d

qt5
Last change on this file since d49254d was ea638ef, checked in by pavelpa <pavelpa@…>, 13 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
RevLine 
[05afe5f]1#ifndef TABCONTAINER_H
2#define TABCONTAINER_H
3
4#include <QWidget>
5#include "ui_tabcontainer.h"
6
[0bb39f5]7#include <conference.h>
[07ae23a]8#include <sqlengine.h>
9#include <conference.h>
10#include <eventmodel.h>
11
12class TabContainer : public QWidget, public Ui::TabContainer
[05afe5f]13{
14    Q_OBJECT
15public:
16
[07ae23a]17    TabContainer(QWidget *aParent = NULL);
18    virtual ~TabContainer() {}
19
20protected:
21    virtual void loadEvents( const QDate &aDate, const int aConferenceId )
[05afe5f]22    {
[07ae23a]23        Q_UNUSED(aDate);
24        Q_UNUSED(aConferenceId);
[05afe5f]25    };
26
27signals:
28    void eventHasChanged(int aEventId);
29
30public slots:
[07ae23a]31    virtual void updateTreeViewModel(int aEventId);
[05afe5f]32    void setDates(const QDate &aStart, const QDate &aEnd);
33
[07ae23a]34protected slots:
[05afe5f]35    void updateTreeView(const QDate &aDate);
36    void itemClicked(const QModelIndex &aIndex);
37    void displayMap(const QModelIndex &aIndex);
[ea638ef]38    void displayConflicts(const QModelIndex &aIndex);
[05afe5f]39};
40
41#endif /* TABCONTAINER_H */
42
Note: See TracBrowser for help on using the repository browser.