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

superkaramba

Public Slots | Public Member Functions | List of all members
Bar Class Reference

#include <bar.h>

Inheritance diagram for Bar:
Inheritance graph
[legend]

Public Slots

QString getImage () const
 
int getValue () const
 
int getVertical () const
 
void recalculateValue ()
 
bool setImage (const QString &imagePath)
 
void setValue (const QString &)
 
void setValue (int)
 
void setVertical (bool)
 
void valueChanged ()
 

Public Member Functions

 Bar (Karamba *k, int x, int y, int width, int height)
 
 ~Bar ()
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
virtual void setMax (int m)
 
virtual void setMin (int m)
 
- Public Member Functions inherited from Meter
 Meter (Karamba *k, int ix, int iy, int iw, int ih)
 
 Meter (Karamba *k)
 
virtual ~Meter ()
 
virtual QRectF boundingRect () const
 
virtual QColor getColor () const
 
virtual int getHeight () const
 
virtual int getMax () const
 
virtual int getMin () const
 
virtual QString getStringValue () const
 
virtual int getValue () const
 
virtual int getWidth () const
 
virtual int getX () const
 
virtual int getY () const
 
virtual void hide ()
 
bool isEnabled () const
 
virtual void setColor (QColor color)
 
void setEnabled (bool enable)
 
virtual void setHeight (int)
 
virtual void setSize (int x, int y, int width, int height)
 
virtual void setValue (int)
 
virtual void setValue (const QString &)
 
virtual void setWidth (int)
 
virtual void setX (int)
 
virtual void setY (int)
 
virtual void show ()
 

Additional Inherited Members

- Protected Attributes inherited from Meter
QRectF m_boundingBox
 
bool m_clickable
 
QColor m_color
 
bool m_hidden
 
Karamba * m_karamba
 
int m_maxValue
 
int m_minValue
 

Detailed Description

Definition at line 18 of file meters/bar.h.

Constructor & Destructor Documentation

Bar::Bar ( Karamba *  k,
int  x,
int  y,
int  width,
int  height 
)

Definition at line 19 of file meters/bar.cpp.

Bar::~Bar ( )

Definition at line 33 of file meters/bar.cpp.

Member Function Documentation

QString Bar::getImage ( ) const
slot

Definition at line 63 of file meters/bar.cpp.

int Bar::getValue ( ) const
slot

Definition at line 87 of file meters/bar.cpp.

int Bar::getVertical ( ) const
slot

Definition at line 144 of file meters/bar.cpp.

void Bar::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
virtual

Implements Meter.

Definition at line 154 of file meters/bar.cpp.

void Bar::recalculateValue ( )
slot

Definition at line 149 of file meters/bar.cpp.

bool Bar::setImage ( const QString &  imagePath)
slot

Definition at line 38 of file meters/bar.cpp.

void Bar::setMax ( int  m)
virtual

Reimplemented from Meter.

Definition at line 127 of file meters/bar.cpp.

void Bar::setMin ( int  m)
virtual

Reimplemented from Meter.

Definition at line 133 of file meters/bar.cpp.

void Bar::setValue ( const QString &  v)
slot

Definition at line 82 of file meters/bar.cpp.

void Bar::setValue ( int  v)
slot

Definition at line 68 of file meters/bar.cpp.

void Bar::setVertical ( bool  b)
slot

Definition at line 139 of file meters/bar.cpp.

void Bar::valueChanged ( )
slot

Definition at line 92 of file meters/bar.cpp.


The documentation for this class was generated from the following files:
  • meters/bar.h
  • meters/bar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 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