Section
Section
#include <Section.hpp>
Inherits from QWidget
Public Slots
| Name | |
|---|---|
| void | toggle(bool expanded) |
Public Functions
| Name | |
|---|---|
| Section(QWidget * parent =[nullptr], QString const & title =““, int animationDuration =DEFAULT_DURATION) | |
| void | setContentLayout(QLayout & contentLayout) |
| void | autoSetContentLayout() |
| void | setTitle(QString const & title) |
| void | updateHeights() |
Public Attributes
| Name | |
|---|---|
| int const | DEFAULT_DURATION |
Public Slots Documentation
slot toggle
void toggle(
bool expanded
)Public Functions Documentation
function Section
explicit Section(
QWidget * parent =nullptr,
QString const & title ="",
int animationDuration =DEFAULT_DURATION
)function setContentLayout
void setContentLayout(
QLayout & contentLayout
)function autoSetContentLayout
void autoSetContentLayout()function setTitle
void setTitle(
QString const & title
)function updateHeights
void updateHeights()Public Attributes Documentation
variable DEFAULT_DURATION
static int const DEFAULT_DURATION = 100;Updated on 2026-11-13 at 20:25:39 +0000