Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qt
PickTable.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _PickTable_H_
15
#define _PickTable_H_
16
17
#include <qglobal.h>
18
#include "
qtui/PickTableBase.h
"
19
20
#if QT_VERSION < 0x040000
21
#else
22
#include "
libqthippo.h
"
23
class
Q3ListViewItem;
24
#endif
25
26
#include <vector>
27
28
namespace
hippodraw {
29
30
class
NTuple;
31
class
NTupleSorter;
32
class
PlotterBase;
33
class
DataRep;
34
45
// #if QT_VERSION < 0x040000
46
class
MDL_QTHIPPOPLOT_API
PickTable
:
public
PickTableBase
47
// #else
48
// class MDL_QTHIPPOPLOT_API PickTable : public QDialog,
49
// private Ui::PickTableUI
50
// #endif
51
{
52
53
private
:
54
57
NTupleSorter
*
m_sorter
;
58
62
PlotterBase
*
m_target
;
63
66
unsigned
int
m_column
;
67
69
DataRep
*
m_datarep
;
70
71
protected
:
72
75
virtual
void
addEntry();
76
79
virtual
void
clear();
80
83
virtual
void
deleteSelectedItem();
84
87
virtual
void
pickedCheckBoxClicked();
88
91
virtual
void
listSorted (
int
);
92
95
#if QT_VERSION < 0x040000
96
unsigned
int
indexOf (
QListViewItem
* target );
97
#else
98
unsigned
int
indexOf ( Q3ListViewItem * target );
99
#endif
100
106
void
refreshItems (
unsigned
int
select);
107
111
void
addDataRep ();
112
113
public
:
114
118
PickTable
(
PlotterBase
* plotter );
119
123
void
addItem ( std::vector < double > & v );
124
127
virtual
void
m_pick_table_selectionChanged();
128
131
NTuple
* getPickTable ()
const
;
132
133
};
134
135
}
// namespace hippodraw
136
137
#endif // _PickTable_H_
Generated for HippoDraw Class Library by