Inspector::InspectorSectionWidget Class Reference
InspectorSectionWidget is widget that can fold or unfold his content. More...
Inheritance diagram for Inspector::InspectorSectionWidget:
Detailed Description
InspectorSectionWidget is widget that can fold or unfold his content.
A header with a name is always displayed. It contains one main widget in a QScrollArea with a vertical layout, that can be folded/unfolded on click on the arrow button.
Public Member Functions | |
InspectorSectionWidget (bool editable=false, QWidget *parent=nullptr) | |
InspectorSectionWidget (QString name, bool nameEditable=false, QWidget *parent=nullptr) | |
QMenu * | menu () const |
QString | name () const |
void | expand (bool b) |
void | renameSection (QString newName) |
change the name in the header | |
void | addContent (QWidget *newWidget) |
add the widget newWidget in the main layout | |
void | removeContent (QWidget *toRemove) |
removes the widget from the main layout | |
void | removeAll () |
void | showMenu (bool b) |
void | nameChanged (QString newName) |
The documentation for this class was generated from the following files:
- InspectorSectionWidget.hpp
- InspectorSectionWidget.cpp