KConfigDialogManager and QButtonGroup

Martin Koller kollix at aon.at
Mon May 1 18:31:28 UTC 2017


Hi,

trying to fix https://bugs.kde.org/show_bug.cgi?id=378930

I see that the mboxresource has a configuration dialog which uses KConfigDialogManager
to handle the settings, but it has a QGroupBox widget holding QRadioButtons,
which represent one setting (e.g. one of 2 possible compaction methods).

In the .ui file, the QGroupBox(!) has the name kcfg_CompactFrequency
but I assume the bug lies in the fact that this stems from Qt4 days, where the groupBox
did also manage the buttons, whereby now you need a QButtonGroup class.

Am I correct and if so, what needs to be changed that KConfigDialogManager
works again with this radio buttons ?
Is KConfigDialogManager designed so that it can work with a QButtonGroup and a set of radio buttons ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at


More information about the Kde-frameworks-devel mailing list