Hi,
Thanks for replying!
In fact, I don't use any style sheet. I just set an empty one. Look here:
main.cpp:
========
#include <QApplication>
#include <QtGui>
int main(int argc, char *argv[])
{
QString style_sheet
("QLineEdit {}");
line_edit->setStyleSheet(style_sheet);
line_edit->show();
return app.exec();
}
#include <QApplication>
#include <QtGui>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLineEdit *line_edit = new QLineEdit;
QString style_sheet("QLineEdit {}");
line_edit->setStyleSheet(style_sheet);
line_edit->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks