forked from qt-creator/qt-creator
QmlDesigner: Remove outputpane-style.css
There is no need to style the ouputpane apart from the scrollbar. Change-Id: I3dcd98e403dace1de243c0254408c353ebcb3db2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
QWidget {
|
||||
background-color: #363636;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QTabWidget::pane {
|
||||
background-color: #363636;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QAbstractScrollArea {
|
||||
background-color: #363636;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QPlainTextEdit {
|
||||
background-color: #ababab;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QTabBar {
|
||||
font: bold;
|
||||
}
|
||||
|
||||
QTabBar::tab {
|
||||
border-image: none;
|
||||
|
||||
border-top: 1px solid #000000;
|
||||
border-left: 1px solid #000000;
|
||||
border-right: 1px solid #000000;
|
||||
|
||||
min-width: 80px;
|
||||
|
||||
height: 22px;
|
||||
margin-top: 2px;
|
||||
margin-bottom: -1px;
|
||||
padding-left: 2px;
|
||||
padding-right: 4px;
|
||||
|
||||
font-size: 11px;
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #3c3c3c, stop: 1 #444444);
|
||||
|
||||
color: #ababab;
|
||||
}
|
||||
|
||||
QTabBar::tab:hover {
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #3c3c3c, stop: 1 #666666);
|
||||
}
|
||||
|
||||
QTabBar::tab:selected {
|
||||
border: none;
|
||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||
stop: 0 #EEEEEE, stop: 1 #ababab);
|
||||
color: #3c3c3c;
|
||||
}
|
||||
|
@@ -4,6 +4,5 @@
|
||||
<file>stylesheet.css</file>
|
||||
<file>scrollbar.css</file>
|
||||
<file>formeditorstylesheet.css</file>
|
||||
<file>outputpane-style.css</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@@ -24,6 +24,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "styledoutputpaneplaceholder.h"
|
||||
#include "theming.h"
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
@@ -36,9 +37,8 @@ namespace Internal {
|
||||
StyledOutputpanePlaceHolder::StyledOutputpanePlaceHolder(Core::Id mode, QSplitter *parent)
|
||||
: Core::OutputPanePlaceHolder(mode, parent)
|
||||
{
|
||||
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/outputpane-style.css");
|
||||
sheet += Utils::FileReader::fetchQrc(":/qmldesigner/scrollbar.css");
|
||||
m_customStylesheet = QString::fromUtf8(sheet);
|
||||
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/scrollbar.css");
|
||||
m_customStylesheet = Theming::replaceCssColors(QString::fromUtf8(sheet));
|
||||
}
|
||||
|
||||
void StyledOutputpanePlaceHolder::childEvent(QChildEvent *event)
|
||||
|
Reference in New Issue
Block a user