Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
CollapsibleAreaWidth Class Reference

A widget that can be collapsed or expanded. More...

#include <collapsible_area.h>

Inheritance diagram for CollapsibleAreaWidth:

Public Member Functions

 CollapsibleAreaWidth (QWidget *parent=nullptr)
 Constructs a new CollapsibleAreaWidth with the given parent.
int contentWidth () const
 Returns the current content width.
void setContentWidth (int width)
 Sets the content width to the given value.
QSize sizeHint () const override
 Returns a size hint for this widget.
QSize minimumSizeHint () const override
 Returns the minimum size hint for this widget.

Detailed Description

A widget that can be collapsed or expanded.

Constructor & Destructor Documentation

◆ CollapsibleAreaWidth()

CollapsibleAreaWidth::CollapsibleAreaWidth ( QWidget * parent = nullptr)

Constructs a new CollapsibleAreaWidth with the given parent.

Parameters
parentThe parent widget.

Member Function Documentation

◆ contentWidth()

int CollapsibleAreaWidth::contentWidth ( ) const

Returns the current content width.

Returns
The content width.

◆ minimumSizeHint()

QSize CollapsibleAreaWidth::minimumSizeHint ( ) const
override

Returns the minimum size hint for this widget.

Returns
A QSize representing the minimum size hint.

◆ setContentWidth()

void CollapsibleAreaWidth::setContentWidth ( int width)

Sets the content width to the given value.

Parameters
widthThe new content width.

◆ sizeHint()

QSize CollapsibleAreaWidth::sizeHint ( ) const
override

Returns a size hint for this widget.

Returns
A QSize representing the size hint.

The documentation for this class was generated from the following files:
  • /__w/maki/maki/app/widgets/collapsible_area.h
  • /__w/maki/maki/app/widgets/collapsible_area.cpp