MorphoGraphX
ColorEditorDlg.hpp
1 //
2 // This file is part of MorphoGraphX - http://www.MorphoGraphX.org
3 // Copyright (C) 2012-2015 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 class Colors;
20 } // namespace mgx
21 
22 class ColorEditorDlg : public QDialog {
23  Q_OBJECT
24 public:
25  ColorEditorDlg(mgx::Colors* colors, QWidget* parent = 0, Qt::WindowFlags f = 0);
26 
27 protected slots:
28  void on_colorsView_doubleClicked(const QModelIndex& idx);
29  void on_buttonBox_clicked(QAbstractButton* btn);
30 
31 protected:
32  mgx::Colors* model;
33  Ui::ColorEditorDlg ui;
34 };
35 
36 #endif
Definition: ColorEditorDlg.hpp:22
This namespace contains all the API of MorphoGraphX.
Definition: Assert.hpp:26
Definition: Colors.hpp:29