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.

164 lines
3.7 KiB

7 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>1050</width>
<height>712</height>
</rect>
</property>
<property name="windowTitle">
<string>Nailab</string>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item row="0" column="0">
<widget class="QTabWidget" name="tabs">
<property name="currentIndex">
<number>-1</number>
</property>
<property name="tabsClosable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1050</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew_strategy"/>
<addaction name="actionOpen_strategy"/>
</widget>
<widget class="QMenu" name="menuBacktest">
<property name="title">
<string>Backtest</string>
</property>
<addaction name="actionExecute"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuBacktest"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionOpenTrades">
<property name="text">
<string>Open...</string>
</property>
</action>
<action name="actionNew_strategy">
<property name="text">
<string>New strategy</string>
</property>
</action>
<action name="actionOpen_strategy">
<property name="text">
<string>Open strategy</string>
</property>
</action>
<action name="actionExecute">
<property name="text">
<string>Execute</string>
</property>
</action>
</widget>
<resources/>
<connections>
<connection>
<sender>actionOpen_strategy</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>openStrategy()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>524</x>
<y>355</y>
</hint>
</hints>
</connection>
<connection>
<sender>tabs</sender>
<signal>tabCloseRequested(int)</signal>
<receiver>MainWindow</receiver>
<slot>tabCloseRequested(int)</slot>
<hints>
<hint type="sourcelabel">
<x>481</x>
<y>335</y>
</hint>
<hint type="destinationlabel">
<x>1049</x>
<y>99</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionNew_strategy</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>newStrategy()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>524</x>
<y>355</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionExecute</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>executeStrategy()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>524</x>
<y>355</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>openTrades()</slot>
<slot>openStrategy()</slot>
<slot>tabCloseRequested(int)</slot>
<slot>newStrategy()</slot>
<slot>executeStrategy()</slot>
</slots>
</ui>