Changeset View
Changeset View
Standalone View
Standalone View
qtests/DrawIntoPainter/mainwindow.h
Show All 40 Lines | |||||
41 | public: | 41 | public: | ||
42 | MainWindow( QWidget* parent = nullptr ); | 42 | MainWindow( QWidget* parent = nullptr ); | ||
43 | void updateData(QString data); | 43 | void updateData(QString data); | ||
44 | 44 | | |||
45 | protected: | 45 | protected: | ||
46 | /** | 46 | /** | ||
47 | * Adjusts the two small charts when the window is resized. | 47 | * Adjusts the two small charts when the window is resized. | ||
48 | */ | 48 | */ | ||
49 | /* reimp */ void resizeEvent ( QResizeEvent * ) Q_DECL_OVERRIDE; | 49 | /* reimp */ void resizeEvent ( QResizeEvent * ) override; | ||
50 | 50 | | |||
51 | private slots: | 51 | private slots: | ||
52 | 52 | | |||
53 | void setLineType( const QString & text ); | 53 | void setLineType( const QString & text ); | ||
54 | void setLegendVisible( bool visible ); | 54 | void setLegendVisible( bool visible ); | ||
55 | void setValuesVisible( bool visible ); | 55 | void setValuesVisible( bool visible ); | ||
56 | void setMarkersVisible( bool visible ); | 56 | void setMarkersVisible( bool visible ); | ||
57 | void updateMarkers(); | 57 | void updateMarkers(); | ||
Show All 24 Lines |