MacScrollBarStyle.h
18 lines
| 485 B
| text/x-c
|
CLexer
Thibaud Rabillard
|
r930 | #ifndef SCIQLOP_MACSCROLLBARSTYLE_H | ||
#define SCIQLOP_MACSCROLLBARSTYLE_H | ||||
#include <QProxyStyle> | ||||
/** | ||||
* @brief Special style to always display the scrollbars on MAC. | ||||
*/ | ||||
class MacScrollBarStyle : public QProxyStyle { | ||||
public: | ||||
int styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, | ||||
r939 | QStyleHintReturn *returnData) const override; | |||
Thibaud Rabillard
|
r930 | |||
void selfInstallOn(QWidget *widget, bool installOnSubWidgets); | ||||
}; | ||||
#endif // SCIQLOP_MACSCROLLBARSTYLE_H | ||||