forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user