Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/sublime/idealtoolbutton.h
Show All 30 Lines | |||||
31 | 31 | | |||
32 | public: | 32 | public: | ||
33 | explicit IdealToolButton(Qt::DockWidgetArea area, QWidget *parent = nullptr); | 33 | explicit IdealToolButton(Qt::DockWidgetArea area, QWidget *parent = nullptr); | ||
34 | 34 | | |||
35 | Qt::Orientation orientation() const; | 35 | Qt::Orientation orientation() const; | ||
36 | 36 | | |||
37 | QSize sizeHint() const override; | 37 | QSize sizeHint() const override; | ||
38 | 38 | | |||
39 | QSize minimumSizeHint() const override; | ||||
40 | | ||||
39 | protected: | 41 | protected: | ||
40 | void paintEvent(QPaintEvent *event) override; | 42 | void paintEvent(QPaintEvent *event) override; | ||
41 | 43 | | |||
42 | private: | 44 | private: | ||
43 | const Qt::DockWidgetArea _area; | 45 | const Qt::DockWidgetArea _area; | ||
44 | }; | 46 | }; | ||
45 | 47 | | |||
46 | #endif // IDEALTOOLBUTTON_H | 48 | #endif // IDEALTOOLBUTTON_H |