Workspace 6.21.5
Public Slots | Signals | Public Member Functions | Properties | List of all members
ObjectDictionaryTableViewWidget Class Reference

Widget for displaying the contents of an ObjectDictionary in a table format.

#include <Workspace/Widgets/objectdictionarytableviewwidget.h>

Inherits QWidget.

Public Slots

void addItemPressed ()
 
void cellChanged (int row, int column)
 
void on_rangeMax_valueChanged (int val)
 
void on_rangeMin_valueChanged (int val)
 
void removeItemPressed ()
 

Signals

void requestUpdateData ()
 
void requestUpdateWidget ()
 
void widgetUpdated ()
 

Public Member Functions

 ObjectDictionaryTableViewWidget (QWidget *parent=nullptr)
 
 ~ObjectDictionaryTableViewWidget () override
 
bool getAllowAddRemove () const
 
void setAllowAddRemove (bool allow)
 
void setMaximumRange (int max)
 
void setMinimumRange (int min)
 
void setRange (int min, int max)
 
void setRangeVisible (bool b)
 
void setReadOnly (bool b)
 
void updateData (ObjectDictionary &objectDictionary)
 
void updateWidget (const ObjectDictionary &objectDictionary)
 

Properties

bool allowAddRemove
 

Constructor & Destructor Documentation

◆ ObjectDictionaryTableViewWidget()

ObjectDictionaryTableViewWidget ( QWidget *  parent = nullptr)

◆ ~ObjectDictionaryTableViewWidget()

Member Function Documentation

◆ addItemPressed

void addItemPressed ( )
slot

◆ cellChanged

void cellChanged ( int  row,
int  column 
)
slot

◆ getAllowAddRemove()

bool getAllowAddRemove ( ) const

◆ on_rangeMax_valueChanged

void on_rangeMax_valueChanged ( int  val)
slot

◆ on_rangeMin_valueChanged

void on_rangeMin_valueChanged ( int  val)
slot

◆ removeItemPressed

void removeItemPressed ( )
slot

◆ requestUpdateData

void requestUpdateData ( )
signal

◆ requestUpdateWidget

void requestUpdateWidget ( )
signal

◆ setAllowAddRemove()

void setAllowAddRemove ( bool  allow)

◆ setMaximumRange()

void setMaximumRange ( int  max)

◆ setMinimumRange()

void setMinimumRange ( int  min)

◆ setRange()

void setRange ( int  min,
int  max 
)

◆ setRangeVisible()

void setRangeVisible ( bool  b)

◆ setReadOnly()

void setReadOnly ( bool  b)

◆ updateData()

void updateData ( ObjectDictionary objectDictionary)

◆ updateWidget()

void updateWidget ( const ObjectDictionary objectDictionary)

◆ widgetUpdated

void widgetUpdated ( )
signal

Property Documentation

◆ allowAddRemove

bool allowAddRemove
readwrite