COPASI API
4.16.103
|
#include <CScanContainerWidget.h>
Signals | |
void | copyWidget (int) |
void | itemDeleted () |
Public Member Functions | |
void | addWidget (QWidget *widget, bool controls=true) |
void | clearWidgetList () |
CScanContainerWidget (QWidget *parent=0, const char *name=0) | |
void | enableCopy (const bool &enable) |
std::vector< QWidget * > | getWidgetList () const |
void | insertWidget (QWidget *widget, int row=-1) |
~CScanContainerWidget () | |
Protected Slots | |
void | slotCopy (int index) |
void | slotDel (int index) |
void | slotDown (int index) |
void | slotUp (int index) |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) |
void | updateIndices () |
void | updateTable () |
Protected Attributes | |
bool | mCopyEnabled |
This widget is a table that contains other widgets (arranged vertically) it adds buttons to delete, move up or down the widgets
Definition at line 33 of file CScanContainerWidget.h.
CScanContainerWidget::CScanContainerWidget | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
CScanContainerWidget::~CScanContainerWidget | ( | ) |
Definition at line 50 of file CScanContainerWidget.cpp.
void CScanContainerWidget::addWidget | ( | QWidget * | widget, |
bool | controls = true |
||
) |
Definition at line 76 of file CScanContainerWidget.cpp.
References CUpDownSubwidget::enableCopy(), mCopyEnabled, CUpDownSubwidget::setIndex(), slotCopy(), slotDel(), slotDown(), slotUp(), updateIndices(), and updateTable().
Referenced by ScanWidget::loadTask().
void CScanContainerWidget::clearWidgetList | ( | ) |
Definition at line 71 of file CScanContainerWidget.cpp.
Referenced by ScanWidget::loadTask().
|
signal |
Referenced by slotCopy().
void CScanContainerWidget::enableCopy | ( | const bool & | enable | ) |
std::vector< QWidget * > CScanContainerWidget::getWidgetList | ( | ) | const |
Definition at line 53 of file CScanContainerWidget.cpp.
Referenced by ScanWidget::saveTask().
void CScanContainerWidget::insertWidget | ( | QWidget * | widget, |
int | row = -1 |
||
) |
Definition at line 109 of file CScanContainerWidget.cpp.
References C_INT32, CUpDownSubwidget::enableCopy(), mCopyEnabled, slotCopy(), slotDel(), slotDown(), slotUp(), updateIndices(), and updateTable().
Referenced by ScanWidget::slotAddItem(), and slotDown().
|
signal |
|
protected |
Definition at line 222 of file CScanContainerWidget.cpp.
|
protectedslot |
Definition at line 187 of file CScanContainerWidget.cpp.
References copyWidget().
Referenced by addWidget(), and insertWidget().
|
protectedslot |
Definition at line 179 of file CScanContainerWidget.cpp.
References updateIndices(), and updateTable().
Referenced by addWidget(), and insertWidget().
|
protectedslot |
Definition at line 149 of file CScanContainerWidget.cpp.
References insertWidget().
Referenced by addWidget(), insertWidget(), and slotUp().
|
protectedslot |
Definition at line 142 of file CScanContainerWidget.cpp.
References slotDown().
Referenced by addWidget(), and insertWidget().
|
protected |
Definition at line 190 of file CScanContainerWidget.cpp.
References C_INT32, and CUpDownSubwidget::setIndex().
Referenced by addWidget(), insertWidget(), and slotDel().
|
protected |
Definition at line 211 of file CScanContainerWidget.cpp.
Referenced by addWidget(), insertWidget(), and slotDel().
|
protected |
Definition at line 58 of file CScanContainerWidget.h.
Referenced by addWidget(), CScanContainerWidget(), enableCopy(), and insertWidget().