2 * Copyright (C) 2015, 2016 Computer Graphics Group, University of Siegen
3 * Written by Martin Lambers <martin.lambers@uni-siegen.de>
5 * Permission is hereby granted, free of charge, to any person obtaining a copy
6 * of this software and associated documentation files (the "Software"), to deal
7 * in the Software without restriction, including without limitation the rights
8 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 * copies of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27 #include <QMainWindow>
30 class ColorMapBrewerSequentialWidget;
31 class ColorMapBrewerDivergingWidget;
32 class ColorMapBrewerQualitativeWidget;
33 class ColorMapIsoluminantSequentialWidget;
34 class ColorMapIsoluminantDivergingWidget;
35 class ColorMapIsoluminantQualitativeWidget;
36 class ColorMapUniformRainbowWidget;
37 class ColorMapBlackBodyWidget;
38 class ColorMapCubeHelixWidget;
39 class ColorMapMorelandWidget;
40 class ColorMapMcNamesWidget;
45 class GUI : public QMainWindow
54 ColorMapBrewerSequentialWidget* _brewerseq_widget;
55 ColorMapBrewerDivergingWidget* _brewerdiv_widget;
56 ColorMapBrewerQualitativeWidget* _brewerqual_widget;
57 ColorMapIsoluminantSequentialWidget* _isolumseq_widget;
58 ColorMapIsoluminantDivergingWidget* _isolumdiv_widget;
59 ColorMapIsoluminantQualitativeWidget* _isolumqual_widget;
60 ColorMapUniformRainbowWidget* _unirainbow_widget;
61 ColorMapBlackBodyWidget* _blackbody_widget;
62 ColorMapCubeHelixWidget* _cubehelix_widget;
63 ColorMapMorelandWidget* _moreland_widget;
64 ColorMapMcNamesWidget* _mcnames_widget;
65 QTabWidget* _category_widget;
66 QTabWidget* _category_seq_widget;
67 QTabWidget* _category_div_widget;
68 QTabWidget* _category_qual_widget;
69 QLabel* _reference_label;
70 QLabel* _colormap_label;
72 ColorMapWidget* currentWidget();
77 void file_export_png();
78 void file_export_csv();
80 void edit_copy_as_img();
81 void edit_copy_as_txt();