[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] updated ui for kpilot config
From: David Bishop <david () bishop ! dhs ! org>
Date: 2001-09-13 19:53:38
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 10 September 2001 11:43 am, Rik Hemsley wrote:
> Make a widget, not a dialog. You can create a new toplevel widget with
> designer, select all the widgets on your dialog (apart from the buttons
> at the bottom,) copy and paste onto your new toplevel widget. Then save.
>
> Now in the actual code, make your config dialog class inherit from
> KDialogBase and use KDialogBase::setMainWidget(myWidget) to put
> your designer-created widget in the dialog.
Okay, I give. *How* do you make a designer-created widget inherit from
KDialogBase? The only way I can see is if you use uic to create the .cpp and
.h files, then manually edit them. However, this takes away one of the great
advantages of using designer: quickly being able to make changes, because
it's all automated. Since I can't be the first person to run into this, and
I can't seem to find anyone else to help me, I will admit my ignorance and
request a (very) short lesson/howto.
Thank you.
- --
D.A.Bishop
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7oRxFKEJ4huP2XBERAhKGAJ0Qv4RWslZzSiTgIzXtNIg/GZqcRgCbBgwJ
CRnz+PQN+ADtVxEYSEcLKfM=
=XVT6
-----END PGP SIGNATURE-----
_______________________________________________
Kde-pim mailing list
Kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic