##// END OF EJS Templates
Merge pull request 340 from SciQLop-fork develop...
Merge pull request 340 from SciQLop-fork develop Develop

File last commit:

r930:5ec3f5d1277b
r932:16999d8139e2 merge
Show More
MacScrollBarStyle.h
18 lines | 476 B | text/x-c | CLexer
Thibaud Rabillard
New style on mac to keep the scrollbars visible
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,
QStyleHintReturn *returnData) const;
void selfInstallOn(QWidget *widget, bool installOnSubWidgets);
};
#endif // SCIQLOP_MACSCROLLBARSTYLE_H