|
|
|
@ -691,7 +691,7 @@
|
|
|
|
|
if(!parentControl)
|
|
|
|
|
x += 3;
|
|
|
|
|
if ( !pixmap( 0 ) ) {
|
|
|
|
|
lv->style().tqdrawPrimitive(TQStyle::PE_CheckListController, p,
|
|
|
|
|
lv->style().drawPrimitive(TQStyle::PE_CheckListController, p,
|
|
|
|
|
TQRect(x, 0, boxsize,
|
|
|
|
|
fm.height() + 2 + marg),
|
|
|
|
|
cg, styleflags, TQStyleOption(this));
|
|
|
|
@ -709,12 +709,12 @@
|
|
|
|
|
y = (fm.height() + 2 + marg - boxsize) / 2;
|
|
|
|
|
|
|
|
|
|
if ( ( myType == CheckBox ) || ( myType == CheckBoxController ) ) {
|
|
|
|
|
lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p,
|
|
|
|
|
lv->style().drawPrimitive(TQStyle::PE_CheckListIndicator, p,
|
|
|
|
|
TQRect(x, y, boxsize,
|
|
|
|
|
fm.height() + 2 + marg),
|
|
|
|
|
cg, styleflags, TQStyleOption(this));
|
|
|
|
|
} else { //radio button look
|
|
|
|
|
lv->style().tqdrawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
|
|
|
|
|
lv->style().drawPrimitive(TQStyle::PE_CheckListExclusiveIndicator,
|
|
|
|
|
p, TQRect(x, y, boxsize,
|
|
|
|
|
fm.height() + 2 + marg),
|
|
|
|
|
cg, styleflags, TQStyleOption(this));
|
|
|
|
|