Plasma
PositioningRuler Class Reference
#include <positioningruler.h>

Signals | |
| void | rulersMoved (int offset, int minLength, int maxLength) |
Public Member Functions | |
| Qt::Alignment | alignment () const |
| int | availableLength () const |
| Plasma::Location | location () const |
| int | maxLength () const |
| int | minLength () const |
| int | offset () const |
| PositioningRuler (QWidget *parent=0) | |
| void | setAlignment (const Qt::Alignment &align) |
| void | setAvailableLength (int newAvailable) |
| void | setLocation (const Plasma::Location &loc) |
| void | setMaxLength (int newMax) |
| void | setMinLength (int newMin) |
| void | setOffset (int newOffset) |
| QSize | sizeHint () const |
| ~PositioningRuler () | |
Protected Member Functions | |
| bool | event (QEvent *ev) |
| void | mouseMoveEvent (QMouseEvent *event) |
| void | mousePressEvent (QMouseEvent *event) |
| void | mouseReleaseEvent (QMouseEvent *event) |
| void | paintEvent (QPaintEvent *event) |
| void | resizeEvent (QResizeEvent *event) |
| void | wheelEvent (QWheelEvent *event) |
Detailed Description
Definition at line 34 of file positioningruler.h.
Constructor & Destructor Documentation
| PositioningRuler::PositioningRuler | ( | QWidget * | parent = 0 |
) |
Definition at line 260 of file positioningruler.cpp.
| PositioningRuler::~PositioningRuler | ( | ) |
Definition at line 270 of file positioningruler.cpp.
Member Function Documentation
| Qt::Alignment PositioningRuler::alignment | ( | ) | const |
Definition at line 325 of file positioningruler.cpp.
| int PositioningRuler::availableLength | ( | ) | const |
Definition at line 449 of file positioningruler.cpp.
| bool PositioningRuler::event | ( | QEvent * | ev | ) | [protected] |
| Plasma::Location PositioningRuler::location | ( | ) | const |
Definition at line 307 of file positioningruler.cpp.
| int PositioningRuler::maxLength | ( | ) | const |
Definition at line 383 of file positioningruler.cpp.
| int PositioningRuler::minLength | ( | ) | const |
Definition at line 431 of file positioningruler.cpp.
| void PositioningRuler::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
| void PositioningRuler::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
| void PositioningRuler::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
| int PositioningRuler::offset | ( | ) | const |
Definition at line 338 of file positioningruler.cpp.
| void PositioningRuler::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
| void PositioningRuler::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
| void PositioningRuler::rulersMoved | ( | int | offset, | |
| int | minLength, | |||
| int | maxLength | |||
| ) | [signal] |
| void PositioningRuler::setAlignment | ( | const Qt::Alignment & | align | ) |
Definition at line 312 of file positioningruler.cpp.
| void PositioningRuler::setAvailableLength | ( | int | newAvailable | ) |
Definition at line 436 of file positioningruler.cpp.
| void PositioningRuler::setLocation | ( | const Plasma::Location & | loc | ) |
Definition at line 293 of file positioningruler.cpp.
| void PositioningRuler::setMaxLength | ( | int | newMax | ) |
Definition at line 343 of file positioningruler.cpp.
| void PositioningRuler::setMinLength | ( | int | newMin | ) |
Definition at line 388 of file positioningruler.cpp.
| void PositioningRuler::setOffset | ( | int | newOffset | ) |
Definition at line 330 of file positioningruler.cpp.
| QSize PositioningRuler::sizeHint | ( | ) | const |
Definition at line 275 of file positioningruler.cpp.
| void PositioningRuler::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference