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