Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezestyle.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 51 | { | |||
---|---|---|---|---|---|
55 | class Helper; | 55 | class Helper; | ||
56 | class MdiWindowShadowFactory; | 56 | class MdiWindowShadowFactory; | ||
57 | class Mnemonics; | 57 | class Mnemonics; | ||
58 | class ShadowHelper; | 58 | class ShadowHelper; | ||
59 | class SplitterFactory; | 59 | class SplitterFactory; | ||
60 | class WidgetExplorer; | 60 | class WidgetExplorer; | ||
61 | class WindowManager; | 61 | class WindowManager; | ||
62 | class BlurHelper; | 62 | class BlurHelper; | ||
63 | class ToolsAreaManager; | ||||
63 | 64 | | |||
64 | //* convenience typedef for base class | 65 | //* convenience typedef for base class | ||
65 | #if !BREEZE_HAVE_KSTYLE | 66 | #if !BREEZE_HAVE_KSTYLE | ||
66 | using ParentStyleClass = QCommonStyle; | 67 | using ParentStyleClass = QCommonStyle; | ||
67 | #else | 68 | #else | ||
68 | using ParentStyleClass = KStyle; | 69 | using ParentStyleClass = KStyle; | ||
69 | #endif | 70 | #endif | ||
70 | 71 | | |||
▲ Show 20 Lines • Show All 199 Lines • ▼ Show 20 Line(s) | 75 | { | |||
270 | bool drawIndicatorCheckBoxPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 271 | bool drawIndicatorCheckBoxPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
271 | bool drawIndicatorRadioButtonPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 272 | bool drawIndicatorRadioButtonPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
272 | bool drawIndicatorButtonDropDownPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 273 | bool drawIndicatorButtonDropDownPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
273 | bool drawIndicatorTabClosePrimitive( const QStyleOption*, QPainter* painter, const QWidget* widget ) const; | 274 | bool drawIndicatorTabClosePrimitive( const QStyleOption*, QPainter* painter, const QWidget* widget ) const; | ||
274 | bool drawIndicatorTabTearPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 275 | bool drawIndicatorTabTearPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
275 | bool drawIndicatorToolBarHandlePrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 276 | bool drawIndicatorToolBarHandlePrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
276 | bool drawIndicatorToolBarSeparatorPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 277 | bool drawIndicatorToolBarSeparatorPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
277 | bool drawIndicatorBranchPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | 278 | bool drawIndicatorBranchPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
279 | bool drawWidgetPrimitive( const QStyleOption*, QPainter*, const QWidget* ) const; | ||||
278 | 280 | | |||
279 | //@} | 281 | //@} | ||
280 | 282 | | |||
281 | //*@name controls specialized functions | 283 | //*@name controls specialized functions | ||
282 | //@{ | 284 | //@{ | ||
283 | 285 | | |||
284 | bool emptyControl( const QStyleOption*, QPainter*, const QWidget* ) const | 286 | bool emptyControl( const QStyleOption*, QPainter*, const QWidget* ) const | ||
285 | { return true; } | 287 | { return true; } | ||
Show All 15 Lines | |||||
301 | bool drawRubberBandControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 303 | bool drawRubberBandControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
302 | bool drawHeaderSectionControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 304 | bool drawHeaderSectionControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
303 | bool drawHeaderEmptyAreaControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 305 | bool drawHeaderEmptyAreaControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
304 | bool drawTabBarTabLabelControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 306 | bool drawTabBarTabLabelControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
305 | bool drawTabBarTabShapeControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 307 | bool drawTabBarTabShapeControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
306 | bool drawToolBoxTabLabelControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 308 | bool drawToolBoxTabLabelControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
307 | bool drawToolBoxTabShapeControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 309 | bool drawToolBoxTabShapeControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
308 | bool drawDockWidgetTitleControl( const QStyleOption*, QPainter*, const QWidget* ) const; | 310 | bool drawDockWidgetTitleControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||
311 | bool drawToolBarControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||||
312 | bool drawMenuBarEmptyAreaControl( const QStyleOption*, QPainter*, const QWidget* ) const; | ||||
309 | 313 | | |||
310 | //*@} | 314 | //*@} | ||
311 | 315 | | |||
312 | //*@name complex ontrols specialized functions | 316 | //*@name complex ontrols specialized functions | ||
313 | //@{ | 317 | //@{ | ||
314 | bool drawGroupBoxComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | 318 | bool drawGroupBoxComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | ||
315 | bool drawToolButtonComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | 319 | bool drawToolButtonComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | ||
316 | bool drawComboBoxComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | 320 | bool drawComboBoxComplexControl( const QStyleOptionComplex*, QPainter*, const QWidget* ) const; | ||
▲ Show 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | |||||
492 | FrameShadowFactory* _frameShadowFactory = nullptr; | 496 | FrameShadowFactory* _frameShadowFactory = nullptr; | ||
493 | 497 | | |||
494 | //* mdi window shadows | 498 | //* mdi window shadows | ||
495 | MdiWindowShadowFactory* _mdiWindowShadowFactory = nullptr; | 499 | MdiWindowShadowFactory* _mdiWindowShadowFactory = nullptr; | ||
496 | 500 | | |||
497 | //* splitter Factory, to extend splitters hit area | 501 | //* splitter Factory, to extend splitters hit area | ||
498 | SplitterFactory* _splitterFactory = nullptr; | 502 | SplitterFactory* _splitterFactory = nullptr; | ||
499 | 503 | | |||
504 | //* signal manager for the tools area | ||||
505 | ToolsAreaManager* _toolsAreaManager = nullptr; | ||||
506 | | ||||
500 | //* widget explorer | 507 | //* widget explorer | ||
501 | WidgetExplorer* _widgetExplorer = nullptr; | 508 | WidgetExplorer* _widgetExplorer = nullptr; | ||
502 | 509 | | |||
503 | //* tabbar data | 510 | //* tabbar data | ||
504 | BreezePrivate::TabBarData* _tabBarData = nullptr; | 511 | BreezePrivate::TabBarData* _tabBarData = nullptr; | ||
505 | 512 | | |||
506 | //* icon hash | 513 | //* icon hash | ||
507 | using IconCache = QHash<StandardPixmap, QIcon>; | 514 | using IconCache = QHash<StandardPixmap, QIcon>; | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |