Bug 64191 - XMLGUI for popup dialogs
Summary: XMLGUI for popup dialogs
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-13 10:27 UTC by Dirk Schoenberger
Modified: 2023-02-27 08:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sample application using XMLGU and popup dialogs (520.00 KB, application/octet-stream)
2005-01-06 21:14 UTC, Dirk Schoenberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoenberger 2003-09-13 10:27:28 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

Please make the popup dialog GU configurable with external XML files, 
similar to the current toolbar and menubar configuration.

Please add GUI elements like sidebars and tabs to the elements which are configurable via XMLGUI.

Proposal:
change KDialogBase so, that instead of manually calling the GUI building methods, a general method (buildGUI or slt) can be called.
This method reads an external XML document (part) and builds the dialog GUI.
Comment 1 Dirk Schoenberger 2003-11-01 00:25:16 UTC
Alternatively:

use the dynamic loading functionality of Qt designer UI files
make the KDE dialog base classes available as Qt designer plugins, so tah full dialogs can be created (instead of just dialog pages, which have to be "assembled" in source code. 

Comment 2 Dirk Schoenberger 2005-01-06 21:14:51 UTC
Created attachment 8956 [details]
sample application using XMLGU and popup dialogs

a sample application for XMLGUI popup dialogs

uses a mockup datamodel taken from the Krita application form KOffice

The most interesting files

dlgtest/src/dlgactions.h
dlgtest/src/dlgactions.cpp

The Dialog action class hierarchy

dlgtest/src/xmlguidialog.h
dlgtest/src/xmlguidialog.cpp

The integration of XMLGUI into KDE popup dialogs

dlgtest/src/kis_dlg_*

Sample dialogs

dlgtest/src/dlgtestui.rc

The XMLGUI description

dlgtest/src/dlgtest.cpp

instantiates the dialogs
Comment 3 Stephan Kulow 2023-02-27 08:06:01 UTC
I doubt this has any relevance anymore.