mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 20:48:56 +02:00
alternate css background settings for selected items in QTreeView
This commit is contained in:
parent
9244bd5717
commit
50ad5a4ec8
3 changed files with 5 additions and 6 deletions
|
@ -55,6 +55,9 @@ QSidebar, QTreeView {
|
||||||
border: 1px solid #C5C5C5;
|
border: 1px solid #C5C5C5;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
selection-background-color: #BDE4E3;
|
||||||
|
selection-color: #333333;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView {
|
QTreeView {
|
||||||
|
@ -83,9 +86,3 @@ QSidebar::item,
|
||||||
QTreeView::item {
|
QTreeView::item {
|
||||||
padding: 5px 0 4px;
|
padding: 5px 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSidebar::item:selected,
|
|
||||||
QTreeView::item:selected {
|
|
||||||
background: #BDE4E3;
|
|
||||||
color: #333333;
|
|
||||||
}
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
#include "Application.h"
|
#include "Application.h"
|
||||||
#include "GeometryCache.h"
|
#include "GeometryCache.h"
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
#include <QGLWidget>
|
#include <QGLWidget>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QOpenGLFramebufferObject>
|
#include <QOpenGLFramebufferObject>
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
#include <glm/gtc/random.hpp>
|
#include <glm/gtc/random.hpp>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue