Canvas.
More...
Public Member Functions | |
| ScrollCanvas (Options *options, Document *d, GenericNode *rootNode, QWidget *parent) | |
Creates a new ScrollCanvas. | |
| ~ScrollCanvas () | |
Destroys this ScrollCanvas and the Canvas contained in it. | |
| virtual void | resizeEvent (QResizeEvent *ev) |
| Called when the parent window was resized. | |
| Canvas * | getCanvas () |
Returns the Canvas contained in this ScrollCanvas. | |
| QSize | size () const |
Returns the size of this ScrollCanvas. | |
Private Attributes | |
| MyScrollBar * | h_scroll |
| The horizontal scrolbar. | |
| MyScrollBar * | v_scroll |
| The vertical scrollbar. | |
| Canvas * | canvas |
The Canvas which is displayed within this scrollable container. | |
Canvas.
|
||||||||||||||||||||
|
Creates a new
|
|
|
Destroys this
|
|
|
Returns the
|
|
|
Called when the parent window was resized.
|
|
|
Returns the size of this
|
|
|
The
|
|
|
The horizontal scrolbar.
|
|
|
The vertical scrollbar.
|
1.3