superkaramba
#include <input.h>

Public Member Functions | |
Input (Karamba *k, int ix, int iy, int iw, int ih) | |
Input () | |
~Input () | |
void | clearInputFocus () |
void | clearSelection () |
QColor | getBGColor () const |
QColor | getColor () const |
QString | getFont () const |
QColor | getFontColor () const |
int | getFontSize () const |
QColor | getSelectedTextColor () const |
QTextLayout::FormatRange | getSelection () const |
QColor | getSelectionColor () const |
QString | getStringValue () const |
int | getTextWidth () const |
void | hide () |
void | keyPress (QKeyEvent *event) |
void | mouseEvent (QEvent *e) |
void | mouseEventMove (QGraphicsSceneHoverEvent *e) |
void | mouseEventRelease (QGraphicsSceneMouseEvent *e) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
void | setBGColor (QColor c) |
void | setColor (QColor c) |
void | setFont (const QString &f) |
void | setFontColor (QColor fontColor) |
void | setFontSize (int size) |
void | setHeight (int ih) |
void | setInputFocus () |
void | setSelectedTextColor (QColor selectedTextColor) |
void | setSelection (int start, int length) |
void | setSelectionColor (QColor selectionColor) |
void | setSize (int ix, int iy, int iw, int ih) |
void | setTextProps (TextField *) |
void | setValue (const QString &text) |
void | setWidth (int iw) |
void | setX (int ix) |
void | setY (int iy) |
void | show () |
![]() | |
Meter (Karamba *k, int ix, int iy, int iw, int ih) | |
Meter (Karamba *k) | |
virtual | ~Meter () |
virtual QRectF | boundingRect () 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 |
void | setEnabled (bool enable) |
virtual void | setMax (int max) |
virtual void | setMin (int min) |
virtual void | setValue (int) |
Protected Member Functions | |
void | focusOutEvent (QFocusEvent *event) |
Additional Inherited Members | |
![]() | |
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 32 of file meters/input.h.
Constructor & Destructor Documentation
Input::Input | ( | Karamba * | k, |
int | ix, | ||
int | iy, | ||
int | iw, | ||
int | ih | ||
) |
Definition at line 32 of file meters/input.cpp.
Input::Input | ( | ) |
Input::~Input | ( | ) |
Definition at line 50 of file meters/input.cpp.
Member Function Documentation
void Input::clearInputFocus | ( | ) |
Definition at line 472 of file meters/input.cpp.
void Input::clearSelection | ( | ) |
Definition at line 516 of file meters/input.cpp.
|
protected |
Definition at line 157 of file meters/input.cpp.
QColor Input::getBGColor | ( | ) | const |
Definition at line 353 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 358 of file meters/input.cpp.
QString Input::getFont | ( | ) | const |
Definition at line 405 of file meters/input.cpp.
QColor Input::getFontColor | ( | ) | const |
Definition at line 416 of file meters/input.cpp.
int Input::getFontSize | ( | ) | const |
Definition at line 449 of file meters/input.cpp.
QColor Input::getSelectedTextColor | ( | ) | const |
Definition at line 437 of file meters/input.cpp.
QTextLayout::FormatRange Input::getSelection | ( | ) | const |
Definition at line 521 of file meters/input.cpp.
QColor Input::getSelectionColor | ( | ) | const |
Definition at line 427 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 336 of file meters/input.cpp.
int Input::getTextWidth | ( | ) | const |
Definition at line 491 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 363 of file meters/input.cpp.
void Input::keyPress | ( | QKeyEvent * | event | ) |
Definition at line 171 of file meters/input.cpp.
void Input::mouseEvent | ( | QEvent * | e | ) |
Definition at line 100 of file meters/input.cpp.
void Input::mouseEventMove | ( | QGraphicsSceneHoverEvent * | e | ) |
Definition at line 151 of file meters/input.cpp.
void Input::mouseEventRelease | ( | QGraphicsSceneMouseEvent * | e | ) |
Definition at line 120 of file meters/input.cpp.
|
virtual |
Implements Meter.
Definition at line 57 of file meters/input.cpp.
void Input::setBGColor | ( | QColor | c | ) |
Definition at line 341 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 347 of file meters/input.cpp.
void Input::setFont | ( | const QString & | f | ) |
Definition at line 398 of file meters/input.cpp.
void Input::setFontColor | ( | QColor | fontColor | ) |
Definition at line 410 of file meters/input.cpp.
void Input::setFontSize | ( | int | size | ) |
Definition at line 442 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 393 of file meters/input.cpp.
void Input::setInputFocus | ( | ) |
Definition at line 466 of file meters/input.cpp.
void Input::setSelectedTextColor | ( | QColor | selectedTextColor | ) |
Definition at line 432 of file meters/input.cpp.
void Input::setSelection | ( | int | start, |
int | length | ||
) |
Definition at line 500 of file meters/input.cpp.
void Input::setSelectionColor | ( | QColor | selectionColor | ) |
Definition at line 421 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 373 of file meters/input.cpp.
void Input::setTextProps | ( | TextField * | t | ) |
Definition at line 454 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 329 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 388 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 378 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 383 of file meters/input.cpp.
|
virtual |
Reimplemented from Meter.
Definition at line 368 of file meters/input.cpp.
The documentation for this class was generated from the following files:
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.