plot: lineType and pointShape options · Processoriented/sqlitebrowser@220c5ba · GitHub
Skip to content

Commit 220c5ba

Browse files
committed
plot: lineType and pointShape options
1 parent 4e36226 commit 220c5ba

4 files changed

Lines changed: 193 additions & 8 deletions

File tree

‎src/MainWindow.cpp‎

Lines changed: 34 additions & 2 deletions

‎src/MainWindow.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ private slots:
177177
void switchToBrowseDataTab();
178178
void on_buttonClearFilters_clicked();
179179
void copyCurrentCreateStatement();
180+
void on_comboLineType_currentIndexChanged(int index);
181+
void on_comboPointShape_currentIndexChanged(int index);
180182
};
181183

182184
#endif

‎src/MainWindow.ui‎

Lines changed: 145 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>1000</width>
9+
<width>1037</width>
1010
<height>630</height>
1111
</rect>
1212
</property>
@@ -22,7 +22,7 @@
2222
<item>
2323
<widget class="QTabWidget" name="mainTab">
2424
<property name="currentIndex">
25-
<number>0</number>
25+
<number>3</number>
2626
</property>
2727
<widget class="QWidget" name="structure">
2828
<attribute name="title">
@@ -324,8 +324,8 @@
324324
<rect>
325325
<x>0</x>
326326
<y>0</y>
327-
<width>294</width>
328-
<height>444</height>
327+
<width>472</width>
328+
<height>531</height>
329329
</rect>
330330
</property>
331331
<layout class="QFormLayout" name="formLayout">
@@ -809,8 +809,8 @@
809809
<rect>
810810
<x>0</x>
811811
<y>0</y>
812-
<width>1000</width>
813-
<height>19</height>
812+
<width>1037</width>
813+
<height>25</height>
814814
</rect>
815815
</property>
816816
<widget class="QMenu" name="fileMenu">
@@ -1074,6 +1074,144 @@
10741074
<property name="bottomMargin">
10751075
<number>0</number>
10761076
</property>
1077+
<item>
1078+
<widget class="QLabel" name="label_2">
1079+
<property name="text">
1080+
<string>Line type:</string>
1081+
</property>
1082+
</widget>
1083+
</item>
1084+
<item>
1085+
<widget class="QComboBox" name="comboLineType">
1086+
<property name="currentIndex">
1087+
<number>1</number>
1088+
</property>
1089+
<item>
1090+
<property name="text">
1091+
<string>None</string>
1092+
</property>
1093+
</item>
1094+
<item>
1095+
<property name="text">
1096+
<string>Line</string>
1097+
</property>
1098+
</item>
1099+
<item>
1100+
<property name="text">
1101+
<string>StepLeft</string>
1102+
</property>
1103+
</item>
1104+
<item>
1105+
<property name="text">
1106+
<string>StepRight</string>
1107+
</property>
1108+
</item>
1109+
<item>
1110+
<property name="text">
1111+
<string>StepCenter</string>
1112+
</property>
1113+
</item>
1114+
<item>
1115+
<property name="text">
1116+
<string>Impulse</string>
1117+
</property>
1118+
</item>
1119+
</widget>
1120+
</item>
1121+
<item>
1122+
<widget class="QLabel" name="label_3">
1123+
<property name="text">
1124+
<string>Point shape:</string>
1125+
</property>
1126+
</widget>
1127+
</item>
1128+
<item>
1129+
<widget class="QComboBox" name="comboPointShape">
1130+
<property name="currentIndex">
1131+
<number>5</number>
1132+
</property>
1133+
<item>
1134+
<property name="text">
1135+
<string>None</string>
1136+
</property>
1137+
</item>
1138+
<item>
1139+
<property name="text">
1140+
<string>Dot</string>
1141+
</property>
1142+
</item>
1143+
<item>
1144+
<property name="text">
1145+
<string>Cross</string>
1146+
</property>
1147+
</item>
1148+
<item>
1149+
<property name="text">
1150+
<string>Plus</string>
1151+
</property>
1152+
</item>
1153+
<item>
1154+
<property name="text">
1155+
<string>Circle</string>
1156+
</property>
1157+
</item>
1158+
<item>
1159+
<property name="text">
1160+
<string>Disc</string>
1161+
</property>
1162+
</item>
1163+
<item>
1164+
<property name="text">
1165+
<string>Square</string>
1166+
</property>
1167+
</item>
1168+
<item>
1169+
<property name="text">
1170+
<string>Diamond</string>
1171+
</property>
1172+
</item>
1173+
<item>
1174+
<property name="text">
1175+
<string>Star</string>
1176+
</property>
1177+
</item>
1178+
<item>
1179+
<property name="text">
1180+
<string>Triangle</string>
1181+
</property>
1182+
</item>
1183+
<item>
1184+
<property name="text">
1185+
<string>TriangleInverted</string>
1186+
</property>
1187+
</item>
1188+
<item>
1189+
<property name="text">
1190+
<string>CrossSquare</string>
1191+
</property>
1192+
</item>
1193+
<item>
1194+
<property name="text">
1195+
<string>PlusSquare</string>
1196+
</property>
1197+
</item>
1198+
<item>
1199+
<property name="text">
1200+
<string>CrossCircle</string>
1201+
</property>
1202+
</item>
1203+
<item>
1204+
<property name="text">
1205+
<string>PlusCircle</string>
1206+
</property>
1207+
</item>
1208+
<item>
1209+
<property name="text">
1210+
<string>Peace</string>
1211+
</property>
1212+
</item>
1213+
</widget>
1214+
</item>
10771215
<item>
10781216
<spacer name="horizontalSpacer_4">
10791217
<property name="orientation">
@@ -1656,6 +1794,7 @@
16561794
<tabstop>dbTreeWidget</tabstop>
16571795
<tabstop>comboBrowseTable</tabstop>
16581796
<tabstop>buttonRefresh</tabstop>
1797+
<tabstop>buttonClearFilters</tabstop>
16591798
<tabstop>buttonNewRecord</tabstop>
16601799
<tabstop>buttonDeleteRecord</tabstop>
16611800
<tabstop>dataTable</tabstop>

‎src/PreferencesDialog.cpp‎

Lines changed: 12 additions & 0 deletions

0 commit comments

Comments
 (0)