FreeCAD C++
Public Types | Static Public Member Functions | Public Attributes | List of all members
QSint::ActionPanelScheme Class Reference

#include <Gui/QSint/actionpanel/actionpanelscheme.h>

Detailed Description

Class representing color scheme for ActionPanel and ActionGroup.

Since
0.2
ActionPanel1.png
Default ActionPanel scheme

Public Types

enum  TaskPanelFoldEffect { NoFolding, ShrunkFolding, SlideFolding }
 Animation effect during expanding/collapsing of the ActionGroup's contents. More...
 

Static Public Member Functions

static ActionPanelSchemedefaultScheme ()
 

Public Attributes

int headerSize
 Height of the header in pixels.
 
bool headerAnimation
 If set to true, moving mouse over the header results in changing its opacity slowly.
 
QPixmap headerButtonFold
 Image of folding button when the group is expanded.
 
QPixmap headerButtonFoldOver
 Image of folding button when the group is expanded and mouse cursor is over the button.
 
QPixmap headerButtonUnfold
 Image of folding button when the group is collapsed.
 
QPixmap headerButtonUnfoldOver
 Image of folding button when the group is collapsed and mouse cursor is over the button.
 
int groupFoldSteps
 Number of steps made for expanding/collapsing animation (default 20).
 
int groupFoldDelay
 Delay in ms between steps made for expanding/collapsing animation (default 15).
 
TaskPanelFoldEffect groupFoldEffect
 Sets folding effect during expanding/collapsing.
 
bool groupFoldThaw
 If set to true, changes group's opacity slowly during expanding/collapsing.
 
QString actionStyle
 The CSS for the ActionPanel/ActionGroup elements.
 

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.

Member Function Documentation

◆ defaultScheme()

static ActionPanelScheme* QSint::ActionPanelScheme::defaultScheme ( )
static

Returns a pointer to the default scheme object. Must be reimplemented in the own schemes.