More minor GUI tweaks

This commit is contained in:
Mark Watkins 2014-05-17 22:20:06 +10:00
parent be6c04e619
commit 3f3e30b39a
2 changed files with 174 additions and 151 deletions

View File

@ -840,11 +840,11 @@ bool gGraphView::renderGraphs(QPainter &painter)
if (m_showsplitter) { if (m_showsplitter) {
// draw the splitter handle // draw the splitter handle
painter.setPen(QColor(128,128,128,255)); painter.setPen(QColor(158,158,158,255));
painter.drawLine(0, py + h, w, py + h); painter.drawLine(0, py + h, w, py + h);
painter.setPen(QColor(192, 192, 192, 255)); painter.setPen(QColor(220, 220, 220, 255));
painter.drawLine(0, py + h + 1, w, py + h + 1); painter.drawLine(0, py + h + 1, w, py + h + 1);
painter.setPen(QColor(90, 90, 90, 255)); painter.setPen(QColor(140, 140, 140, 255));
painter.drawLine(0, py + h + 2, w, py + h + 2); painter.drawLine(0, py + h + 2, w, py + h + 2);
} }
@ -898,11 +898,11 @@ bool gGraphView::renderGraphs(QPainter &painter)
if (m_showsplitter) { if (m_showsplitter) {
// draw the splitter handle // draw the splitter handle
painter.setPen(QColor(128, 128, 128, 255)); painter.setPen(QColor(220, 220, 220, 255));
painter.drawLine(0, py + h, w, py + h); painter.drawLine(0, py + h, w, py + h);
painter.setPen(QColor(192, 192, 192, 255)); painter.setPen(QColor(128, 128, 128, 255));
painter.drawLine(0, py + h + 1, w, py + h + 1); painter.drawLine(0, py + h + 1, w, py + h + 1);
painter.setPen(QColor(90, 90, 90, 255)); painter.setPen(QColor(190, 190, 190, 255));
painter.drawLine(0, py + h + 2, w, py + h + 2); painter.drawLine(0, py + h + 2, w, py + h + 2);
} }

View File

@ -479,6 +479,9 @@
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<widget class="QSplitter" name="splitter"> <widget class="QSplitter" name="splitter">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
@ -920,7 +923,7 @@
<enum>QTabWidget::Triangular</enum> <enum>QTabWidget::Triangular</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>1</number> <number>0</number>
</property> </property>
<property name="documentMode"> <property name="documentMode">
<bool>false</bool> <bool>false</bool>
@ -1070,9 +1073,9 @@ color: yellow;</string>
<attribute name="title"> <attribute name="title">
<string>&amp;Help Browser</string> <string>&amp;Help Browser</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing"> <property name="spacing">
<number>3</number> <number>0</number>
</property> </property>
<property name="leftMargin"> <property name="leftMargin">
<number>0</number> <number>0</number>
@ -1086,11 +1089,6 @@ color: yellow;</string>
<property name="bottomMargin"> <property name="bottomMargin">
<number>0</number> <number>0</number>
</property> </property>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<item> <item>
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame">
<property name="sizePolicy"> <property name="sizePolicy">
@ -1119,7 +1117,7 @@ color: yellow;</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing"> <property name="spacing">
<number>0</number> <number>4</number>
</property> </property>
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>6</number>
@ -1203,6 +1201,30 @@ color: yellow;</string>
</layout> </layout>
</widget> </widget>
</item> </item>
<item>
<widget class="QFrame" name="frame_4">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item> <item>
<widget class="QWebView" name="webView"> <widget class="QWebView" name="webView">
<property name="sizePolicy"> <property name="sizePolicy">
@ -1231,6 +1253,7 @@ color: yellow;</string>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -1821,8 +1844,8 @@ border: 2px solid #56789a; border-radius: 30px;
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>180</width>
<height>30</height> <height>596</height>
</rect> </rect>
</property> </property>
<property name="palette"> <property name="palette">
@ -2969,8 +2992,8 @@ border-radius: 10px;
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>180</width>
<height>30</height> <height>596</height>
</rect> </rect>
</property> </property>
<property name="mouseTracking"> <property name="mouseTracking">