org.kde.koala
public class KXMLGUIBuilder extends Object implements QtSupport, KXMLGUIBuilderInterface
UNKNOWN: Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by KMainWindow for the case where the toplevel widget is a KMainWindow.
Constructor Summary | |
---|---|
protected | KXMLGUIBuilder(Class dummy) |
KXMLGUIBuilder(QWidget widget) |
Method Summary | |
---|---|
KXMLGUIClientInterface | builderClient() |
KInstanceInterface | builderInstance() |
ArrayList | containerTags() |
QWidget | createContainer(QWidget parent, int index, QDomElement element, int[] id)
Creates a container (menubar/menu/toolbar/statusbar/separator/...)
from an element in the XML file |
int | createCustomElement(QWidget parent, int index, QDomElement element) |
ArrayList | customTags() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
void | finalizeGUI(KXMLGUIClientInterface client) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
void | removeContainer(QWidget container, QWidget parent, QDomElement element, int id)
Removes the given (and previously via createContainer )
created container. |
void | removeCustomElement(QWidget parent, int id) |
void | setBuilderClient(KXMLGUIClientInterface client) |
void | setBuilderInstance(KInstanceInterface instance) |
QWidget | widget() |
Parameters: parent The parent for the container index The index where the container should be inserted into the parent container/widget element The element from the DOM tree describing the container (use it to access container specified attributes or child elements) id The id to be used for this container
UNKNOWN: Creates a container (menubar/menu/toolbar/statusbar/separator/.
UNKNOWN: Removes the given (and previously via createContainer ) created container.