API Documentation
Loading...
Searching...
No Matches
Toolbar Class Reference

#include <Toolbar.h>

Inheritance diagram for Toolbar:
[legend]
Collaboration diagram for Toolbar:
[legend]

Public Member Functions

 Toolbar (QWidget *parent=nullptr)
 
virtual void addWidget (const QPointer< QWidget > &widget)
 
virtual void removeWidget (const QPointer< QWidget > &widget)
 
virtual void clear ()
 
QSize minimumSizeHint () const override
 
QSize sizeHint () const override
 

Protected Attributes

Buffer< QPointer< QWidget > > m_custom_widgets
 
QHBoxLayout * m_layout
 

Constructor & Destructor Documentation

◆ Toolbar()

Toolbar ( QWidget * parent = nullptr)
inline

Member Function Documentation

◆ addWidget()

virtual void addWidget ( const QPointer< QWidget > & widget)
inlinevirtual

◆ clear()

virtual void clear ( )
inlinevirtual

◆ minimumSizeHint()

QSize minimumSizeHint ( ) const
inlineoverride

◆ removeWidget()

virtual void removeWidget ( const QPointer< QWidget > & widget)
inlinevirtual

◆ sizeHint()

QSize sizeHint ( ) const
inlineoverride

Member Data Documentation

◆ m_custom_widgets

Buffer<QPointer<QWidget> > m_custom_widgets
protected

◆ m_layout

QHBoxLayout* m_layout
protected

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