ImFusion SDK 4.3
DataControllerBar Class Reference

#include <ImFusion/GUI/DataControllerBar.h>

The DataControllerBar displays DataController in toolbar-mode. More...

+ Inheritance diagram for DataControllerBar:

Detailed Description

The DataControllerBar displays DataController in toolbar-mode.

This class is usually not used directly but automatically by the DataController. If it was created with a QToolBar, the DataControllerBar will automatically place DataControllers into the QToolBar if it has sufficient free space.

Public Member Functions

 DataControllerBar (QToolBar *toolBar, QWidget *parent=nullptr)
 
QSize minimumSizeHint () const override
 
QSize sizeHint () const override
 
void addWidget (QWidget *widget)
 Adds a DataController's widget to the bar.
 
void removeWidget (QWidget *widget)
 Removes a DataController's widget from the bar.
 
QSize iconSize () const
 Recommended size of icons in the toolbar.
 
void updateLayout ()
 Checks the free space of the QToolBar and moves DataControllers accordingly.
 
bool eventFilter (QObject *obj, QEvent *event) override
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close