SplitButton Class Reference

Signals

void splitWithDirection (Qt::Orientation orientation)
 
- Signals inherited from ClickableIcon
void clicked ()
 
void toggle (bool newState)
 

Public Member Functions

 SplitButton ()
 
void setDefaultOrientation (Qt::Orientation orientation)
 
Qt::Orientation orientation () const
 
Qt::Orientation defaultOrientation () const
 
- Public Member Functions inherited from ClickableIcon
 ClickableIcon (const QImage &icon, const QSize &desiredPointSize)
 
void setAllowToggle (bool canToggle)
 
void setActive (bool state)
 
bool active () const
 
void setImage (const QImage &icon)
 

Protected Member Functions

virtual void enterEvent (QEnterEvent *event) override
 
virtual void leaveEvent (QEvent *event) override
 
virtual bool eventFilter (QObject *obj, QEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
- Protected Member Functions inherited from ClickableIcon
void enterEvent (QEnterEvent *event) override
 
void leaveEvent (QEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 

Constructor & Destructor Documentation

◆ SplitButton()

SplitButton::SplitButton ( )

Member Function Documentation

◆ defaultOrientation()

Qt::Orientation SplitButton::defaultOrientation ( ) const
inline

◆ enterEvent()

virtual void SplitButton::enterEvent ( QEnterEvent *  event)
overrideprotectedvirtual

◆ eventFilter()

virtual bool SplitButton::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotectedvirtual

◆ leaveEvent()

virtual void SplitButton::leaveEvent ( QEvent *  event)
overrideprotectedvirtual

◆ mousePressEvent()

virtual void SplitButton::mousePressEvent ( QMouseEvent *  event)
overrideprotectedvirtual

◆ orientation()

Qt::Orientation SplitButton::orientation ( ) const

◆ setDefaultOrientation()

void SplitButton::setDefaultOrientation ( Qt::Orientation  orientation)

◆ splitWithDirection

void SplitButton::splitWithDirection ( Qt::Orientation  orientation)
signal

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