Change the toolbar of the debugger sub windows to a flat grey tone

Change-Id: I3f3270fc88b4b3a98d34b70efed4aabc27fe8fcd
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
Marco Bubke
2012-04-12 15:40:47 +02:00
parent c45d49b027
commit 89937deba0
3 changed files with 5 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ QtMessageLogWindow::QtMessageLogWindow(QWidget *parent)
vbox->setSpacing(0); vbox->setSpacing(0);
QWidget *statusbarContainer = new Utils::StyledBar(); QWidget *statusbarContainer = new Utils::StyledBar();
statusbarContainer->setStyleSheet(QLatin1String("background: #9B9B9B"));
statusbarContainer->setFixedHeight(statusBarHeight); statusbarContainer->setFixedHeight(statusBarHeight);
QHBoxLayout *hbox = new QHBoxLayout(statusbarContainer); QHBoxLayout *hbox = new QHBoxLayout(statusbarContainer);
hbox->setMargin(0); hbox->setMargin(0);

View File

@@ -782,6 +782,7 @@ void InspectorUi::setupDockWidgets()
mw->setToolBar(Debugger::QmlLanguage, m_toolBar->widget()); mw->setToolBar(Debugger::QmlLanguage, m_toolBar->widget());
m_crumblePath = new ContextCrumblePath; m_crumblePath = new ContextCrumblePath;
m_crumblePath->setStyleSheet(QLatin1String("background: #9B9B9B"));
m_crumblePath->setObjectName("QmlContextPath"); m_crumblePath->setObjectName("QmlContextPath");
m_crumblePath->setWindowTitle(tr("Context Path")); m_crumblePath->setWindowTitle(tr("Context Path"));
connect(m_crumblePath, SIGNAL(elementClicked(QVariant)), SLOT(crumblePathElementClicked(QVariant))); connect(m_crumblePath, SIGNAL(elementClicked(QVariant)), SLOT(crumblePathElementClicked(QVariant)));
@@ -793,6 +794,7 @@ void InspectorUi::setupDockWidgets()
inspectorWidget->setObjectName(Debugger::Constants::DOCKWIDGET_QML_INSPECTOR); inspectorWidget->setObjectName(Debugger::Constants::DOCKWIDGET_QML_INSPECTOR);
QWidget *pathAndFilterWidget = new Utils::StyledBar(); QWidget *pathAndFilterWidget = new Utils::StyledBar();
pathAndFilterWidget->setStyleSheet(QLatin1String("background: #9B9B9B"));
pathAndFilterWidget->setMaximumHeight(m_crumblePath->height()); pathAndFilterWidget->setMaximumHeight(m_crumblePath->height());
QHBoxLayout *pathAndFilterLayout = new QHBoxLayout(pathAndFilterWidget); QHBoxLayout *pathAndFilterLayout = new QHBoxLayout(pathAndFilterWidget);

View File

@@ -237,6 +237,7 @@ void QmlProfilerTraceView::reset()
QWidget *QmlProfilerTraceView::createToolbar() QWidget *QmlProfilerTraceView::createToolbar()
{ {
Utils::StyledBar *bar = new Utils::StyledBar(this); Utils::StyledBar *bar = new Utils::StyledBar(this);
bar->setStyleSheet(QLatin1String("background: #9B9B9B"));
bar->setSingleRow(true); bar->setSingleRow(true);
bar->setFixedWidth(150); bar->setFixedWidth(150);
bar->setFixedHeight(24); bar->setFixedHeight(24);
@@ -298,6 +299,7 @@ QWidget *QmlProfilerTraceView::createToolbar()
QWidget *QmlProfilerTraceView::createZoomToolbar() QWidget *QmlProfilerTraceView::createZoomToolbar()
{ {
Utils::StyledBar *bar = new Utils::StyledBar(this); Utils::StyledBar *bar = new Utils::StyledBar(this);
bar->setStyleSheet(QLatin1String("background: #9B9B9B"));
bar->setSingleRow(true); bar->setSingleRow(true);
bar->setFixedWidth(150); bar->setFixedWidth(150);
bar->setFixedHeight(24); bar->setFixedHeight(24);