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

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
  • meters
clickmap.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2003 by Ralph M. Churchill <mrchucho@yahoo.com> *
3  * Copyright (C) 2007 Matt Broadstone <mbroadst@gmail.com> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 
11 #ifndef CLICKMAP_H
12 #define CLICKMAP_H
13 
14 #include "textfield.h"
15 #include "meter.h"
16 
17 class ClickMap : public Meter
18 {
19  Q_OBJECT
20 public:
21  ClickMap(Karamba* k, int x, int y, int w, int h);
22  ~ClickMap();
23 
24  void mousePressEvent(QGraphicsSceneMouseEvent *event);
25  void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
26  QWidget *widget = 0);
27 
28  void setValue(const QString&);
29  void setValue(int);
30  void setTextProps(TextField *);
31 
32 private:
33  TextField text;
34 
35  QStringList links;
36  QStringList displays;
37 
38 };
39 
40 #endif
meter.h
QWidget
ClickMap::setTextProps
void setTextProps(TextField *)
Definition: clickmap.cpp:40
Karamba
Definition: karamba.h:52
textfield.h
ClickMap::setValue
void setValue(const QString &)
Definition: clickmap.cpp:79
ClickMap::paint
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: clickmap.cpp:57
ClickMap::~ClickMap
~ClickMap()
Definition: clickmap.cpp:37
ClickMap::mousePressEvent
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: clickmap.cpp:45
Meter
Definition: meters/meter.h:23
ClickMap
Definition: clickmap.h:17
ClickMap::ClickMap
ClickMap(Karamba *k, int x, int y, int w, int h)
Definition: clickmap.cpp:21
TextField
Ralph M.
Definition: textfield.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

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