stylesheet.
open(QFile::ReadOnly);
m_treeView->setStyleSheet(stylesheet.readAll());
QFile stylesheet(QLatin1String(":/sidebar/macos_lionmail/stylesheet"));
stylesheet.open(QFile::ReadOnly);
m_treeView->setStyleSheet(stylesheet.readAll());
To copy to clipboard, switch view to plain text mode
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(238, 240, 244, 255), stop:1 rgba(210, 216, 224, 255) ); /* works */
}
background-color: qlineargradient( spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(238, 240, 244, 255), stop:1 rgba(210, 216, 224, 255) ); /* fails */
}
QTreeView {
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(238, 240, 244, 255), stop:1 rgba(210, 216, 224, 255) ); /* works */
}
QTreeView {
background-color: qlineargradient( spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(238, 240, 244, 255), stop:1 rgba(210, 216, 224, 255) ); /* fails */
}
To copy to clipboard, switch view to plain text mode
Bookmarks