MorphoGraphX  2.0-1-227
ColorEditorDlg.hpp
Go to the documentation of this file.
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2016 Richard S. Smith and collaborators.
4 //
5 // If you use MorphoGraphX in your work, please cite:
6 // http://dx.doi.org/10.7554/eLife.05864
7 //
8 // MorphoGraphX is free software, and is licensed under under the terms of the
9 // GNU General (GPL) Public License version 2.0, http://www.gnu.org/licenses.
10 //
11 #ifndef COLOREDITORDLG_HPP
12 #define COLOREDITORDLG_HPP
13 
14 #include <Config.hpp>
15 
16 #include <ui_ColorEditorDlg.h>
17 
18 namespace mgx
19 {
20  class Colors;
21 }
22 
23 class ColorEditorDlg : public QDialog {
24  Q_OBJECT
25 public:
26  ColorEditorDlg(mgx::Colors* colors, QWidget* parent = 0, Qt::WindowFlags f = 0);
27 
28 protected slots:
29  void on_colorsView_doubleClicked(const QModelIndex& idx);
30  void on_buttonBox_clicked(QAbstractButton* btn);
31 
32 protected:
34  Ui::ColorEditorDlg ui;
35 };
36 
37 #endif
ColorEditorDlg::model
mgx::Colors * model
Definition: ColorEditorDlg.hpp:33
ColorEditorDlg::on_colorsView_doubleClicked
void on_colorsView_doubleClicked(const QModelIndex &idx)
mgx
Distributed matrix library.
Definition: Assert.hpp:26
mgx::Colors
Definition: Colors.hpp:29
ColorEditorDlg::ColorEditorDlg
ColorEditorDlg(mgx::Colors *colors, QWidget *parent=0, Qt::WindowFlags f=0)
ColorEditorDlg
Definition: ColorEditorDlg.hpp:23
ColorEditorDlg::on_buttonBox_clicked
void on_buttonBox_clicked(QAbstractButton *btn)
ColorEditorDlg::ui
Ui::ColorEditorDlg ui
Definition: ColorEditorDlg.hpp:34