Changeset View
Changeset View
Standalone View
Standalone View
examples/Gantt/legend_example/mainwindow.h
Show All 37 Lines | |||||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | class MainWindow : public QMainWindow { | 40 | class MainWindow : public QMainWindow { | ||
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | 42 | | |||
43 | public: | 43 | public: | ||
44 | explicit MainWindow( QWidget * parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags() ); | 44 | explicit MainWindow( QWidget * parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags() ); | ||
45 | virtual ~MainWindow(); | 45 | virtual ~MainWindow(); | ||
46 | void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE; | 46 | void closeEvent(QCloseEvent *event) override; | ||
47 | 47 | | |||
48 | private slots: | 48 | private slots: | ||
49 | void addNewEntry(); | 49 | void addNewEntry(); | ||
50 | void removeEntry(); | 50 | void removeEntry(); | ||
51 | void showContextMenu( const QPoint& ); | 51 | void showContextMenu( const QPoint& ); | ||
52 | void enableActions( const QItemSelection& selected ); | 52 | void enableActions( const QItemSelection& selected ); | ||
53 | void zoomIn(); | 53 | void zoomIn(); | ||
54 | void zoomOut(); | 54 | void zoomOut(); | ||
Show All 32 Lines |