You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

271 lines
6.5 KiB

8 years ago
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
8 years ago
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item row="1" column="6">
<widget class="QCheckBox" name="cb_minSharpe">
<property name="text">
<string>Min. sharpe</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="10">
<widget class="QProgressBar" name="pb_progress">
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QSpinBox" name="sb_minWinRate">
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
</item>
<item row="0" column="1" colspan="8">
<widget class="QLineEdit" name="e_filename"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>#Strategies to generate:</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QSpinBox" name="sb_minTrades">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="QPushButton" name="e_go">
<property name="text">
<string>Go</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="sb_strategiesNum">
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>10000</number>
</property>
<property name="value">
<number>1000</number>
</property>
</widget>
</item>
<item row="1" column="8">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="10">
8 years ago
<widget class="QTreeWidget" name="tw_strategies">
<property name="sortingEnabled">
<bool>true</bool>
</property>
<column>
<property name="text">
<string>Strategy</string>
</property>
</column>
<column>
<property name="text">
<string>Trades #</string>
</property>
</column>
<column>
<property name="text">
<string>Total PnL</string>
</property>
</column>
<column>
<property name="text">
<string>PF</string>
</property>
</column>
<column>
<property name="text">
<string>Sharpe</string>
</property>
</column>
<column>
<property name="text">
<string>Avg. %</string>
</property>
</column>
<column>
<property name="text">
<string>Win %</string>
</property>
</column>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="rb_long">
<property name="text">
<string>Long</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Data source:</string>
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QPushButton" name="b_browse">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="cb_minTradesFilter">
<property name="text">
<string>Min. trades:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QCheckBox" name="cb_minWinRate">
<property name="text">
<string>Min. win rate</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QDoubleSpinBox" name="sb_minSharpe"/>
</item>
<item row="3" column="0">
<widget class="QRadioButton" name="rb_short">
<property name="text">
<string>Short</string>
</property>
8 years ago
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1041</width>
8 years ago
<height>27</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections>
<connection>
<sender>tw_strategies</sender>
<signal>itemClicked(QTreeWidgetItem*,int)</signal>
<receiver>MainWindow</receiver>
<slot>strategyClicked(QTreeWidgetItem*,int)</slot>
<hints>
<hint type="sourcelabel">
<x>106</x>
<y>103</y>
</hint>
<hint type="destinationlabel">
<x>800</x>
<y>33</y>
</hint>
</hints>
</connection>
<connection>
<sender>b_browse</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>browse()</slot>
<hints>
<hint type="sourcelabel">
<x>776</x>
<y>42</y>
</hint>
<hint type="destinationlabel">
<x>706</x>
<y>56</y>
</hint>
</hints>
</connection>
<connection>
<sender>e_go</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>go()</slot>
<hints>
<hint type="sourcelabel">
<x>768</x>
<y>69</y>
</hint>
<hint type="destinationlabel">
<x>680</x>
<y>84</y>
</hint>
</hints>
</connection>
8 years ago
</connections>
<slots>
<slot>strategyClicked(QTreeWidgetItem*,int)</slot>
<slot>browse()</slot>
<slot>go()</slot>
8 years ago
</slots>
</ui>