General Purpose Geodetic Library
SgGuiVlbiHistory.h
Go to the documentation of this file.
1
/*
2
*
3
* This file is a part of Space Geodetic Library. The library is used by
4
* nuSolve, a part of CALC/SOLVE system, and designed to make analysis of
5
* geodetic VLBI observations.
6
* Copyright (C) 2010-2020 Sergei Bolotin.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
#ifndef SG_GUI_VLBI_HISTORY_H
24
#define SG_GUI_VLBI_HISTORY_H
25
26
27
#ifdef HAVE_CONFIG_H
28
# include <config.h>
29
#endif
30
31
32
#include <
SgVlbiSession.h
>
33
34
35
#if QT_VERSION >= 0x050000
36
# include <QtWidgets/QHeaderView>
37
# include <QtWidgets/QLineEdit>
38
# include <QtWidgets/QPlainTextEdit>
39
# include <QtWidgets/QTreeWidget>
40
# include <QtWidgets/QTreeWidgetItem>
41
#else
42
# include <QtGui/QHeaderView>
43
# include <QtGui/QLineEdit>
44
# include <QtGui/QPlainTextEdit>
45
# include <QtGui/QTreeWidget>
46
# include <QtGui/QTreeWidgetItem>
47
#endif
48
49
50
51
52
class
SgVlbiHistory
;
53
54
/*=====================================================================================================*/
55
class
SgGuiVlbiHistory
:
public
QWidget
56
{
57
Q_OBJECT
58
public
:
59
SgGuiVlbiHistory
(
SgVlbiHistory
*,
QWidget
* =0, Qt::WindowFlags=0);
60
virtual
~SgGuiVlbiHistory
() {
twHistory_
=NULL;};
61
62
signals:
63
void
modified
(
bool
);
64
65
private
66
slots:
67
void
addHistoryLine
();
68
void
delHistoryLine
();
69
70
protected
:
71
SgVlbiHistory
*
history_
;
72
QTreeWidget
*
twHistory_
;
73
QLineEdit *
historyLine_
;
74
virtual
inline
QString
className
()
const
{
return
"SgGuiVlbiHistory"
;};
75
};
76
/*=====================================================================================================*/
77
78
79
80
/*=====================================================================================================*/
81
#endif
// SG_GUI_VLBI_HISTORY_H
SgVlbiSession.h
QTreeWidget
QWidget
SgGuiVlbiHistory
Definition:
SgGuiVlbiHistory.h:56
SgGuiVlbiHistory::historyLine_
QLineEdit * historyLine_
Definition:
SgGuiVlbiHistory.h:73
SgGuiVlbiHistory::modified
void modified(bool)
Definition:
SgGuiVlbiHistory.moc.cpp:141
SgGuiVlbiHistory::~SgGuiVlbiHistory
virtual ~SgGuiVlbiHistory()
Definition:
SgGuiVlbiHistory.h:60
SgGuiVlbiHistory::className
virtual QString className() const
Definition:
SgGuiVlbiHistory.h:74
SgGuiVlbiHistory::twHistory_
QTreeWidget * twHistory_
Definition:
SgGuiVlbiHistory.h:72
SgGuiVlbiHistory::history_
SgVlbiHistory * history_
Definition:
SgGuiVlbiHistory.h:71
SgGuiVlbiHistory::SgGuiVlbiHistory
SgGuiVlbiHistory(SgVlbiHistory *, QWidget *=0, Qt::WindowFlags=0)
Definition:
SgGuiVlbiHistory.cpp:57
SgGuiVlbiHistory::addHistoryLine
void addHistoryLine()
Definition:
SgGuiVlbiHistory.cpp:156
SgGuiVlbiHistory::delHistoryLine
void delHistoryLine()
Definition:
SgGuiVlbiHistory.cpp:192
SgVlbiHistory
Definition:
SgVlbiHistory.h:138
src
SgLib
SgGuiVlbiHistory.h
Generated by
1.9.1