Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
KMainWindow with QTdesigner
Can I make Pure KDE-qt dialogs like KMainWindow or KWizard with QTDesigner, if yes, how?
You would need to create a designer widget plugin that provides those classes and then create designer templates for them.
You can find a thread about this in the subforum for designer questions, but creating a template for a top level window like a dialog or wizard is a little tricky.
You better create a subclass manually and just design the content widgets in designer and then embed them into you subclass.
Cheers,
_
Qt/KDE Developer
Debian User
Originally posted by anda_skoa
You better create a subclass manually and just design the content widgets in designer and then embed them into you subclass.
Ok can you show me an example how to embed them or where can I find some good howto about that.
Thanks
see QMainWindow::setCentralWidget (KMainWindow is derived from QMainWindow)
Cheers,
_
Qt/KDE Developer
Debian User
In other words, only write your specialized QWidget dialogs, and integrate them in your KDE window/dialog code.
If you scroll through this tutorial, you'll see some interesting things on creating a settings dialog, which uses the same concept:
http://kdevelop.org/3.0/doc/tutorial_settings/
Working on
KMess, a MSN Messenger client for Linux/KDE.