• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

kcachegrind

configdialog.h

Go to the documentation of this file.
00001 /* This file is part of KCachegrind.
00002    Copyright (C) 2009 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
00003 
00004    KCachegrind is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU General Public
00006    License as published by the Free Software Foundation, version 2.
00007 
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    General Public License for more details.
00012 
00013    You should have received a copy of the GNU General Public License
00014    along with this program; see the file COPYING.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 /*
00020  * QCachegrind configuration dialog
00021  */
00022 
00023 #ifndef CONFIGDIALOG_H
00024 #define CONFIGDIALOG_H
00025 
00026 #include <QString>
00027 #include <QDialog>
00028 #include <QMap>
00029 #include <QTimer>
00030 
00031 #include "configpage.h"
00032 
00033 class QWidget;
00034 class QLabel;
00035 class QListWidget;
00036 class QStackedWidget;
00037 
00038 class TraceData;
00039 
00040 class ConfigDialog: public QDialog
00041 {
00042     Q_OBJECT
00043 
00044 public:
00045     // If s is not empty, navigate to a given setting on opening
00046     ConfigDialog(TraceData* data, QWidget* parent, QString s = QString::null);
00047 
00048     void activate(QString);
00049     QString currentPage();
00050 
00051 public slots:
00052     void accept();
00053     void listItemChanged(QString);
00054     void clearError();
00055 
00056 private:
00057     void addPage(ConfigPage*);
00058 
00059     QLabel* _titleLabel;
00060     QLabel* _errorLabel;
00061     QListWidget *_listWidget;
00062     QStackedWidget *_widgetStack;
00063     QMap<QString,ConfigPage*> _pages;
00064     QString _activeSetting;
00065     QTimer _clearTimer;
00066 };
00067 
00068 #endif // CONFIGDIALOG

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal