[Kst] [Bug 117973] New: KDualColorButton does not have parent
arwalker at sumusltd.com
Fri Dec 9 01:11:38 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: KDualColorButton does not have parent
Platform: Compiled Sources
AssignedTo: kst kde org
ReportedBy: arwalker sumusltd com
Version: HEAD (using KDE KDE 3.4.0)
Installed from: Compiled From Sources
When the user clicks on a KDualColoarButton the color selector that is launched is not parented, and so can disappear behind the dialog that it was launched from.
There are currently five KDualColorButton widgets in use in Kst.
The problem is that in the constructor of the KDualColorButton there are seperate parameters for the parent of the widget itself and the parent of the color selector when it is launched from the widget. The latter is always NULL as the KDualColorButton's are created in Qt Designer generated code, which omits the second parent parameter value.
Either we should generate these widgets in our own code or modify KDualColorButton to use the same parent for itself and the color selector.
More information about the Kst