|
| KplView (double f=1, QWidget *parent=0) |
| Constructor. More...
|
|
virtual | ~KplView () |
| Destructor. More...
|
|
void | setZoomFactor (double f) |
| Sets zoom factor. More...
|
|
virtual QSize | sizeHint () const |
| Calculates recommended size of the widget. More...
|
|
double | zoomFactor () const |
| Returns zoom factor. More...
|
|
| QGraphicsView (QWidget *parent) |
|
| QGraphicsView (QGraphicsScene *scene, QWidget *parent) |
|
QPainter::RenderHints | renderHints () const |
|
void | setRenderHint (QPainter::RenderHint hint, bool enabled) |
|
void | setRenderHints (QPainter::RenderHints hints) |
|
Qt::Alignment | alignment () const |
|
void | setAlignment (Qt::Alignment alignment) |
|
ViewportAnchor | transformationAnchor () const |
|
void | setTransformationAnchor (ViewportAnchor anchor) |
|
ViewportAnchor | resizeAnchor () const |
|
void | setResizeAnchor (ViewportAnchor anchor) |
|
ViewportUpdateMode | viewportUpdateMode () const |
|
void | setViewportUpdateMode (ViewportUpdateMode mode) |
|
OptimizationFlags | optimizationFlags () const |
|
void | setOptimizationFlag (OptimizationFlag flag, bool enabled) |
|
void | setOptimizationFlags (OptimizationFlags flags) |
|
DragMode | dragMode () const |
|
void | setDragMode (DragMode mode) |
|
Qt::ItemSelectionMode | rubberBandSelectionMode () const |
|
void | setRubberBandSelectionMode (Qt::ItemSelectionMode mode) |
|
QRect | rubberBandRect () const |
|
CacheMode | cacheMode () const |
|
void | setCacheMode (CacheMode mode) |
|
void | resetCachedContent () |
|
bool | isInteractive () const |
|
void | setInteractive (bool allowed) |
|
QGraphicsScene * | scene () const |
|
void | setScene (QGraphicsScene *scene) |
|
QRectF | sceneRect () const |
|
void | setSceneRect (const QRectF &rect) |
|
void | setSceneRect (qreal x, qreal y, qreal w, qreal h) |
|
QMatrix | matrix () const |
|
void | setMatrix (const QMatrix &matrix, bool combine) |
|
void | resetMatrix () |
|
QTransform | transform () const |
|
QTransform | viewportTransform () const |
|
bool | isTransformed () const |
|
void | setTransform (const QTransform &matrix, bool combine) |
|
void | resetTransform () |
|
void | rotate (qreal angle) |
|
void | scale (qreal sx, qreal sy) |
|
void | shear (qreal sh, qreal sv) |
|
void | translate (qreal dx, qreal dy) |
|
void | centerOn (const QPointF &pos) |
|
void | centerOn (qreal x, qreal y) |
|
void | centerOn (const QGraphicsItem *item) |
|
void | ensureVisible (const QRectF &rect, int xmargin, int ymargin) |
|
void | ensureVisible (qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin) |
|
void | ensureVisible (const QGraphicsItem *item, int xmargin, int ymargin) |
|
void | fitInView (const QRectF &rect, Qt::AspectRatioMode aspectRatioMode) |
|
void | fitInView (qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode) |
|
void | fitInView (const QGraphicsItem *item, Qt::AspectRatioMode aspectRatioMode) |
|
void | render (QPainter *painter, const QRectF &target, const QRect &source, Qt::AspectRatioMode aspectRatioMode) |
|
QList< QGraphicsItem * > | items () const |
|
QList< QGraphicsItem * > | items (const QPoint &pos) const |
|
QList< QGraphicsItem * > | items (int x, int y) const |
|
QList< QGraphicsItem * > | items (const QRect &rect, Qt::ItemSelectionMode mode) const |
|
QList< QGraphicsItem * > | items (int x, int y, int w, int h, Qt::ItemSelectionMode mode) const |
|
QList< QGraphicsItem * > | items (const QPolygon &polygon, Qt::ItemSelectionMode mode) const |
|
QList< QGraphicsItem * > | items (const QPainterPath &path, Qt::ItemSelectionMode mode) const |
|
QGraphicsItem * | itemAt (const QPoint &pos) const |
|
QGraphicsItem * | itemAt (int x, int y) const |
|
QPointF | mapToScene (const QPoint &point) const |
|
QPolygonF | mapToScene (const QRect &rect) const |
|
QPolygonF | mapToScene (const QPolygon &polygon) const |
|
QPainterPath | mapToScene (const QPainterPath &path) const |
|
QPoint | mapFromScene (const QPointF &point) const |
|
QPolygon | mapFromScene (const QRectF &rect) const |
|
QPolygon | mapFromScene (const QPolygonF &polygon) const |
|
QPainterPath | mapFromScene (const QPainterPath &path) const |
|
QPointF | mapToScene (int x, int y) const |
|
QPolygonF | mapToScene (int x, int y, int w, int h) const |
|
QPoint | mapFromScene (qreal x, qreal y) const |
|
QPolygon | mapFromScene (qreal x, qreal y, qreal w, qreal h) const |
|
virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const |
|
QBrush | backgroundBrush () const |
|
void | setBackgroundBrush (const QBrush &brush) |
|
QBrush | foregroundBrush () const |
|
void | setForegroundBrush (const QBrush &brush) |
|
void | updateScene (const QList< QRectF > &rects) |
|
void | invalidateScene (const QRectF &rect, QGraphicsScene::SceneLayers layers) |
|
void | updateSceneRect (const QRectF &rect) |
|
void | rubberBandChanged (QRect rubberBandRect, QPointF fromScenePoint, QPointF toScenePoint) |
|
| QAbstractScrollArea (QWidget *parent) |
|
Qt::ScrollBarPolicy | verticalScrollBarPolicy () const |
|
void | setVerticalScrollBarPolicy (Qt::ScrollBarPolicy) |
|
QScrollBar * | verticalScrollBar () const |
|
void | setVerticalScrollBar (QScrollBar *scrollBar) |
|
Qt::ScrollBarPolicy | horizontalScrollBarPolicy () const |
|
void | setHorizontalScrollBarPolicy (Qt::ScrollBarPolicy) |
|
QScrollBar * | horizontalScrollBar () const |
|
void | setHorizontalScrollBar (QScrollBar *scrollBar) |
|
QWidget * | cornerWidget () const |
|
void | setCornerWidget (QWidget *widget) |
|
void | addScrollBarWidget (QWidget *widget, Qt::Alignment alignment) |
|
QWidgetList | scrollBarWidgets (Qt::Alignment alignment) |
|
QWidget * | viewport () const |
|
void | setViewport (QWidget *widget) |
|
QSize | maximumViewportSize () const |
|
virtual QSize | minimumSizeHint () const |
|
SizeAdjustPolicy | sizeAdjustPolicy () const |
|
void | setSizeAdjustPolicy (SizeAdjustPolicy policy) |
|
| QFrame (QWidget *parent, Qt::WindowFlags f) |
|
int | frameStyle () const |
|
void | setFrameStyle (int style) |
|
int | frameWidth () const |
|
Shape | frameShape () const |
|
void | setFrameShape (Shape) |
|
Shadow | frameShadow () const |
|
void | setFrameShadow (Shadow) |
|
int | lineWidth () const |
|
void | setLineWidth (int) |
|
int | midLineWidth () const |
|
void | setMidLineWidth (int) |
|
QRect | frameRect () const |
|
void | setFrameRect (const QRect &) |
|
| QWidget (QWidget *parent, Qt::WindowFlags f) |
|
WId | winId () const |
|
WId | effectiveWinId () const |
|
QStyle * | style () const |
|
void | setStyle (QStyle *style) |
|
bool | isTopLevel () const |
|
bool | isWindow () const |
|
bool | isModal () const |
|
Qt::WindowModality | windowModality () const |
|
void | setWindowModality (Qt::WindowModality windowModality) |
|
bool | isEnabled () const |
|
bool | isEnabledTo (const QWidget *ancestor) const |
|
bool | isEnabledToTLW () const |
|
void | setEnabled (bool) |
|
void | setDisabled (bool disable) |
|
void | setWindowModified (bool) |
|
QRect | frameGeometry () const |
|
const QRect & | geometry () const |
|
QRect | normalGeometry () const |
|
int | x () const |
|
int | y () const |
|
QPoint | pos () const |
|
QSize | frameSize () const |
|
QSize | size () const |
|
int | width () const |
|
int | height () const |
|
QRect | rect () const |
|
QRect | childrenRect () const |
|
QRegion | childrenRegion () const |
|
QSize | minimumSize () const |
|
QSize | maximumSize () const |
|
int | minimumWidth () const |
|
int | minimumHeight () const |
|
int | maximumWidth () const |
|
int | maximumHeight () const |
|
void | setMinimumSize (const QSize &) |
|
void | setMinimumSize (int minw, int minh) |
|
void | setMaximumSize (const QSize &) |
|
void | setMaximumSize (int maxw, int maxh) |
|
void | setMinimumWidth (int minw) |
|
void | setMinimumHeight (int minh) |
|
void | setMaximumWidth (int maxw) |
|
void | setMaximumHeight (int maxh) |
|
void | setupUi (QWidget *widget) |
|
QSize | sizeIncrement () const |
|
void | setSizeIncrement (const QSize &) |
|
void | setSizeIncrement (int w, int h) |
|
QSize | baseSize () const |
|
void | setBaseSize (const QSize &) |
|
void | setBaseSize (int basew, int baseh) |
|
void | setFixedSize (const QSize &s) |
|
void | setFixedSize (int w, int h) |
|
void | setFixedWidth (int w) |
|
void | setFixedHeight (int h) |
|
QPoint | mapToGlobal (const QPoint &pos) const |
|
QPoint | mapFromGlobal (const QPoint &pos) const |
|
QPoint | mapToParent (const QPoint &pos) const |
|
QPoint | mapFromParent (const QPoint &pos) const |
|
QPoint | mapTo (const QWidget *parent, const QPoint &pos) const |
|
QPoint | mapFrom (const QWidget *parent, const QPoint &pos) const |
|
QWidget * | window () const |
|
QWidget * | nativeParentWidget () const |
|
QWidget * | topLevelWidget () const |
|
const QPalette & | palette () const |
|
void | setPalette (const QPalette &) |
|
void | setBackgroundRole (QPalette::ColorRole role) |
|
QPalette::ColorRole | backgroundRole () const |
|
void | setForegroundRole (QPalette::ColorRole role) |
|
QPalette::ColorRole | foregroundRole () const |
|
const QFont & | font () const |
|
void | setFont (const QFont &) |
|
QFontMetrics | fontMetrics () const |
|
QFontInfo | fontInfo () const |
|
QCursor | cursor () const |
|
void | setCursor (const QCursor &) |
|
void | unsetCursor () |
|
void | setMouseTracking (bool enable) |
|
bool | hasMouseTracking () const |
|
bool | underMouse () const |
|
void | setMask (const QBitmap &bitmap) |
|
void | setMask (const QRegion ®ion) |
|
QRegion | mask () const |
|
void | clearMask () |
|
void | render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags) |
|
void | render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, RenderFlags renderFlags) |
|
QPixmap | grab (const QRect &rectangle) |
|
QGraphicsEffect * | graphicsEffect () const |
|
void | setGraphicsEffect (QGraphicsEffect *effect) |
|
void | grabGesture (Qt::GestureType gesture, Qt::GestureFlags flags) |
|
void | ungrabGesture (Qt::GestureType gesture) |
|
void | setWindowTitle (const QString &) |
|
void | setStyleSheet (const QString &styleSheet) |
|
QString | styleSheet () const |
|
QString | windowTitle () const |
|
void | setWindowIcon (const QIcon &icon) |
|
QIcon | windowIcon () const |
|
void | setWindowIconText (const QString &) |
|
QString | windowIconText () const |
|
void | setWindowRole (const QString &role) |
|
QString | windowRole () const |
|
void | setWindowFilePath (const QString &filePath) |
|
QString | windowFilePath () const |
|
void | setWindowOpacity (qreal level) |
|
qreal | windowOpacity () const |
|
bool | isWindowModified () const |
|
void | setToolTip (const QString &) |
|
QString | toolTip () const |
|
void | setToolTipDuration (int msec) |
|
int | toolTipDuration () const |
|
void | setStatusTip (const QString &) |
|
QString | statusTip () const |
|
void | setWhatsThis (const QString &) |
|
QString | whatsThis () const |
|
QString | accessibleName () const |
|
void | setAccessibleName (const QString &name) |
|
QString | accessibleDescription () const |
|
void | setAccessibleDescription (const QString &description) |
|
void | setLayoutDirection (Qt::LayoutDirection direction) |
|
Qt::LayoutDirection | layoutDirection () const |
|
void | unsetLayoutDirection () |
|
void | setLocale (const QLocale &locale) |
|
QLocale | locale () const |
|
void | unsetLocale () |
|
void | setFocus () |
|
bool | isActiveWindow () const |
|
void | activateWindow () |
|
void | clearFocus () |
|
void | setFocus (Qt::FocusReason reason) |
|
Qt::FocusPolicy | focusPolicy () const |
|
void | setFocusPolicy (Qt::FocusPolicy policy) |
|
bool | hasFocus () const |
|
void | setFocusProxy (QWidget *w) |
|
QWidget * | focusProxy () const |
|
void | grabMouse () |
|
void | grabMouse (const QCursor &cursor) |
|
void | releaseMouse () |
|
void | grabKeyboard () |
|
void | releaseKeyboard () |
|
int | grabShortcut (const QKeySequence &key, Qt::ShortcutContext context) |
|
void | releaseShortcut (int id) |
|
void | setShortcutEnabled (int id, bool enable) |
|
void | setShortcutAutoRepeat (int id, bool enable) |
|
bool | updatesEnabled () const |
|
void | setUpdatesEnabled (bool enable) |
|
QGraphicsProxyWidget * | graphicsProxyWidget () const |
|
void | update () |
|
void | repaint () |
|
void | update (int x, int y, int w, int h) |
|
void | update (const QRect &rect) |
|
void | update (const QRegion &rgn) |
|
void | repaint (int x, int y, int w, int h) |
|
void | repaint (const QRect &rect) |
|
void | repaint (const QRegion &rgn) |
|
virtual void | setVisible (bool visible) |
|
void | setHidden (bool hidden) |
|
void | show () |
|
void | hide () |
|
void | showMinimized () |
|
void | showMaximized () |
|
void | showFullScreen () |
|
void | showNormal () |
|
bool | close () |
|
void | raise () |
|
void | lower () |
|
void | stackUnder (QWidget *w) |
|
void | move (int x, int y) |
|
void | move (const QPoint &) |
|
void | resize (int w, int h) |
|
void | resize (const QSize &) |
|
void | setGeometry (int x, int y, int w, int h) |
|
void | setGeometry (const QRect &) |
|
QByteArray | saveGeometry () const |
|
bool | restoreGeometry (const QByteArray &geometry) |
|
void | adjustSize () |
|
bool | isVisible () const |
|
bool | isVisibleTo (const QWidget *ancestor) const |
|
bool | isHidden () const |
|
bool | isMinimized () const |
|
bool | isMaximized () const |
|
bool | isFullScreen () const |
|
Qt::WindowStates | windowState () const |
|
void | setWindowState (Qt::WindowStates windowState) |
|
QSizePolicy | sizePolicy () const |
|
void | setSizePolicy (QSizePolicy) |
|
void | setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical) |
|
virtual int | heightForWidth (int w) const |
|
virtual bool | hasHeightForWidth () const |
|
QRegion | visibleRegion () const |
|
void | setContentsMargins (int left, int top, int right, int bottom) |
|
void | setContentsMargins (const QMargins &margins) |
|
void | getContentsMargins (int *left, int *top, int *right, int *bottom) const |
|
QMargins | contentsMargins () const |
|
QRect | contentsRect () const |
|
QLayout * | layout () const |
|
void | setLayout (QLayout *layout) |
|
void | updateGeometry () |
|
void | setParent (QWidget *parent) |
|
void | setParent (QWidget *parent, Qt::WindowFlags f) |
|
void | scroll (int dx, int dy) |
|
void | scroll (int dx, int dy, const QRect &r) |
|
QWidget * | focusWidget () const |
|
QWidget * | nextInFocusChain () const |
|
QWidget * | previousInFocusChain () const |
|
bool | acceptDrops () const |
|
void | setAcceptDrops (bool on) |
|
void | addAction (QAction *action) |
|
void | addActions (QList< QAction * > actions) |
|
void | insertAction (QAction *before, QAction *action) |
|
void | insertActions (QAction *before, QList< QAction * > actions) |
|
void | removeAction (QAction *action) |
|
QList< QAction * > | actions () const |
|
QWidget * | parentWidget () const |
|
void | setWindowFlags (Qt::WindowFlags type) |
|
Qt::WindowFlags | windowFlags () const |
|
void | overrideWindowFlags (Qt::WindowFlags flags) |
|
Qt::WindowType | windowType () const |
|
QWidget * | childAt (int x, int y) const |
|
QWidget * | childAt (const QPoint &p) const |
|
void | setAttribute (Qt::WidgetAttribute attribute, bool on) |
|
bool | testAttribute (Qt::WidgetAttribute attribute) const |
|
virtual QPaintEngine * | paintEngine () const |
|
void | ensurePolished () const |
|
bool | isAncestorOf (const QWidget *child) const |
|
bool | hasEditFocus () const |
|
void | setEditFocus (bool enable) |
|
bool | autoFillBackground () const |
|
void | setAutoFillBackground (bool enabled) |
|
QBackingStore * | backingStore () const |
|
QWindow * | windowHandle () const |
|
void | windowTitleChanged (const QString &title) |
|
void | windowIconChanged (const QIcon &icon) |
|
void | windowIconTextChanged (const QString &iconText) |
|
Qt::InputMethodHints | inputMethodHints () const |
|
void | setInputMethodHints (Qt::InputMethodHints hints) |
|
| QObject (QObject *parent) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual const QMetaObject * | metaObject () const |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegExp ®Exp, Qt::FindChildOptions options) const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const |
|
bool | disconnect (const QObject *receiver, const char *method) const |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | destroyed (QObject *obj) |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const |
|
bool | inherits (const char *className) const |
|
void | deleteLater () |
|
bool | paintingActive () const |
|
int | width () const |
|
int | height () const |
|
int | widthMM () const |
|
int | heightMM () const |
|
int | logicalDpiX () const |
|
int | logicalDpiY () const |
|
int | physicalDpiX () const |
|
int | physicalDpiY () const |
|
int | devicePixelRatio () const |
|
qreal | devicePixelRatioF () const |
|
int | colorCount () const |
|
int | depth () const |
|
|
virtual void | dragEnterEvent (QDragEnterEvent *e) |
|
virtual void | dragMoveEvent (QDragMoveEvent *e) |
|
virtual void | dropEvent (QDropEvent *e) |
| Emits the signal urlsDropped, transferring a list of URLs. More...
|
|
virtual void | keyPressEvent (QKeyEvent *e) |
| Implements scrolling of the window by key sequences. More...
|
|
virtual void | leaveEvent (QEvent *e) |
| Emits the signal mouseLeaved. More...
|
|
virtual void | mouseMoveEvent (QMouseEvent *e) |
| Implements selection of a rectangular region using the mouse with its right button pressed. More...
|
|
virtual void | mousePressEvent (QMouseEvent *e) |
| Implements initiation of selection of a rectangular region using the mouse with its right button pressed. More...
|
|
virtual void | mouseReleaseEvent (QMouseEvent *e) |
| Implements finishing of selection of a rectangular region using the mouse with its right button pressed. More...
|
|
virtual void | setupViewport (QWidget *widget) |
|
virtual bool | event (QEvent *event) |
|
virtual bool | viewportEvent (QEvent *event) |
|
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
|
virtual void | focusInEvent (QFocusEvent *event) |
|
virtual bool | focusNextPrevChild (bool next) |
|
virtual void | focusOutEvent (QFocusEvent *event) |
|
virtual void | keyReleaseEvent (QKeyEvent *event) |
|
virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
|
virtual void | wheelEvent (QWheelEvent *event) |
|
virtual void | paintEvent (QPaintEvent *event) |
|
virtual void | resizeEvent (QResizeEvent *event) |
|
virtual void | scrollContentsBy (int dx, int dy) |
|
virtual void | showEvent (QShowEvent *event) |
|
virtual void | inputMethodEvent (QInputMethodEvent *event) |
|
virtual void | drawBackground (QPainter *painter, const QRectF &rect) |
|
virtual void | drawForeground (QPainter *painter, const QRectF &rect) |
|
virtual void | drawItems (QPainter *painter, int numItems, QGraphicsItem *[] items, const QStyleOptionGraphicsItem[] options) |
|
void | setViewportMargins (int left, int top, int right, int bottom) |
|
void | setViewportMargins (const QMargins &margins) |
|
QMargins | viewportMargins () const |
|
virtual QSize | viewportSizeHint () const |
|
virtual void | changeEvent (QEvent *ev) |
|
void | initStyleOption (QStyleOptionFrame *option) const |
|
virtual void | enterEvent (QEvent *event) |
|
virtual void | moveEvent (QMoveEvent *event) |
|
virtual void | closeEvent (QCloseEvent *event) |
|
virtual void | tabletEvent (QTabletEvent *event) |
|
virtual void | actionEvent (QActionEvent *event) |
|
virtual void | hideEvent (QHideEvent *event) |
|
virtual bool | nativeEvent (const QByteArray &eventType, void *message, long *result) |
|
virtual int | metric (PaintDeviceMetric m) const |
|
virtual void | initPainter (QPainter *painter) const |
|
void | updateMicroFocus () |
|
void | create (WId window, bool initializeWindow, bool destroyOldWindow) |
|
void | destroy (bool destroyWindow, bool destroySubWindows) |
|
bool | focusNextChild () |
|
bool | focusPreviousChild () |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
bool | isSignalConnected (const QMetaMethod &signal) const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|