##// END OF EJS Templates
Refactoring of catalogue display using a QTreeView and a custom model based on QTreeWidgetItem
Refactoring of catalogue display using a QTreeView and a custom model based on QTreeWidgetItem

File last commit:

r980:53840da09aee
r1283:74c199fc287e
Show More
MacScrollBarStyle.h
18 lines | 485 B | text/x-c | CLexer
Thibaud Rabillard
New style on mac to keep the scrollbars visible
r929 #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,
code improvements
r980 QStyleHintReturn *returnData) const override;
Thibaud Rabillard
New style on mac to keep the scrollbars visible
r929
void selfInstallOn(QWidget *widget, bool installOnSubWidgets);
};
#endif // SCIQLOP_MACSCROLLBARSTYLE_H