Plasma
PositioningRuler Class Reference
#include <positioningruler.h>

Signals | |
| void | rulersMoved (int offset, int minLength, int maxLength) |
Public Member Functions | |
| PositioningRuler (QWidget *parent=0) | |
| ~PositioningRuler () | |
| Qt::Alignment | alignment () const |
| int | availableLength () const |
| Plasma::Location | location () const |
| int | maxLength () const |
| int | minLength () const |
| int | offset () const |
| 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 |
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 33 of file positioningruler.h.
Constructor & Destructor Documentation
| PositioningRuler::PositioningRuler | ( | QWidget * | parent = 0 |
) |
Definition at line 266 of file positioningruler.cpp.
| PositioningRuler::~PositioningRuler | ( | ) |
Definition at line 276 of file positioningruler.cpp.
Member Function Documentation
| Qt::Alignment PositioningRuler::alignment | ( | ) | const |
Definition at line 331 of file positioningruler.cpp.
| int PositioningRuler::availableLength | ( | ) | const |
Definition at line 455 of file positioningruler.cpp.
| bool PositioningRuler::event | ( | QEvent * | ev | ) | [protected] |
Reimplemented from QWidget.
Definition at line 460 of file positioningruler.cpp.
| Plasma::Location PositioningRuler::location | ( | ) | const |
Definition at line 313 of file positioningruler.cpp.
| int PositioningRuler::maxLength | ( | ) | const |
Definition at line 389 of file positioningruler.cpp.
| int PositioningRuler::minLength | ( | ) | const |
Definition at line 437 of file positioningruler.cpp.
| void PositioningRuler::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 634 of file positioningruler.cpp.
| void PositioningRuler::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 602 of file positioningruler.cpp.
| void PositioningRuler::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 626 of file positioningruler.cpp.
| int PositioningRuler::offset | ( | ) | const |
Definition at line 344 of file positioningruler.cpp.
| void PositioningRuler::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 481 of file positioningruler.cpp.
| void PositioningRuler::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 790 of file positioningruler.cpp.
| void PositioningRuler::rulersMoved | ( | int | offset, | |
| int | minLength, | |||
| int | maxLength | |||
| ) | [signal] |
| void PositioningRuler::setAlignment | ( | const Qt::Alignment & | align | ) |
Definition at line 318 of file positioningruler.cpp.
| void PositioningRuler::setAvailableLength | ( | int | newAvailable | ) |
Definition at line 442 of file positioningruler.cpp.
| void PositioningRuler::setLocation | ( | const Plasma::Location & | loc | ) |
Definition at line 299 of file positioningruler.cpp.
| void PositioningRuler::setMaxLength | ( | int | newMax | ) |
Definition at line 349 of file positioningruler.cpp.
| void PositioningRuler::setMinLength | ( | int | newMin | ) |
Definition at line 394 of file positioningruler.cpp.
| void PositioningRuler::setOffset | ( | int | newOffset | ) |
Definition at line 336 of file positioningruler.cpp.
| QSize PositioningRuler::sizeHint | ( | ) | const |
Definition at line 281 of file positioningruler.cpp.
| void PositioningRuler::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
Reimplemented from QWidget.
Definition at line 552 of file positioningruler.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference