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:
parent
6c04d0c3e4
commit
4c1e5b8e9d
@ -837,6 +837,8 @@ Toolbox* Containment::Private::createToolBox()
|
||||
break;
|
||||
}
|
||||
positionToolBox();
|
||||
|
||||
connect(toolBox, SIGNAL(toggled()), q, SIGNAL(toolBoxToggled()));
|
||||
}
|
||||
|
||||
return toolBox;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user