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

superkaramba

Signals | Public Member Functions | Public Attributes | List of all members
ImageLabel Class Reference

#include <imagelabel.h>

Inheritance diagram for ImageLabel:
Inheritance graph
[legend]

Signals

void pixmapLoaded ()
 

Public Member Functions

 ImageLabel (Karamba *k, int ix, int iy, int iw, int ih)
 
 ImageLabel (Karamba *k)
 
 ~ImageLabel ()
 
void allowClick (bool)
 
bool animationEnabled () const
 
void attachClickArea (QString leftMouseButton, QString middleMouseButton, QString rightMouseButton)
 
void channelIntensity (float ratio, QString channel, int millisec)
 
bool clickable ()
 
bool drawElement (const QString &element)
 
QString elementDrawn () const
 
bool enableAnimation (bool enable)
 
QString getStringValue () const
 
virtual void hide ()
 
void intensity (float ratio, int millisec)
 
bool mouseEvent (QEvent *e)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
void parseImages (const QString &fn, const QString &fn_roll, int, int, int, int)
 
void removeEffects ()
 
void removeImageTransformations ()
 
void rolloverImage (QGraphicsSceneHoverEvent *e)
 
void rotate (int)
 
void scale (int, int)
 
void setBackground (int b)
 
void setPixel (const QPoint &point, const QColor &pixel)
 
void setTooltip (QString txt)
 
void setValue (const QString &imagePath)
 
void setValue (int)
 
void setValue (QPixmap &)
 
virtual void show ()
 
void smoothScale (int, int)
 
void toAlpha (const QColor &alphaColor, int alpha, int millisec)
 
void toGray (int millisec)
 
- 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 int getValue () const
 
virtual int getWidth () const
 
virtual int getX () const
 
virtual int getY () const
 
bool isEnabled () const
 
virtual void setColor (QColor color)
 
void setEnabled (bool enable)
 
virtual void setHeight (int)
 
virtual void setMax (int max)
 
virtual void setMin (int min)
 
virtual void setSize (int x, int y, int width, int height)
 
virtual void setWidth (int)
 
virtual void setX (int)
 
virtual void setY (int)
 

Public Attributes

int background
 

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 108 of file meters/imagelabel.h.

Constructor & Destructor Documentation

ImageLabel::ImageLabel ( Karamba *  k,
int  ix,
int  iy,
int  iw,
int  ih 
)

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

ImageLabel::ImageLabel ( Karamba *  k)

Definition at line 158 of file meters/imagelabel.cpp.

ImageLabel::~ImageLabel ( )

Definition at line 165 of file meters/imagelabel.cpp.

Member Function Documentation

void ImageLabel::allowClick ( bool  enable)

Definition at line 424 of file meters/imagelabel.cpp.

bool ImageLabel::animationEnabled ( ) const

Definition at line 666 of file meters/imagelabel.cpp.

void ImageLabel::attachClickArea ( QString  leftMouseButton,
QString  middleMouseButton,
QString  rightMouseButton 
)

Definition at line 618 of file meters/imagelabel.cpp.

void ImageLabel::channelIntensity ( float  ratio,
QString  channel,
int  millisec 
)

Definition at line 579 of file meters/imagelabel.cpp.

bool ImageLabel::clickable ( )

Definition at line 429 of file meters/imagelabel.cpp.

bool ImageLabel::drawElement ( const QString &  element)

Definition at line 671 of file meters/imagelabel.cpp.

QString ImageLabel::elementDrawn ( ) const

Definition at line 692 of file meters/imagelabel.cpp.

bool ImageLabel::enableAnimation ( bool  enable)

Definition at line 651 of file meters/imagelabel.cpp.

QString ImageLabel::getStringValue ( ) const
inlinevirtual

Reimplemented from Meter.

Definition at line 121 of file meters/imagelabel.h.

void ImageLabel::hide ( )
virtual

Reimplemented from Meter.

Definition at line 187 of file meters/imagelabel.cpp.

void ImageLabel::intensity ( float  ratio,
int  millisec 
)

Definition at line 568 of file meters/imagelabel.cpp.

bool ImageLabel::mouseEvent ( QEvent *  e)

Definition at line 396 of file meters/imagelabel.cpp.

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

Implements Meter.

Definition at line 375 of file meters/imagelabel.cpp.

void ImageLabel::parseImages ( const QString &  fn,
const QString &  fn_roll,
int  _xoff,
int  _yoff,
int  _xon,
int  _yon 
)

Definition at line 434 of file meters/imagelabel.cpp.

void ImageLabel::pixmapLoaded ( )
signal
void ImageLabel::removeEffects ( )

Definition at line 559 of file meters/imagelabel.cpp.

void ImageLabel::removeImageTransformations ( )

Definition at line 231 of file meters/imagelabel.cpp.

void ImageLabel::rolloverImage ( QGraphicsSceneHoverEvent *  e)

Definition at line 519 of file meters/imagelabel.cpp.

void ImageLabel::rotate ( int  deg)

Definition at line 193 of file meters/imagelabel.cpp.

void ImageLabel::scale ( int  w,
int  h 
)

Definition at line 202 of file meters/imagelabel.cpp.

void ImageLabel::setBackground ( int  b)

Definition at line 514 of file meters/imagelabel.cpp.

void ImageLabel::setPixel ( const QPoint &  point,
const QColor &  pixel 
)

Definition at line 630 of file meters/imagelabel.cpp.

void ImageLabel::setTooltip ( QString  txt)

Definition at line 553 of file meters/imagelabel.cpp.

void ImageLabel::setValue ( const QString &  imagePath)
virtual

Reimplemented from Meter.

Definition at line 299 of file meters/imagelabel.cpp.

void ImageLabel::setValue ( int  v)
virtual

Reimplemented from Meter.

Definition at line 176 of file meters/imagelabel.cpp.

void ImageLabel::setValue ( QPixmap &  pix)

set the internal pixmap of this image to the given QPixmap pix

Definition at line 359 of file meters/imagelabel.cpp.

void ImageLabel::show ( )
virtual

Reimplemented from Meter.

Definition at line 181 of file meters/imagelabel.cpp.

void ImageLabel::smoothScale ( int  w,
int  h 
)

Definition at line 212 of file meters/imagelabel.cpp.

void ImageLabel::toAlpha ( const QColor &  alphaColor,
int  alpha,
int  millisec 
)

Definition at line 601 of file meters/imagelabel.cpp.

void ImageLabel::toGray ( int  millisec)

Definition at line 590 of file meters/imagelabel.cpp.

Member Data Documentation

int ImageLabel::background

Definition at line 139 of file meters/imagelabel.h.


The documentation for this class was generated from the following files:
  • meters/imagelabel.h
  • meters/imagelabel.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