#include <kexiscrollview.h>
Public Slots | |
| virtual void | refreshContentsSize () |
Signals | |
| void | outerAreaClicked () |
| void | resizingStarted () |
| void | resizingEnded () |
Public Member Functions | |
| KexiScrollView (TQWidget *parent, bool preview) | |
| void | setWidget (TQWidget *w) |
| void | setSnapToGrid (bool enable, int gridSize=10) |
| void | setResizingEnabled (bool enabled) |
| void | setRecordNavigatorVisible (bool visible) |
| void | setOuterAreaIndicatorVisible (bool visible) |
| void | refreshContentsSizeLater (bool horizontal, bool vertical) |
| void | updateNavPanelGeometry () |
| KexiRecordNavigator * | recordNavigator () const |
| bool | preview () const |
Protected Member Functions | |
| virtual void | contentsMousePressEvent (TQMouseEvent *ev) |
| virtual void | contentsMouseReleaseEvent (TQMouseEvent *ev) |
| virtual void | contentsMouseMoveEvent (TQMouseEvent *ev) |
| virtual void | drawContents (TQPainter *p, int clipx, int clipy, int clipw, int cliph) |
| virtual void | leaveEvent (TQEvent *e) |
| virtual void | setHBarGeometry (TQScrollBar &hbar, int x, int y, int w, int h) |
| void | setupPixmapBuffer (TQPixmap &pixmap, const TQString &text, int lines) |
Protected Attributes | |
| bool | m_resizing |
| bool | m_enableResizing |
| TQWidget * | m_widget |
| int | m_gridSize |
| TQFont | m_helpFont |
| TQColor | m_helpColor |
| TQTimer | m_delayedResize |
| TQScrollView::ScrollBarMode | m_vsmode |
| TQScrollView::ScrollBarMode | m_hsmode |
| bool | m_snapToGrid: 1 |
| bool | m_preview: 1 |
| bool | m_smodeSet: 1 |
| bool | m_outerAreaVisible: 1 |
| KexiRecordNavigator * | m_scrollViewNavPanel |
Detailed Description
The scrollview which includes KexiDBForm.
It allows to resize its m_widget, following snapToGrid setting. Its contents is resized so the widget can always be resized.
Definition at line 34 of file kexiscrollview.h.
Constructor & Destructor Documentation
◆ KexiScrollView()
| KexiScrollView::KexiScrollView | ( | TQWidget * | parent, |
| bool | preview | ||
| ) |
- Todo:
- allow to hide navigator
Definition at line 47 of file kexiscrollview.cpp.
◆ ~KexiScrollView()
|
virtual |
Definition at line 87 of file kexiscrollview.cpp.
Member Function Documentation
◆ contentsMouseMoveEvent()
|
protectedvirtual |
Definition at line 236 of file kexiscrollview.cpp.
◆ contentsMousePressEvent()
|
protectedvirtual |
Definition at line 202 of file kexiscrollview.cpp.
◆ contentsMouseReleaseEvent()
|
protectedvirtual |
Definition at line 225 of file kexiscrollview.cpp.
◆ drawContents()
|
protectedvirtual |
Definition at line 338 of file kexiscrollview.cpp.
◆ leaveEvent()
|
protectedvirtual |
Definition at line 381 of file kexiscrollview.cpp.
◆ preview()
|
inline |
Definition at line 56 of file kexiscrollview.h.
◆ recordNavigator()
| KexiRecordNavigator * KexiScrollView::recordNavigator | ( | ) | const |
Definition at line 401 of file kexiscrollview.cpp.
◆ refreshContentsSize
|
virtualslot |
Make sure there is a 300px margin around the form contents to allow resizing.
Definition at line 138 of file kexiscrollview.cpp.
◆ refreshContentsSizeLater()
| void KexiScrollView::refreshContentsSizeLater | ( | bool | horizontal, |
| bool | vertical | ||
| ) |
Definition at line 119 of file kexiscrollview.cpp.
◆ setHBarGeometry()
|
protectedvirtual |
Definition at line 388 of file kexiscrollview.cpp.
◆ setOuterAreaIndicatorVisible()
|
inline |
Definition at line 49 of file kexiscrollview.h.
◆ setRecordNavigatorVisible()
| void KexiScrollView::setRecordNavigatorVisible | ( | bool | visible | ) |
Definition at line 99 of file kexiscrollview.cpp.
◆ setResizingEnabled()
|
inline |
Definition at line 46 of file kexiscrollview.h.
◆ setSnapToGrid()
| void KexiScrollView::setSnapToGrid | ( | bool | enable, |
| int | gridSize = 10 |
||
| ) |
Definition at line 110 of file kexiscrollview.cpp.
◆ setupPixmapBuffer()
|
protected |
Definition at line 318 of file kexiscrollview.cpp.
◆ setWidget()
| void KexiScrollView::setWidget | ( | TQWidget * | w | ) |
Definition at line 92 of file kexiscrollview.cpp.
◆ updateNavPanelGeometry()
| void KexiScrollView::updateNavPanelGeometry | ( | ) |
Definition at line 195 of file kexiscrollview.cpp.
Member Data Documentation
◆ m_delayedResize
|
protected |
Definition at line 83 of file kexiscrollview.h.
◆ m_enableResizing
|
protected |
Definition at line 77 of file kexiscrollview.h.
◆ m_gridSize
|
protected |
Definition at line 80 of file kexiscrollview.h.
◆ m_helpColor
|
protected |
Definition at line 82 of file kexiscrollview.h.
◆ m_helpFont
|
protected |
Definition at line 81 of file kexiscrollview.h.
◆ m_hsmode
|
protected |
Definition at line 85 of file kexiscrollview.h.
◆ m_outerAreaVisible
|
protected |
Definition at line 89 of file kexiscrollview.h.
◆ m_preview
|
protected |
Definition at line 87 of file kexiscrollview.h.
◆ m_resizing
|
protected |
Definition at line 76 of file kexiscrollview.h.
◆ m_scrollViewNavPanel
|
protected |
Definition at line 90 of file kexiscrollview.h.
◆ m_smodeSet
|
protected |
Definition at line 88 of file kexiscrollview.h.
◆ m_snapToGrid
|
protected |
Definition at line 86 of file kexiscrollview.h.
◆ m_vsmode
|
protected |
for refreshContentsSizeLater()
Definition at line 85 of file kexiscrollview.h.
◆ m_widget
|
protected |
Definition at line 78 of file kexiscrollview.h.
The documentation for this class was generated from the following files:
