3
* TOra - An Oracle Toolkit for DBA's and developers
4
* Copyright (C) 2003-2005 Quest Software, Inc
5
* Portions Copyright (C) 2005 Other Contributors
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; only version 2 of
10
* the License is valid for this program.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
* As a special exception, you have permission to link this program
22
* with the Oracle Client libraries and distribute executables, as long
23
* as you follow the requirements of the GNU GPL in regard to all of the
24
* software in the executable aside from Oracle client libraries.
26
* Specifically you are not permitted to link this program with the
27
* Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech.
28
* And you are not permitted to distribute binaries compiled against
29
* these libraries without written consent from Quest Software, Inc.
30
* Observe that this does not disallow linking to the Qt Free Edition.
32
* You may link this product with any GPL'd Qt library such as Qt/Free
34
* All trademarks belong to their respective owners.
2
/* BEGIN_COMMON_COPYRIGHT_HEADER
4
* TOra - An Oracle Toolkit for DBA's and developers
6
* Shared/mixed copyright is held throughout files in this product
8
* Portions Copyright (C) 2000-2001 Underscore AB
9
* Portions Copyright (C) 2003-2005 Quest Software, Inc.
10
* Portions Copyright (C) 2004-2008 Numerous Other Contributors
12
* This program is free software; you can redistribute it and/or
13
* modify it under the terms of the GNU General Public License
14
* as published by the Free Software Foundation; only version 2 of
15
* the License is valid for this program.
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
* As a special exception, you have permission to link this program
27
* with the Oracle Client libraries and distribute executables, as long
28
* as you follow the requirements of the GNU GPL in regard to all of the
29
* software in the executable aside from Oracle client libraries.
31
* Specifically you are not permitted to link this program with the
32
* Qt/UNIX, Qt/Windows or Qt Non Commercial products of TrollTech.
33
* And you are not permitted to distribute binaries compiled against
36
* You may link this product with any GPL'd Qt library.
38
* All trademarks belong to their respective owners.
40
* END_COMMON_COPYRIGHT_HEADER */
155
158
std::list<QLabel *> Backgrounds;
156
159
void setupChart(toResultLine *chart, const QString &, const QString &, const toSQL &sql);
157
void setValue(QLabel *label, const QCString &val);
160
void setValue(QLabel *label, const QString &val);
159
toTuningOverview(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
162
toTuningOverview(QWidget *parent = 0, const char *name = 0, Qt::WFlags fl = 0);
160
163
~toTuningOverview();
162
165
void start(void);
174
QToolButton *TabButton;
176
QPopupMenu *ToolMenu;
178
toListView *Indicators;
179
toResultParam *Parameters;
180
toResultLong *Options;
181
toResultLock *BlockingLocks;
182
toResultItem *Licenses;
183
toResultStats *Statistics;
184
toResultLong *LibraryCache;
185
toResultLong *ControlFiles;
188
std::map<QCString, QGrid *> Charts;
177
toListView *Indicators;
178
toResultParam *Parameters;
179
toResultTableView *Options;
180
toResultLock *BlockingLocks;
181
toResultItem *Licenses;
182
toResultStats *Statistics;
183
toResultTableView *LibraryCache;
184
toResultTableView *ControlFiles;
186
QScrollArea *ChartContainer;
188
QList<QWidget *> Charts;
191
191
toTuningOverview *Overview;
192
toTuningFileIO *FileIO;
195
virtual void enableTab(const QCString &name, bool enable);
196
virtual QWidget *tabWidget(const QCString &name);
198
virtual void exportData(std::map<QCString, QString> &data, const QCString &prefix);
199
virtual void importData(std::map<QCString, QString> &data, const QCString &prefix);
192
toTuningFileIO *FileIO;
197
QAction *changeRefreshAct;
200
virtual void enableTab(const QString &name, bool enable);
201
virtual QWidget *tabWidget(const QString &name);
203
virtual void exportData(std::map<QString, QString> &data, const QString &prefix);
204
virtual void importData(std::map<QString, QString> &data, const QString &prefix);
201
207
toTuning(QWidget *parent, toConnection &connection);
203
210
virtual void refresh(void);
204
virtual void changeTab(QWidget *widget);
211
virtual void changeTab(int);
205
212
virtual void changeRefresh(const QString &str);
206
virtual void windowActivated(QWidget *widget);
213
virtual void windowActivated(QMdiSubWindow *widget);
208
215
virtual void showTabMenu(void);
209
virtual void enableTabMenu(int);
216
virtual void enableTabMenu(QAction *);