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
NodeCompoundEditButton Class Reference

#include <nodecompoundeditbutton.h>

Inheritance diagram for NodeCompoundEditButton:
Collaboration diagram for NodeCompoundEditButton:

Signals

void valueChanged ()
 

Public Member Functions

 NodeCompoundEditButton (QWidget *parent=nullptr)
 
NodeCompoundEditRef value () const noexcept
 
void setValue (const NodeCompoundEditRef &ref)
 

Properties

NodeCompoundEditRef value
 

Constructor & Destructor Documentation

◆ NodeCompoundEditButton()

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

Member Function Documentation

◆ setValue()

void NodeCompoundEditButton::setValue ( const NodeCompoundEditRef ref)

◆ value()

NodeCompoundEditRef NodeCompoundEditButton::value ( ) const
inlinenoexcept

◆ valueChanged

void NodeCompoundEditButton::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

NodeCompoundEditRef NodeCompoundEditButton::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: