VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes
makVrv::DtPopupToolbarButton Class Reference

The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar. More...

Inheritance diagram for makVrv::DtPopupToolbarButton:
Inheritance graph
[legend]

Public Member Functions

 DtPopupToolbarButton (DtPopupToolbar *toolbar, QWidget *parent)
 Constructs a toolbar button which will control the visibility of the provided toolbar. More...
 
virtual ~DtPopupToolbarButton ()
 Delete the button. More...
 
virtual void setIconWithArrow (const QIcon &icon)
 Sets the button to use an icon and an arrow next to it. More...
 
void showToolbar (bool show=true)
 Shows the toolbar and updates the state/display of the button. More...
 
void hideToolbar ()
 Hides the toolbar and updates the state/display of the button. More...
 

Protected Slots

void slot_onToggle (bool toggled)
 
void on_sliderToolBarShown ()
 
void on_sliderToolBarHidden ()
 

Protected Member Functions

virtual void changeEvent (QEvent *event)
 
void buttonEnableDisable (bool enabled)
 
void updateButtonIcon (bool checked)
 

Static Protected Member Functions

static QIcon makeWideIconWithArrow (const QIcon &baseIcon, bool downArrow, QToolButton *button)
 Utility function for creating an icon with an arrow next to it. More...
 

Protected Attributes

DtPopupToolbarmyToolbar
 
QIcon * myUpArrowIcon
 
QIcon * myDownArrowIcon
 

Detailed Description

The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.

Constructor & Destructor Documentation

makVrv::DtPopupToolbarButton::DtPopupToolbarButton ( DtPopupToolbar toolbar,
QWidget *  parent 
)
explicit

Constructs a toolbar button which will control the visibility of the provided toolbar.

virtual makVrv::DtPopupToolbarButton::~DtPopupToolbarButton ( )
virtual

Delete the button.

Member Function Documentation

virtual void makVrv::DtPopupToolbarButton::setIconWithArrow ( const QIcon &  icon)
virtual

Sets the button to use an icon and an arrow next to it.

void makVrv::DtPopupToolbarButton::showToolbar ( bool  show = true)

Shows the toolbar and updates the state/display of the button.

void makVrv::DtPopupToolbarButton::hideToolbar ( )

Hides the toolbar and updates the state/display of the button.

virtual void makVrv::DtPopupToolbarButton::changeEvent ( QEvent event)
protectedvirtual
void makVrv::DtPopupToolbarButton::buttonEnableDisable ( bool  enabled)
protected
void makVrv::DtPopupToolbarButton::updateButtonIcon ( bool  checked)
protected
void makVrv::DtPopupToolbarButton::slot_onToggle ( bool  toggled)
protectedslot
void makVrv::DtPopupToolbarButton::on_sliderToolBarShown ( )
protectedslot
void makVrv::DtPopupToolbarButton::on_sliderToolBarHidden ( )
protectedslot
static QIcon makVrv::DtPopupToolbarButton::makeWideIconWithArrow ( const QIcon &  baseIcon,
bool  downArrow,
QToolButton button 
)
staticprotected

Utility function for creating an icon with an arrow next to it.

Member Data Documentation

DtPopupToolbar* makVrv::DtPopupToolbarButton::myToolbar
protected
QIcon* makVrv::DtPopupToolbarButton::myUpArrowIcon
protected
QIcon* makVrv::DtPopupToolbarButton::myDownArrowIcon
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)