SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
LinkCompoundEditButton Class Reference

#include <linkcompoundeditbutton.h>

Inheritance diagram for LinkCompoundEditButton:
Collaboration diagram for LinkCompoundEditButton:

Signals

void valueChanged ()
 

Public Member Functions

 LinkCompoundEditButton (QWidget *parent=nullptr)
 
LinkCompoundEditRef value () const noexcept
 
void setValue (const LinkCompoundEditRef &ref)
 

Properties

LinkCompoundEditRef value
 

Constructor & Destructor Documentation

◆ LinkCompoundEditButton()

LinkCompoundEditButton::LinkCompoundEditButton ( QWidget *  parent = nullptr)
explicit

Member Function Documentation

◆ setValue()

void LinkCompoundEditButton::setValue ( const LinkCompoundEditRef ref)

◆ value()

LinkCompoundEditRef LinkCompoundEditButton::value ( ) const
inlinenoexcept

◆ valueChanged

void LinkCompoundEditButton::valueChanged ( )
signal

Emitted after the dialog closes with a (possibly) updated summary string. The QPropertyItemDelegate listens via the notify signal of the USER property and commits the new value back to the model.

Property Documentation

◆ value

LinkCompoundEditRef LinkCompoundEditButton::value
readwrite

USER true so QStyledItemDelegate uses this property for the edit round-trip (setEditorData / setModelData).


The documentation for this class was generated from the following files: