Class representing color scheme for ActionPanel and ActionGroup. More...
#include <actionpanelscheme.h>
Public Types | |
| enum | TaskPanelFoldEffect { NoFolding, ShrunkFolding, SlideFolding } |
| Animation effect during expanding/collapsing of the ActionGroup's contents. More... | |
Public Member Functions | |
| ActionPanelScheme () | |
Static Public Member Functions | |
| static ActionPanelScheme * | defaultScheme () |
| Returns a pointer to the default scheme object. More... | |
Public Attributes | |
| QString | actionStyle |
| The CSS for the ActionPanel/ActionGroup elements. More... | |
| int | groupFoldDelay |
| Delay in ms between steps made for expanding/collapsing animation (default 15). More... | |
| TaskPanelFoldEffect | groupFoldEffect |
| Sets folding effect during expanding/collapsing. More... | |
| int | groupFoldSteps |
| Number of steps made for expanding/collapsing animation (default 20). More... | |
| bool | groupFoldThaw |
| If set to true, changes group's opacity slowly during expanding/collapsing. More... | |
| bool | headerAnimation |
| If set to true, moving mouse over the header results in changing its opacity slowly. More... | |
| QPixmap | headerButtonFold |
| Image of folding button when the group is expanded. More... | |
| QPixmap | headerButtonFoldOver |
| Image of folding button when the group is expanded and mouse cursor is over the button. More... | |
| QSize | headerButtonSize |
| QPixmap | headerButtonUnfold |
| Image of folding button when the group is collapsed. More... | |
| QPixmap | headerButtonUnfoldOver |
| Image of folding button when the group is collapsed and mouse cursor is over the button. More... | |
| int | headerSize |
| Height of the header in pixels. More... | |
Detailed Description
Class representing color scheme for ActionPanel and ActionGroup.
- Since
- 0.2
Member Enumeration Documentation
◆ TaskPanelFoldEffect
Animation effect during expanding/collapsing of the ActionGroup's contents.
| Enumerator | |
|---|---|
| NoFolding | No folding effect. |
| ShrunkFolding | Folding by scaling group's contents. |
| SlideFolding | Folding by sliding group's contents. |
Constructor & Destructor Documentation
◆ ActionPanelScheme()
| QSint::ActionPanelScheme::ActionPanelScheme | ( | ) |
Member Function Documentation
◆ defaultScheme()
|
static |
Returns a pointer to the default scheme object.
Must be reimplemented in the own schemes.
Referenced by SandboxGui::TaskPanelView::on_rbDefaultScheme_toggled(), and QSint::TaskHeader::TaskHeader().
Member Data Documentation
◆ actionStyle
| QString QSint::ActionPanelScheme::actionStyle |
The CSS for the ActionPanel/ActionGroup elements.
Referenced by ActionPanelScheme().
◆ groupFoldDelay
| int QSint::ActionPanelScheme::groupFoldDelay |
Delay in ms between steps made for expanding/collapsing animation (default 15).
Referenced by ActionPanelScheme(), and QSint::ActionGroup::showHide().
◆ groupFoldEffect
| TaskPanelFoldEffect QSint::ActionPanelScheme::groupFoldEffect |
Sets folding effect during expanding/collapsing.
Referenced by ActionPanelScheme(), and QSint::ActionGroup::paintEvent().
◆ groupFoldSteps
| int QSint::ActionPanelScheme::groupFoldSteps |
Number of steps made for expanding/collapsing animation (default 20).
Referenced by ActionPanelScheme(), Gui::TaskView::TaskBox::hideGroupBox(), QSint::ActionGroup::paintEvent(), and QSint::ActionGroup::showHide().
◆ groupFoldThaw
| bool QSint::ActionPanelScheme::groupFoldThaw |
If set to true, changes group's opacity slowly during expanding/collapsing.
Referenced by ActionPanelScheme(), and QSint::ActionGroup::paintEvent().
◆ headerAnimation
| bool QSint::ActionPanelScheme::headerAnimation |
If set to true, moving mouse over the header results in changing its opacity slowly.
Referenced by ActionPanelScheme().
◆ headerButtonFold
| QPixmap QSint::ActionPanelScheme::headerButtonFold |
Image of folding button when the group is expanded.
Referenced by ActionPanelScheme().
◆ headerButtonFoldOver
| QPixmap QSint::ActionPanelScheme::headerButtonFoldOver |
Image of folding button when the group is expanded and mouse cursor is over the button.
Referenced by ActionPanelScheme(), and QSint::TaskHeader::changeIcons().
◆ headerButtonSize
| QSize QSint::ActionPanelScheme::headerButtonSize |
Referenced by ActionPanelScheme().
◆ headerButtonUnfold
| QPixmap QSint::ActionPanelScheme::headerButtonUnfold |
Image of folding button when the group is collapsed.
Referenced by ActionPanelScheme().
◆ headerButtonUnfoldOver
| QPixmap QSint::ActionPanelScheme::headerButtonUnfoldOver |
Image of folding button when the group is collapsed and mouse cursor is over the button.
Referenced by ActionPanelScheme(), and QSint::TaskHeader::changeIcons().
◆ headerSize
| int QSint::ActionPanelScheme::headerSize |
Height of the header in pixels.
Referenced by ActionPanelScheme().
The documentation for this class was generated from the following files:
- src/Gui/QSint/actionpanel/actionpanelscheme.h
- src/Gui/QSint/actionpanel/actionpanelscheme.cpp
1.8.17