OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ManageAccessTable Class Reference

#include "ManageAccess.h"

Inheritance diagram for ManageAccessTable:
ot::Table

Signals

void selectionChanged ()
 
- Signals inherited from ot::Table
void saveRequested (void)
 
void modifiedChanged (bool _isModified)
 

Public Member Functions

 ManageAccessTable ()
 
 ManageAccessTable (int _row, int _column)
 
virtual ~ManageAccessTable ()
 
void addRow (const std::array< QTableWidgetItem *, 2 > &_columns)
 
void Clear (void)
 
virtual void mouseMoveEvent (QMouseEvent *_event) override
 
virtual void leaveEvent (QEvent *_event) override
 
void getSelectedItems (QTableWidgetItem *&first, QTableWidgetItem *&second)
 
- Public Member Functions inherited from ot::Table
 Table (QWidget *_parentWidget=(QWidget *) nullptr)
 
 Table (int _rows, int _columns, QWidget *_parentWidget=(QWidget *) nullptr)
 
virtual ~Table ()
 
virtual void setupFromConfig (const TableCfg &_config)
 
virtual TableCfg createConfig (void) const
 
void setContentChanged (bool _changed=true)
 
bool getContentChanged (void) const
 
void setSelectedCellsBackground (const ot::Color &_color)
 
void setSelectedCellsBackground (const QColor &_color)
 
void prepareForDataChange (void)
 
QRect getSelectionBoundingRect (void) const
 

Additional Inherited Members

- Public Slots inherited from ot::Table
void slotSaveRequested (void)
 
- Static Public Member Functions inherited from ot::Table
static QRect getSelectionBoundingRect (const QList< QTableWidgetSelectionRange > &_selections)
 
- Protected Member Functions inherited from ot::Table
virtual void showEvent (QShowEvent *_event) override
 
virtual void hideEvent (QHideEvent *_event) override
 

Constructor & Destructor Documentation

◆ ManageAccessTable() [1/2]

ManageAccessTable::ManageAccessTable ( )

◆ ManageAccessTable() [2/2]

ManageAccessTable::ManageAccessTable ( int _row,
int _column )

◆ ~ManageAccessTable()

ManageAccessTable::~ManageAccessTable ( )
virtual

Member Function Documentation

◆ addRow()

void ManageAccessTable::addRow ( const std::array< QTableWidgetItem *, 2 > & _columns)

◆ Clear()

void ManageAccessTable::Clear ( void )

◆ getSelectedItems()

void ManageAccessTable::getSelectedItems ( QTableWidgetItem *& first,
QTableWidgetItem *& second )

◆ leaveEvent()

void ManageAccessTable::leaveEvent ( QEvent * _event)
overridevirtual

◆ mouseMoveEvent()

void ManageAccessTable::mouseMoveEvent ( QMouseEvent * _event)
overridevirtual

◆ selectionChanged

void ManageAccessTable::selectionChanged ( )
signal

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