mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
format qwindowsstyle source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a5c88feaea
commit
60f5f45e99
1 changed files with 5 additions and 4 deletions
|
@ -1171,7 +1171,8 @@ void QWindowsStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt,
|
|||
opt->rect.right(), opt->rect.bottom());
|
||||
}
|
||||
p->setPen(oldPen);
|
||||
break; }
|
||||
break;
|
||||
}
|
||||
case PE_FrameDockWidget: {
|
||||
if (qstyleoption_cast<const QStyleOptionFrame *>(opt)) {
|
||||
proxy()->drawPrimitive(QStyle::PE_FrameWindow, opt, p, w);
|
||||
|
@ -1592,7 +1593,8 @@ void QWindowsStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPai
|
|||
p->drawPoint(x1 + 1, y2 - 1);
|
||||
p->drawPoint(x1 + 2, y2);
|
||||
}
|
||||
break; }
|
||||
break;
|
||||
}
|
||||
case QTabBar::RoundedEast: {
|
||||
if (!selected) {
|
||||
x2 -= 2;
|
||||
|
@ -1915,8 +1917,7 @@ void QWindowsStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPai
|
|||
}
|
||||
}
|
||||
p->restore(); //restore state
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
QCommonStyle::drawControl(ce, opt, p, widget);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue