New class called PanelController:

is a new QWidget shown when the user clicks on the panel toolbox, it's a
thing that will eventually replace the panel configuration dialog.
at the moment it has an add aplet and remove panel buttons.
it is possible to resize the panel by dragging the upper edge of the
panel controller and in the future will be provided a way to resize the
panel width and changing the position.
at the moment there is the known problem that the resize handle doesn't
work for vertical panel for now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802932
This commit is contained in:
Marco Martin 2008-05-01 09:58:36 +00:00
parent 6c04d0c3e4
commit 4c1e5b8e9d
2 changed files with 7 additions and 0 deletions

View File

@ -837,6 +837,8 @@ Toolbox* Containment::Private::createToolBox()
break;
}
positionToolBox();
connect(toolBox, SIGNAL(toggled()), q, SIGNAL(toolBoxToggled()));
}
return toolBox;

View File

@ -276,6 +276,11 @@ class PLASMA_EXPORT Containment : public Applet
*/
void zoomRequested(Plasma::Containment * containment, Plasma::ZoomDirection direction);
/**
* Emitted when the user clicks on the toolbox
*/
void toolBoxToggled();
/**
* Emitted when the containment wants a new containment to be created.
* Usually only used for desktop containments.