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

kcachegrind

  • sources
  • kde-4.14
  • kdesdk
  • kcachegrind
  • qcachegrind
colorsettings.h
Go to the documentation of this file.
1 /* This file is part of KCachegrind.
2  Copyright (C) 2009 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
3 
4  KCachegrind is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation, version 2.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; see the file COPYING. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 /*
20  * Color settings config page
21  */
22 
23 #ifndef COLORSETTINGS_H
24 #define COLORSETTINGS_H
25 
26 #include "configpage.h"
27 #include "context.h"
28 #include "ui_colorsettings.h"
29 
30 class TraceData;
31 class QTreeWidgetItem;
32 
33 class ColorSettings: public ConfigPage
34 {
35  Q_OBJECT
36 
37 public:
38  ColorSettings(TraceData* data, QWidget* parent);
39  virtual ~ColorSettings();
40 
41  bool check(QString&, QString&);
42  void accept();
43  void activate(QString s);
44 
45 public slots:
46  void resetClicked();
47  void colorListItemChanged(QTreeWidgetItem*, QTreeWidgetItem*);
48  void colorChanged(const QColor &);
49 
50 private:
51  void update();
52 
53  Ui::ColorSettings ui;
54  QTreeWidgetItem* _current;
55 };
56 
57 
58 #endif // COLORSETTINGS_H
ColorSettings::activate
void activate(QString s)
Definition: colorsettings.cpp:109
QWidget
ColorSettings::colorChanged
void colorChanged(const QColor &)
Definition: colorsettings.cpp:153
context.h
ColorSettings::ColorSettings
ColorSettings(TraceData *data, QWidget *parent)
Definition: colorsettings.cpp:51
ColorSettings::accept
void accept()
Definition: colorsettings.cpp:167
ColorSettings
Definition: colorsettings.h:33
QString
QColor
ColorSettings::resetClicked
void resetClicked()
Definition: colorsettings.cpp:132
ColorSettings::~ColorSettings
virtual ~ColorSettings()
Definition: colorsettings.cpp:106
ConfigPage
Definition: configpage.h:30
QTreeWidgetItem
ColorSettings::check
bool check(QString &, QString &)
Definition: colorsettings.cpp:162
ColorSettings::colorListItemChanged
void colorListItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)
Definition: colorsettings.cpp:146
TraceData
This class holds profiling data of multiple tracefiles generated with cachegrind on one command...
Definition: tracedata.h:1363
configpage.h
QObject::parent
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal