itom
Loading...
Searching...
No Matches
dialogVariableDetailDataObject.h
1/* ********************************************************************
2 itom software
3 URL: http://www.uni-stuttgart.de/ito
4 Copyright (C) 2020, Institut für Technische Optik (ITO),
5 Universität Stuttgart, Germany
6
7 This file is part of itom.
8
9 itom is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Library General Public Licence as published by
11 the Free Software Foundation; either version 2 of the Licence, or (at
12 your option) any later version.
13
14 itom is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17 General Public Licence for more details.
18
19 You should have received a copy of the GNU Library General Public License
20 along with itom. If not, see <http://www.gnu.org/licenses/>.
21*********************************************************************** */
22
23#pragma once
24
25#include "ui_dialogVariableDetailDataObject.h"
26
27#include "DataObject/dataobj.h"
28
29#include <qdialog.h>
30#include <qspinbox.h>
31#include <qlist.h>
32
33namespace ito
34{
35
36class DialogVariableDetailDataObject : public QDialog
37{
38 Q_OBJECT
39
40public:
42 const QString& name,
43 const QString& type,
44 const char* dtype,
45 QSharedPointer<ito::DataObject> data,
46 QWidget* parent);
48
49private:
50 Ui::DialogVariableDetailDataObject ui;
51 QSharedPointer<ito::DataObject> m_dObj;
52 ito::Range* m_pAxesRanges;
53 QMap<int, QSpinBox*> m_spinBoxToIdxMap;
54 bool m_selectedAll;
55
56 void changeDisplayedAxes(int isColNotRow);
57 void deleteSlicingWidgets();
58 void addSlicingWidgets();
59
60private slots:
61 void on_btnCopyClipboard_clicked();
62 void spinBoxValueChanged(int idx);
63 void on_comboBoxDisplayedCol_currentIndexChanged(int idx);
64 void on_comboBoxDisplayedRow_currentIndexChanged(int idx);
65 void tableCornerButtonClicked();
66};
67
68} //end namespace ito
Definition dialogVariableDetailDataObject.h:37
each range value has a start and end point. Optionally range can be marked as Range::all(),...
Definition dataobj.h:332
Definition apiFunctionsGraph.cpp:40