[bt-devel] reference selector
Joachim Ansorg
bt-devel@crosswire.org
Fri, 13 Sep 2002 15:54:47 +0200
Just had a look at your implementation.
KDialogBase offers the method plainPage() which gives you a plain widget for
creating childs on them. You don't have to create your own QWIdget as parent
for the widgets. Just create the childwidgets with the pareent plainPage()
You don't have to "borrow" the keychooser from the display windows.
Just do something like:
CKeyChooser* keyChooser = CKeyChooser::createInstance(
displayWindow->modules(), displayWindow->key(), plainPage() );
Add a new signal when the keychooser changed and connect this to the slots
you need (lookup of the display windows).
I hope this helps understanding the API of Qt and KDE. But I still think we
should not mix up the GUI. It should be very consistent.
I wish you God's blessings,
Joachim
> Today I put on CVS "reference selector" - i.e. dialog which lets you
> type in select reference like "Exo. 5:2" or select verse using standard
> selector. Comments are welcome.
>
> Nikolay.