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... | |
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. |
QSint::ActionPanelScheme::ActionPanelScheme | ( | ) |
|
static |
Returns a pointer to the default scheme object.
Must be reimplemented in the own schemes.
Referenced by QSint::ActionPanel::ActionPanel(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::ActionGroup::init(), SandboxGui::TaskPanelView::on_rbDefaultScheme_toggled(), QSint::TaskGroup::TaskGroup(), and QSint::TaskHeader::TaskHeader().
QString QSint::ActionPanelScheme::actionStyle |
The CSS for the ActionPanel/ActionGroup elements.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::FreeCADPanelScheme::clearActionStyle(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::FreeCADPanelScheme::restoreActionStyle(), QSint::ActionPanel::setScheme(), QSint::TaskGroup::setScheme(), QSint::TaskHeader::setScheme(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
int QSint::ActionPanelScheme::groupFoldDelay |
Delay in ms between steps made for expanding/collapsing animation (default 15).
Referenced by ActionPanelScheme(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::ActionGroup::processHide(), QSint::ActionGroup::processShow(), QSint::ActionGroup::showHide(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
TaskPanelFoldEffect QSint::ActionPanelScheme::groupFoldEffect |
Sets folding effect during expanding/collapsing.
Referenced by ActionPanelScheme(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::ActionGroup::paintEvent(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
int QSint::ActionPanelScheme::groupFoldSteps |
Number of steps made for expanding/collapsing animation (default 20).
Referenced by ActionPanelScheme(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), Gui::TaskView::TaskBox::hideGroupBox(), QSint::ActionGroup::paintEvent(), QSint::ActionGroup::showHide(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
bool QSint::ActionPanelScheme::groupFoldThaw |
If set to true, changes group's opacity slowly during expanding/collapsing.
Referenced by ActionPanelScheme(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::ActionGroup::paintEvent(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
bool QSint::ActionPanelScheme::headerAnimation |
If set to true, moving mouse over the header results in changing its opacity slowly.
Referenced by ActionPanelScheme(), QSint::TaskHeader::animate(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::TaskHeader::paintEvent(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
QPixmap QSint::ActionPanelScheme::headerButtonFold |
Image of folding button when the group is expanded.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::TaskHeader::changeIcons(), QSint::FreeCADPanelScheme::clearActionStyle(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::FreeCADPanelScheme::restoreActionStyle(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
QPixmap QSint::ActionPanelScheme::headerButtonFoldOver |
Image of folding button when the group is expanded and mouse cursor is over the button.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::TaskHeader::changeIcons(), QSint::FreeCADPanelScheme::clearActionStyle(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::FreeCADPanelScheme::restoreActionStyle(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
QSize QSint::ActionPanelScheme::headerButtonSize |
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::TaskHeader::changeIcons(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::TaskHeader::setExpandable(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
QPixmap QSint::ActionPanelScheme::headerButtonUnfold |
Image of folding button when the group is collapsed.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::TaskHeader::changeIcons(), QSint::FreeCADPanelScheme::clearActionStyle(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::FreeCADPanelScheme::restoreActionStyle(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
QPixmap QSint::ActionPanelScheme::headerButtonUnfoldOver |
Image of folding button when the group is collapsed and mouse cursor is over the button.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::TaskHeader::changeIcons(), QSint::FreeCADPanelScheme::clearActionStyle(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::MacPanelScheme::MacPanelScheme(), QSint::FreeCADPanelScheme::restoreActionStyle(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().
int QSint::ActionPanelScheme::headerSize |
Height of the header in pixels.
Referenced by ActionPanelScheme(), QSint::AndroidPanelScheme::AndroidPanelScheme(), QSint::FreeCADPanelScheme::FreeCADPanelScheme(), QSint::TaskHeader::setScheme(), QSint::SystemPanelScheme::SystemPanelScheme(), QSint::WinVistaPanelScheme::WinVistaPanelScheme(), QSint::WinXPPanelScheme::WinXPPanelScheme(), and QSint::WinXPPanelScheme2::WinXPPanelScheme2().