QtiPlot
0.9.8.2
Main Page
Related Pages
Classes
Files
File List
File Members
qtiplot
src
plot2D
dialogs
AssociationsDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : AssociationsDialog.h
3
Project : QtiPlot
4
--------------------------------------------------------------------
5
Copyright : (C) 2006 - 2010 by Ion Vasilief
6
Email (use @ for *) : ion_vasilief*yahoo.fr
7
Description : Plot associations dialog
8
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
* This program is distributed in the hope that it will be useful, *
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21
* GNU General Public License for more details. *
22
* *
23
* You should have received a copy of the GNU General Public License *
24
* along with this program; if not, write to the Free Software *
25
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
26
* Boston, MA 02110-1301 USA *
27
* *
28
***************************************************************************/
29
#ifndef ASSOCIATIONSDIALOG_H
30
#define ASSOCIATIONSDIALOG_H
31
32
#include <QDialog>
33
34
class
QLabel;
35
class
QListWidget;
36
class
QPushButton;
37
class
QTableWidget;
38
class
QStringList;
39
class
Table
;
40
class
Graph
;
41
class
MdiSubWindow
;
42
44
class
AssociationsDialog
:
public
QDialog
45
{
46
Q_OBJECT
47
48
public
:
49
AssociationsDialog
( QWidget* parent = 0, Qt::WFlags fl = 0 );
50
51
void
initTablesList
(QList<MdiSubWindow *> lst,
int
curve);
52
void
setGraph
(
Graph
*g);
53
54
private
slots:
55
void
updateTable
(
int
index);
56
void
updateCurves
();
57
void
accept
();
58
59
private
:
60
void
changePlotAssociation
(
int
curve,
const
QStringList& lst);
61
void
updateColumnTypes
();
62
void
uncheckCol
(
int
col);
63
void
updatePlotAssociation
(
int
row,
int
col);
64
QStringList
plotAssociation
(
const
QString& text);
65
Table
*
findTable
(
int
index);
66
bool
eventFilter
(QObject *
object
, QEvent *e);
67
68
QList <MdiSubWindow*>
tables
;
69
Table
*
active_table
;
70
Graph
*
graph
;
71
QStringList
plotAssociationsList
;
72
73
QLabel*
tableCaptionLabel
;
74
QTableWidget *
table
;
75
QPushButton *
btnOK
, *
btnCancel
, *
btnApply
;
76
QListWidget*
associations
;
77
};
78
79
#endif // ASSOCIATIONSDIALOG_H
Generated on Sat Jun 8 2013 16:32:23 for QtiPlot by
1.8.1.2