Well that's the default style on your operating system. But you can override that for the splitter with setStyle().
#include <QtCore>
#include <QtGui>
int main(int argc, char *argv[])
{
mw.setCentralWidget(s);
mw.show();
return a.exec();
}
#include <QtCore>
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QMainWindow mw;
QSplitter* s = new QSplitter();
s->setStyle(new QPlastiqueStyle());
s->addWidget(new QTextEdit());
s->addWidget(new QTextEdit());
mw.setCentralWidget(s);
mw.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
Joh
Bookmarks