|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>238</width> |
10 |
| - <height>414</height> |
| 9 | + <width>234</width> |
| 10 | + <height>699</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
|
17 | 17 | <item row="0" column="0">
|
18 | 18 | <widget class="QGroupBox" name="groupBox">
|
19 | 19 | <property name="title">
|
20 |
| - <string>Strategies</string> |
| 20 | + <string>Back testing</string> |
21 | 21 | </property>
|
22 | 22 | <layout class="QGridLayout" name="gridLayout">
|
23 |
| - <item row="0" column="0"> |
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> |
| 23 | + <item row="7" column="0"> |
| 24 | + <widget class="QScrollArea" name="scrollArea"> |
| 25 | + <property name="widgetResizable"> |
| 26 | + <bool>true</bool> |
30 | 27 | </property>
|
31 |
| - <property name="minimumSize"> |
| 28 | + <widget class="QWidget" name="scrollAreaWidgetContents"> |
| 29 | + <property name="geometry"> |
| 30 | + <rect> |
| 31 | + <x>0</x> |
| 32 | + <y>0</y> |
| 33 | + <width>188</width> |
| 34 | + <height>205</height> |
| 35 | + </rect> |
| 36 | + </property> |
| 37 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 38 | + <item> |
| 39 | + <layout class="QFormLayout" name="parametersLayout"/> |
| 40 | + </item> |
| 41 | + </layout> |
| 42 | + </widget> |
| 43 | + </widget> |
| 44 | + </item> |
| 45 | + <item row="5" column="0"> |
| 46 | + <spacer name="verticalSpacer_2"> |
| 47 | + <property name="orientation"> |
| 48 | + <enum>Qt::Vertical</enum> |
| 49 | + </property> |
| 50 | + <property name="sizeType"> |
| 51 | + <enum>QSizePolicy::Preferred</enum> |
| 52 | + </property> |
| 53 | + <property name="sizeHint" stdset="0"> |
32 | 54 | <size>
|
33 |
| - <width>200</width> |
34 |
| - <height>0</height> |
| 55 | + <width>20</width> |
| 56 | + <height>20</height> |
35 | 57 | </size>
|
36 | 58 | </property>
|
37 |
| - </widget> |
| 59 | + </spacer> |
38 | 60 | </item>
|
39 |
| - <item row="2" column="0"> |
40 |
| - <spacer name="verticalSpacer_2"> |
| 61 | + <item row="8" column="0"> |
| 62 | + <spacer name="verticalSpacer"> |
41 | 63 | <property name="orientation">
|
42 | 64 | <enum>Qt::Vertical</enum>
|
43 | 65 | </property>
|
| 66 | + <property name="sizeType"> |
| 67 | + <enum>QSizePolicy::Expanding</enum> |
| 68 | + </property> |
44 | 69 | <property name="sizeHint" stdset="0">
|
45 | 70 | <size>
|
46 | 71 | <width>20</width>
|
|
50 | 75 | </spacer>
|
51 | 76 | </item>
|
52 | 77 | <item row="3" column="0">
|
53 |
| - <widget class="QProgressBar" name="runningStratPB"> |
54 |
| - <property name="value"> |
55 |
| - <number>0</number> |
| 78 | + <widget class="QLabel" name="label_4"> |
| 79 | + <property name="text"> |
| 80 | + <string>Strategy</string> |
| 81 | + </property> |
| 82 | + </widget> |
| 83 | + </item> |
| 84 | + <item row="4" column="0" colspan="2"> |
| 85 | + <widget class="QComboBox" name="strategyNameCB"> |
| 86 | + <property name="sizePolicy"> |
| 87 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 88 | + <horstretch>0</horstretch> |
| 89 | + <verstretch>0</verstretch> |
| 90 | + </sizepolicy> |
| 91 | + </property> |
| 92 | + <property name="minimumSize"> |
| 93 | + <size> |
| 94 | + <width>200</width> |
| 95 | + <height>0</height> |
| 96 | + </size> |
56 | 97 | </property>
|
57 | 98 | </widget>
|
58 | 99 | </item>
|
59 |
| - <item row="1" column="0"> |
| 100 | + <item row="9" column="0" colspan="2"> |
60 | 101 | <widget class="QPushButton" name="runBacktestPB">
|
61 | 102 | <property name="sizePolicy">
|
62 | 103 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
65 | 106 | </sizepolicy>
|
66 | 107 | </property>
|
67 | 108 | <property name="text">
|
68 |
| - <string>Run backtest</string> |
| 109 | + <string>Run</string> |
69 | 110 | </property>
|
70 | 111 | </widget>
|
71 | 112 | </item>
|
| 113 | + <item row="6" column="0" colspan="2"> |
| 114 | + <widget class="QLabel" name="label_3"> |
| 115 | + <property name="text"> |
| 116 | + <string>Parameters</string> |
| 117 | + </property> |
| 118 | + </widget> |
| 119 | + </item> |
| 120 | + <item row="12" column="0" colspan="2"> |
| 121 | + <widget class="QProgressBar" name="runningStratPB"> |
| 122 | + <property name="value"> |
| 123 | + <number>0</number> |
| 124 | + </property> |
| 125 | + </widget> |
| 126 | + </item> |
| 127 | + <item row="0" column="0" colspan="2"> |
| 128 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 129 | + <property name="spacing"> |
| 130 | + <number>9</number> |
| 131 | + </property> |
| 132 | + <item row="1" column="0"> |
| 133 | + <widget class="QLabel" name="label_2"> |
| 134 | + <property name="text"> |
| 135 | + <string>Tradse size</string> |
| 136 | + </property> |
| 137 | + </widget> |
| 138 | + </item> |
| 139 | + <item row="1" column="1"> |
| 140 | + <widget class="QLineEdit" name="lineEdit_3"/> |
| 141 | + </item> |
| 142 | + <item row="0" column="0"> |
| 143 | + <widget class="QLabel" name="label"> |
| 144 | + <property name="text"> |
| 145 | + <string>Starting cash</string> |
| 146 | + </property> |
| 147 | + </widget> |
| 148 | + </item> |
| 149 | + <item row="0" column="1"> |
| 150 | + <widget class="QLineEdit" name="lineEdit"> |
| 151 | + <property name="inputMask"> |
| 152 | + <string/> |
| 153 | + </property> |
| 154 | + </widget> |
| 155 | + </item> |
| 156 | + </layout> |
| 157 | + </item> |
| 158 | + <item row="2" column="0"> |
| 159 | + <spacer name="verticalSpacer_3"> |
| 160 | + <property name="orientation"> |
| 161 | + <enum>Qt::Vertical</enum> |
| 162 | + </property> |
| 163 | + <property name="sizeType"> |
| 164 | + <enum>QSizePolicy::Maximum</enum> |
| 165 | + </property> |
| 166 | + <property name="sizeHint" stdset="0"> |
| 167 | + <size> |
| 168 | + <width>20</width> |
| 169 | + <height>20</height> |
| 170 | + </size> |
| 171 | + </property> |
| 172 | + </spacer> |
| 173 | + </item> |
72 | 174 | </layout>
|
73 | 175 | </widget>
|
74 | 176 | </item>
|
|
0 commit comments