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

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

#include <collapsible_area.h>

Inheritance diagram for CollapsibleAreaHeight:

Public Member Functions

 CollapsibleAreaHeight (QWidget *parent=nullptr)
 Constructs a new CollapsibleAreaHeight with the given parent.
int contentHeight () const
 Returns the current content height.
void setContentHeight (int height)
 Sets the content height 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 vertically.

Constructor & Destructor Documentation

◆ CollapsibleAreaHeight()

CollapsibleAreaHeight::CollapsibleAreaHeight ( QWidget * parent = nullptr)

Constructs a new CollapsibleAreaHeight with the given parent.

Parameters
parentThe parent widget.

Member Function Documentation

◆ contentHeight()

int CollapsibleAreaHeight::contentHeight ( ) const

Returns the current content height.

Returns
The content height.

◆ minimumSizeHint()

QSize CollapsibleAreaHeight::minimumSizeHint ( ) const
override

Returns the minimum size hint for this widget.

Returns
A QSize representing the minimum size hint.

◆ setContentHeight()

void CollapsibleAreaHeight::setContentHeight ( int height)

Sets the content height to the given value.

Parameters
heightThe new content height.

◆ sizeHint()

QSize CollapsibleAreaHeight::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