MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | List of all members
LabelEditorDlg Class Reference
+ Inheritance diagram for LabelEditorDlg:

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)
 
- Public Member Functions inherited from QDialog
 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
 
QPushButtonimportButton
 
QPushButtonexportButton
 
QActionselectLabelAction
 
QActionmakeLabelCurrentAction
 

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