|
20 | 20 | <string>Back testing</string>
|
21 | 21 | </property>
|
22 | 22 | <layout class="QGridLayout" name="gridLayout">
|
23 |
| - <item row="4" column="0" colspan="2"> |
24 |
| - <widget class="QComboBox" name="strategyNameCB"> |
25 |
| - <property name="sizePolicy"> |
26 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
27 |
| - <horstretch>0</horstretch> |
28 |
| - <verstretch>0</verstretch> |
29 |
| - </sizepolicy> |
30 |
| - </property> |
31 |
| - <property name="minimumSize"> |
32 |
| - <size> |
33 |
| - <width>200</width> |
34 |
| - <height>0</height> |
35 |
| - </size> |
36 |
| - </property> |
37 |
| - </widget> |
38 |
| - </item> |
39 |
| - <item row="7" column="0"> |
40 |
| - <widget class="QScrollArea" name="parametersScrollArea"> |
| 23 | + <item row="2" column="0"> |
| 24 | + <widget class="QListWidget" name="dataFilesListWidget"> |
41 | 25 | <property name="sizePolicy">
|
42 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 26 | + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
43 | 27 | <horstretch>0</horstretch>
|
44 | 28 | <verstretch>0</verstretch>
|
45 | 29 | </sizepolicy>
|
46 | 30 | </property>
|
47 |
| - <property name="minimumSize"> |
48 |
| - <size> |
49 |
| - <width>0</width> |
50 |
| - <height>50</height> |
51 |
| - </size> |
52 |
| - </property> |
53 |
| - <property name="maximumSize"> |
54 |
| - <size> |
55 |
| - <width>16777215</width> |
56 |
| - <height>250</height> |
57 |
| - </size> |
58 |
| - </property> |
59 |
| - <property name="widgetResizable"> |
60 |
| - <bool>true</bool> |
61 |
| - </property> |
62 |
| - <widget class="QWidget" name="scrollAreaWidgetContents"> |
63 |
| - <property name="geometry"> |
64 |
| - <rect> |
65 |
| - <x>0</x> |
66 |
| - <y>0</y> |
67 |
| - <width>192</width> |
68 |
| - <height>69</height> |
69 |
| - </rect> |
70 |
| - </property> |
71 |
| - <layout class="QVBoxLayout" name="verticalLayout"> |
72 |
| - <item> |
73 |
| - <layout class="QFormLayout" name="parametersLayout"/> |
74 |
| - </item> |
75 |
| - </layout> |
76 |
| - </widget> |
77 | 31 | </widget>
|
78 | 32 | </item>
|
79 |
| - <item row="3" column="0"> |
80 |
| - <widget class="QLabel" name="label_4"> |
| 33 | + <item row="13" column="0"> |
| 34 | + <widget class="QLabel" name="runLabel"> |
81 | 35 | <property name="text">
|
82 |
| - <string>Strategy</string> |
| 36 | + <string/> |
83 | 37 | </property>
|
84 | 38 | </widget>
|
85 | 39 | </item>
|
86 |
| - <item row="5" column="0"> |
87 |
| - <spacer name="verticalSpacer_2"> |
88 |
| - <property name="orientation"> |
89 |
| - <enum>Qt::Vertical</enum> |
90 |
| - </property> |
91 |
| - <property name="sizeType"> |
92 |
| - <enum>QSizePolicy::Preferred</enum> |
93 |
| - </property> |
94 |
| - <property name="sizeHint" stdset="0"> |
95 |
| - <size> |
96 |
| - <width>20</width> |
97 |
| - <height>20</height> |
98 |
| - </size> |
99 |
| - </property> |
100 |
| - </spacer> |
101 |
| - </item> |
102 |
| - <item row="8" column="0"> |
| 40 | + <item row="4" column="0"> |
103 | 41 | <spacer name="verticalSpacer">
|
104 | 42 | <property name="orientation">
|
105 | 43 | <enum>Qt::Vertical</enum>
|
|
115 | 53 | </property>
|
116 | 54 | </spacer>
|
117 | 55 | </item>
|
118 |
| - <item row="9" column="0" colspan="2"> |
119 |
| - <widget class="QPushButton" name="runBacktestPB"> |
120 |
| - <property name="enabled"> |
121 |
| - <bool>true</bool> |
122 |
| - </property> |
| 56 | + <item row="6" column="0"> |
| 57 | + <widget class="QComboBox" name="strategyNameCB"> |
123 | 58 | <property name="sizePolicy">
|
124 |
| - <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 59 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
125 | 60 | <horstretch>0</horstretch>
|
126 | 61 | <verstretch>0</verstretch>
|
127 | 62 | </sizepolicy>
|
128 | 63 | </property>
|
129 |
| - <property name="text"> |
130 |
| - <string>Run</string> |
| 64 | + <property name="minimumSize"> |
| 65 | + <size> |
| 66 | + <width>200</width> |
| 67 | + <height>0</height> |
| 68 | + </size> |
131 | 69 | </property>
|
132 | 70 | </widget>
|
133 | 71 | </item>
|
134 |
| - <item row="6" column="0" colspan="2"> |
135 |
| - <widget class="QLabel" name="label_3"> |
| 72 | + <item row="5" column="0"> |
| 73 | + <widget class="QLabel" name="label_4"> |
136 | 74 | <property name="text">
|
137 |
| - <string>Parameters</string> |
| 75 | + <string>Strategy</string> |
138 | 76 | </property>
|
139 | 77 | </widget>
|
140 | 78 | </item>
|
141 |
| - <item row="12" column="0" colspan="2"> |
| 79 | + <item row="12" column="0"> |
142 | 80 | <widget class="QProgressBar" name="runningStratPB">
|
143 | 81 | <property name="value">
|
144 | 82 | <number>0</number>
|
145 | 83 | </property>
|
146 | 84 | </widget>
|
147 | 85 | </item>
|
148 |
| - <item row="2" column="0"> |
149 |
| - <spacer name="verticalSpacer_3"> |
| 86 | + <item row="7" column="0"> |
| 87 | + <spacer name="verticalSpacer_2"> |
150 | 88 | <property name="orientation">
|
151 | 89 | <enum>Qt::Vertical</enum>
|
152 | 90 | </property>
|
153 | 91 | <property name="sizeType">
|
154 |
| - <enum>QSizePolicy::Maximum</enum> |
| 92 | + <enum>QSizePolicy::Preferred</enum> |
155 | 93 | </property>
|
156 | 94 | <property name="sizeHint" stdset="0">
|
157 | 95 | <size>
|
|
161 | 99 | </property>
|
162 | 100 | </spacer>
|
163 | 101 | </item>
|
164 |
| - <item row="0" column="0" colspan="2"> |
| 102 | + <item row="0" column="0"> |
| 103 | + <widget class="QLabel" name="label_2"> |
| 104 | + <property name="text"> |
| 105 | + <string>Data sources</string> |
| 106 | + </property> |
| 107 | + </widget> |
| 108 | + </item> |
| 109 | + <item row="8" column="0"> |
| 110 | + <widget class="QLabel" name="label_3"> |
| 111 | + <property name="text"> |
| 112 | + <string>Parameters</string> |
| 113 | + </property> |
| 114 | + </widget> |
| 115 | + </item> |
| 116 | + <item row="10" column="0"> |
| 117 | + <widget class="QScrollArea" name="parametersScrollArea"> |
| 118 | + <property name="sizePolicy"> |
| 119 | + <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 120 | + <horstretch>0</horstretch> |
| 121 | + <verstretch>0</verstretch> |
| 122 | + </sizepolicy> |
| 123 | + </property> |
| 124 | + <property name="minimumSize"> |
| 125 | + <size> |
| 126 | + <width>0</width> |
| 127 | + <height>50</height> |
| 128 | + </size> |
| 129 | + </property> |
| 130 | + <property name="maximumSize"> |
| 131 | + <size> |
| 132 | + <width>16777215</width> |
| 133 | + <height>250</height> |
| 134 | + </size> |
| 135 | + </property> |
| 136 | + <property name="widgetResizable"> |
| 137 | + <bool>true</bool> |
| 138 | + </property> |
| 139 | + <widget class="QWidget" name="scrollAreaWidgetContents"> |
| 140 | + <property name="geometry"> |
| 141 | + <rect> |
| 142 | + <x>0</x> |
| 143 | + <y>0</y> |
| 144 | + <width>198</width> |
| 145 | + <height>69</height> |
| 146 | + </rect> |
| 147 | + </property> |
| 148 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 149 | + <item> |
| 150 | + <layout class="QFormLayout" name="parametersLayout"/> |
| 151 | + </item> |
| 152 | + </layout> |
| 153 | + </widget> |
| 154 | + </widget> |
| 155 | + </item> |
| 156 | + <item row="9" column="0"> |
165 | 157 | <layout class="QGridLayout" name="gridLayout_3">
|
166 | 158 | <property name="spacing">
|
167 | 159 | <number>9</number>
|
|
182 | 174 | </item>
|
183 | 175 | </layout>
|
184 | 176 | </item>
|
185 |
| - <item row="13" column="0"> |
186 |
| - <widget class="QLabel" name="runLabel"> |
| 177 | + <item row="11" column="0"> |
| 178 | + <widget class="QPushButton" name="runBacktestPB"> |
| 179 | + <property name="enabled"> |
| 180 | + <bool>true</bool> |
| 181 | + </property> |
| 182 | + <property name="sizePolicy"> |
| 183 | + <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 184 | + <horstretch>0</horstretch> |
| 185 | + <verstretch>0</verstretch> |
| 186 | + </sizepolicy> |
| 187 | + </property> |
| 188 | + <property name="minimumSize"> |
| 189 | + <size> |
| 190 | + <width>0</width> |
| 191 | + <height>50</height> |
| 192 | + </size> |
| 193 | + </property> |
187 | 194 | <property name="text">
|
188 |
| - <string/> |
| 195 | + <string>Run</string> |
189 | 196 | </property>
|
190 | 197 | </widget>
|
191 | 198 | </item>
|
| 199 | + <item row="1" column="0"> |
| 200 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 201 | + <item> |
| 202 | + <widget class="QPushButton" name="addLocalDataFilePB"> |
| 203 | + <property name="text"> |
| 204 | + <string>Add Data</string> |
| 205 | + </property> |
| 206 | + </widget> |
| 207 | + </item> |
| 208 | + <item> |
| 209 | + <widget class="QPushButton" name="pushButton"> |
| 210 | + <property name="maximumSize"> |
| 211 | + <size> |
| 212 | + <width>24</width> |
| 213 | + <height>16777215</height> |
| 214 | + </size> |
| 215 | + </property> |
| 216 | + <property name="text"> |
| 217 | + <string>U</string> |
| 218 | + </property> |
| 219 | + </widget> |
| 220 | + </item> |
| 221 | + <item> |
| 222 | + <widget class="QPushButton" name="pushButton_2"> |
| 223 | + <property name="sizePolicy"> |
| 224 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 225 | + <horstretch>0</horstretch> |
| 226 | + <verstretch>0</verstretch> |
| 227 | + </sizepolicy> |
| 228 | + </property> |
| 229 | + <property name="maximumSize"> |
| 230 | + <size> |
| 231 | + <width>24</width> |
| 232 | + <height>16777215</height> |
| 233 | + </size> |
| 234 | + </property> |
| 235 | + <property name="text"> |
| 236 | + <string>D</string> |
| 237 | + </property> |
| 238 | + </widget> |
| 239 | + </item> |
| 240 | + <item> |
| 241 | + <widget class="QPushButton" name="pushButton_3"> |
| 242 | + <property name="maximumSize"> |
| 243 | + <size> |
| 244 | + <width>24</width> |
| 245 | + <height>16777215</height> |
| 246 | + </size> |
| 247 | + </property> |
| 248 | + <property name="text"> |
| 249 | + <string>X</string> |
| 250 | + </property> |
| 251 | + </widget> |
| 252 | + </item> |
| 253 | + </layout> |
| 254 | + </item> |
192 | 255 | </layout>
|
193 | 256 | </widget>
|
194 | 257 | </item>
|
|
0 commit comments