Refactor in a good state
This commit is contained in:
parent
72c4740f82
commit
4ad40058f9
21 changed files with 606 additions and 105 deletions
|
|
@ -33,19 +33,19 @@ namespace tp {
|
|||
public:
|
||||
SimpleWidget3() {
|
||||
|
||||
mDockSpace.addSideWidget(&mButtons[0], GridLayoutWidget::BOTTOM);
|
||||
mDockSpace.addSideWidget(&mButtons[1], GridLayoutWidget::RIGHT);
|
||||
mDockSpace.addSideWidget(&mButtons[0], DockLayoutWidget::BOTTOM);
|
||||
mDockSpace.addSideWidget(&mButtons[1], DockLayoutWidget::RIGHT);
|
||||
|
||||
mDockSpace.removeSideWidget(GridLayoutWidget::BOTTOM);
|
||||
mDockSpace.removeSideWidget(DockLayoutWidget::BOTTOM);
|
||||
|
||||
mDockSpace.addSideWidget(&mButtons[0], GridLayoutWidget::TOP);
|
||||
mDockSpace.addSideWidget(&mButtons[2], GridLayoutWidget::LEFT);
|
||||
mDockSpace.addSideWidget(&mButtons[0], DockLayoutWidget::TOP);
|
||||
mDockSpace.addSideWidget(&mButtons[2], DockLayoutWidget::LEFT);
|
||||
|
||||
mDockSpace.removeSideWidget(GridLayoutWidget::TOP);
|
||||
mDockSpace.removeSideWidget(DockLayoutWidget::TOP);
|
||||
|
||||
mDockSpace.addSideWidget(&mButtons[0], GridLayoutWidget::BOTTOM);
|
||||
mDockSpace.addSideWidget(&mButtons[0], DockLayoutWidget::BOTTOM);
|
||||
|
||||
mDockSpace.addSideWidget(&mButtons[3], GridLayoutWidget::TOP);
|
||||
mDockSpace.addSideWidget(&mButtons[3], DockLayoutWidget::TOP);
|
||||
mDockSpace.setCenterWidget(&mButtons[4]);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue