MorphoGraphX
|
Public Slots | |
void | importLabels () |
void | exportLabels () |
bool | importLabels (QString filename) |
bool | exportLabels (QString filename) |
void | makeLabelCurrent () |
void | selectLabel () |
void | setCurrentLabel (int label) |
Signals | |
void | update () |
void | selectLabel (int label, int repeat, bool replaceSelection) |
void | makeLabelCurrent (int label) |
Public Member Functions | |
LabelEditorDlg (std::vector< mgx::Colorf > *colors, QWidget *parent) | |
![]() | |
QDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
accept () | |
accepted () | |
closeEvent (QCloseEvent *e) | |
contextMenuEvent (QContextMenuEvent *e) | |
done (int r) | |
event (QEvent *e) | |
eventFilter (QObject *o, QEvent *e) | |
exec () | |
finished (int result) | |
keyPressEvent (QKeyEvent *e) | |
minimumSizeHint () | |
open () | |
reject () | |
rejected () | |
resizeEvent (QResizeEvent *) | |
result () | |
setResult (int i) | |
setVisible (bool visible) | |
showEvent (QShowEvent *event) | |
sizeHint () | |
Protected Slots | |
void | on_buttonBox_clicked (QAbstractButton *btn) |
void | on_setNbColors_clicked () |
void | on_labelsView_doubleClicked (const QModelIndex &idx) |
void | on_labelsView_customContextMenuRequested (const QPoint &pos) |
void | on_showCurrent_clicked () |
void | on_makeGray_clicked () |
void | on_makeRandom_clicked () |
void | changeNbItems () |
Protected Attributes | |
int | currentLabel |
int | selectedLabel |
LabelModel * | _model |
Ui::LabelEditorDlg * | ui |
QPushButton * | importButton |
QPushButton * | exportButton |
QAction * | selectLabelAction |
QAction * | makeLabelCurrentAction |