[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
jharris at 30doradus.org
Thu Mar 2 04:55:52 CET 2006
On Wednesday 01 March 2006 04:54, Jasem Mutlaq wrote:
> Note on UI generated files. I had numerous layout issues (among other
> problems) if we use double inheritance from QFrame and Ui::gui_class. I
> found that using Ui::gui_class directly is more straighforward and
> it also solves many issues. If there is a need to encapsulate the
> Ui::gui_class in a container class, we can do so without inherting from
> Q_OBJECT, and we simply pass the parent pointer to setupUi.
>
I don't understand this. The Ui::gui_class is not a QObject, so how can you
have signal/slot etc. if you inherit only from the Ui class?
regards,
Jason
--
Jason Harris
jharris at 30doradus.org
More information about the Kstars-devel
mailing list