No, I don't think so. This is how the "splitters" are drawn:
{
opt.
state = QStyle::State_None;
if (w->isEnabled())
opt.
state |
= QStyle::State_Enabled;
if (o != Qt::Horizontal)
opt.
state |
= QStyle::State_Horizontal;
if (mouse_over)
opt.
state |
= QStyle::State_MouseOver;
opt.rect = r;
opt.palette = w->palette();
w
->style
()->drawPrimitive
(QStyle::PE_IndicatorDockWidgetResizeHandle,
&opt, p, w
);
}
static void paintSep(QPainter *p, QWidget *w, const QRect &r, Qt::Orientation o, bool mouse_over)
{
QStyleOption opt(0);
opt.state = QStyle::State_None;
if (w->isEnabled())
opt.state |= QStyle::State_Enabled;
if (o != Qt::Horizontal)
opt.state |= QStyle::State_Horizontal;
if (mouse_over)
opt.state |= QStyle::State_MouseOver;
opt.rect = r;
opt.palette = w->palette();
w->style()->drawPrimitive(QStyle::PE_IndicatorDockWidgetResizeHandle, &opt, p, w);
}
To copy to clipboard, switch view to plain text mode
There is nothing to set an attribute on.
Bookmarks