Resizable split between two child widgets. More...
#include <splitter.h>


Public Types | |
| enum | Orientation { Horizontal , Vertical } |
Public Member Functions | |
| TuiSplitter (Orientation orientation=Horizontal, ObjectBase *parent=nullptr) | |
| void | setFirstWidget (TuiWidget *widget) |
| void | setSecondWidget (TuiWidget *widget) |
| TuiWidget * | firstWidget () const |
| TuiWidget * | secondWidget () const |
| void | setSplitRatio (double ratio) |
| Sets the split position (0.0 to 1.0). | |
| double | splitRatio () const |
| Orientation | orientation () const |
| Size2Di32 | sizeHint () const override |
Public Member Functions inherited from promeki::TuiWidget | |
| TuiWidget (ObjectBase *parent=nullptr) | |
| Constructs a TuiWidget. | |
| ~TuiWidget () override | |
| Destructor. | |
| void | update () override |
| Marks the widget as needing a repaint. | |
Protected Member Functions | |
| void | paintEvent (PaintEvent *e) override |
| void | resizeEvent (ResizeEvent *e) override |
| void | keyPressEvent (KeyEvent *e) override |
| void | mouseEvent (MouseEvent *e) override |
Resizable split between two child widgets.