SCMautoeval/UX.ui

1078 lines
26 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Main</class>
<widget class="QMainWindow" name="Main">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>700</height>
</rect>
</property>
<property name="windowTitle">
<string>Steam Trace</string>
</property>
<property name="windowIcon">
<iconset resource="st.qrc">
<normaloff>:/rsc/rsc/favicon_io/favicon.ico</normaloff>:/rsc/rsc/favicon_io/favicon.ico</iconset>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QFrame" name="frameHead">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>801</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">.QFrame {
background-color: rgb(240, 240, 240)
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QPushButton" name="btnExit">
<property name="geometry">
<rect>
<x>760</x>
<y>5</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="st.qrc">
<normaloff>:/rsc/rsc/Very-Basic-Cancel-icon.png</normaloff>:/rsc/rsc/Very-Basic-Cancel-icon.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="lblChromedriverStatus">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Chromedriver</string>
</property>
</widget>
<widget class="QLabel" name="lblLogo">
<property name="geometry">
<rect>
<x>10</x>
<y>5</y>
<width>30</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="st.qrc">:/rsc/rsc/favicon_io/android-chrome-192x192.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="lblDatabaseStatus">
<property name="geometry">
<rect>
<x>160</x>
<y>10</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Database</string>
</property>
</widget>
<widget class="QRadioButton" name="rbDatabaseStatus">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>10</y>
<width>16</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QRadioButton::indicator {
width: 10px;
height: 10px;
border-radius: 7px;
}
QRadioButton::indicator:checked {
background-color: green;
border: 2px solid black;
}
QRadioButton::indicator:unchecked {
background-color: red;
border: 2px solid black;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
<widget class="QRadioButton" name="rbChromedriverStatus">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>10</y>
<width>16</width>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QRadioButton::indicator {
width: 10px;
height: 10px;
border-radius: 7px;
}
QRadioButton::indicator:checked {
background-color: green;
border: 2px solid black;
}
QRadioButton::indicator:unchecked {
background-color: red;
border: 2px solid black;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="autoExclusive">
<bool>false</bool>
</property>
</widget>
<widget class="Line" name="line1_2">
<property name="geometry">
<rect>
<x>0</x>
<y>35</y>
<width>801</width>
<height>10</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
<widget class="QFrame" name="frameBody">
<property name="geometry">
<rect>
<x>0</x>
<y>41</y>
<width>801</width>
<height>635</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">.QPushButton {
background-color:rgb(240, 240, 240);
border:1px solid black;
border-radius: 5px;
}
.QFrame {
background-color:white;
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QFrame" name="frameGeneral">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>50</y>
<width>801</width>
<height>101</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QSpinBox" name="sbListings">
<property name="geometry">
<rect>
<x>80</x>
<y>40</y>
<width>61</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QDoubleSpinBox" name="dbsFloatPerc">
<property name="geometry">
<rect>
<x>390</x>
<y>40</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="value">
<double>0.050000000000000</double>
</property>
</widget>
<widget class="QCheckBox" name="cbSameSticker">
<property name="geometry">
<rect>
<x>480</x>
<y>70</y>
<width>131</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Same Sticker Mutliplier</string>
</property>
</widget>
<widget class="QLabel" name="lblFloatPerc">
<property name="geometry">
<rect>
<x>300</x>
<y>40</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Float Percent:</string>
</property>
</widget>
<widget class="QLabel" name="lblFloatRank">
<property name="geometry">
<rect>
<x>160</x>
<y>40</y>
<width>61</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Float Rank
Correlation:</string>
</property>
</widget>
<widget class="QLabel" name="lblUrl">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Url:</string>
</property>
</widget>
<widget class="QLabel" name="lblListings">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Listings:</string>
</property>
</widget>
<widget class="QPushButton" name="btnEvaluate">
<property name="geometry">
<rect>
<x>700</x>
<y>10</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Evaluate</string>
</property>
</widget>
<widget class="QLineEdit" name="leUrl">
<property name="geometry">
<rect>
<x>80</x>
<y>10</y>
<width>601</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QDoubleSpinBox" name="dbsStickerPerc">
<property name="geometry">
<rect>
<x>390</x>
<y>70</y>
<width>62</width>
<height>22</height>
</rect>
</property>
<property name="value">
<double>0.050000000000000</double>
</property>
</widget>
<widget class="QSpinBox" name="sbFloatRank">
<property name="geometry">
<rect>
<x>230</x>
<y>40</y>
<width>42</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>99</number>
</property>
</widget>
<widget class="QLabel" name="lblStickerPerc">
<property name="geometry">
<rect>
<x>300</x>
<y>70</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Sticker Percent:</string>
</property>
</widget>
</widget>
<widget class="Line" name="line1">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>781</width>
<height>16</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QFrame" name="frameListings">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>430</y>
<width>801</width>
<height>211</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QTableWidget" name="tableListings">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>781</width>
<height>191</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<column>
<property name="text">
<string>Nr.</string>
</property>
</column>
<column>
<property name="text">
<string>Value</string>
</property>
</column>
<column>
<property name="text">
<string>Profit</string>
</property>
</column>
<column>
<property name="text">
<string>Stickers</string>
</property>
</column>
<column>
<property name="text">
<string>LID</string>
</property>
</column>
</widget>
</widget>
<widget class="Line" name="line2">
<property name="geometry">
<rect>
<x>10</x>
<y>190</y>
<width>781</width>
<height>16</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="lblBestListings">
<property name="geometry">
<rect>
<x>340</x>
<y>400</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Best Listings</string>
</property>
</widget>
<widget class="QLabel" name="lblStatistics">
<property name="geometry">
<rect>
<x>340</x>
<y>170</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Statistics</string>
</property>
</widget>
<widget class="Line" name="line4">
<property name="geometry">
<rect>
<x>10</x>
<y>420</y>
<width>781</width>
<height>16</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="lblGeneral">
<property name="geometry">
<rect>
<x>340</x>
<y>20</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>General</string>
</property>
</widget>
<widget class="QFrame" name="frameDatabase">
<property name="geometry">
<rect>
<x>0</x>
<y>300</y>
<width>801</width>
<height>91</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QPushButton" name="btnConnectDatabase">
<property name="geometry">
<rect>
<x>350</x>
<y>30</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QLabel" name="lblPurgeStale">
<property name="geometry">
<rect>
<x>480</x>
<y>10</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Purge Stale Pricedata After:</string>
</property>
</widget>
<widget class="QSpinBox" name="sbPurgeStale">
<property name="geometry">
<rect>
<x>630</x>
<y>10</y>
<width>42</width>
<height>22</height>
</rect>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="suffix">
<string/>
</property>
<property name="maximum">
<number>1024</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QLabel" name="lblStaleHours">
<property name="geometry">
<rect>
<x>680</x>
<y>10</y>
<width>31</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Hours</string>
</property>
</widget>
<widget class="QFrame" name="frameLocal">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>331</width>
<height>71</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<widget class="QCheckBox" name="cbUseLocalDatabase">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>141</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Use Local Tinydb instead</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QFrame" name="frameOnline">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>291</width>
<height>21</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="lblip">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>IP:</string>
</property>
</widget>
<widget class="QLineEdit" name="lePort">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>240</x>
<y>0</y>
<width>51</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="lblPort">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>200</x>
<y>0</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Port:</string>
</property>
</widget>
<widget class="QLineEdit" name="leIP">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>0</y>
<width>171</width>
<height>20</height>
</rect>
</property>
</widget>
</widget>
<widget class="QLineEdit" name="leLocalDBName">
<property name="geometry">
<rect>
<x>160</x>
<y>40</y>
<width>101</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>tiny.db</string>
</property>
</widget>
</widget>
<zorder>frameLocal</zorder>
<zorder>btnConnectDatabase</zorder>
<zorder>lblPurgeStale</zorder>
<zorder>sbPurgeStale</zorder>
<zorder>lblStaleHours</zorder>
</widget>
<widget class="QFrame" name="frameStatistics">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>210</y>
<width>801</width>
<height>51</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QLabel" name="lblBucket">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Bucket Size:</string>
</property>
</widget>
<widget class="QProgressBar" name="pbPages">
<property name="geometry">
<rect>
<x>570</x>
<y>10</y>
<width>118</width>
<height>23</height>
</rect>
</property>
<property name="maximum">
<number>20</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="format">
<string> %v / %m</string>
</property>
</widget>
<widget class="QLabel" name="lblCooldown">
<property name="geometry">
<rect>
<x>250</x>
<y>10</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Cooldown:</string>
</property>
</widget>
<widget class="QLabel" name="lblPages">
<property name="geometry">
<rect>
<x>480</x>
<y>10</y>
<width>81</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Pages Queried:</string>
</property>
</widget>
<widget class="Line" name="lline2">
<property name="geometry">
<rect>
<x>450</x>
<y>0</y>
<width>16</width>
<height>41</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="QProgressBar" name="pbBucket">
<property name="geometry">
<rect>
<x>100</x>
<y>10</y>
<width>118</width>
<height>23</height>
</rect>
</property>
<property name="maximum">
<number>20</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="format">
<string> %v / %m</string>
</property>
</widget>
<widget class="QProgressBar" name="pbCooldown">
<property name="geometry">
<rect>
<x>320</x>
<y>10</y>
<width>118</width>
<height>23</height>
</rect>
</property>
<property name="maximum">
<number>60</number>
</property>
<property name="value">
<number>60</number>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="format">
<string> %v sek</string>
</property>
</widget>
<widget class="Line" name="lline1">
<property name="geometry">
<rect>
<x>220</x>
<y>0</y>
<width>16</width>
<height>41</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</widget>
<widget class="Line" name="line3">
<property name="geometry">
<rect>
<x>10</x>
<y>290</y>
<width>781</width>
<height>16</height>
</rect>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="midLineWidth">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="lblDatabase">
<property name="geometry">
<rect>
<x>340</x>
<y>270</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Database</string>
</property>
</widget>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar">
<property name="styleSheet">
<string notr="true">background-color: rgb(240, 240, 240);</string>
</property>
</widget>
</widget>
<resources>
<include location="st.qrc"/>
</resources>
<connections>
<connection>
<sender>btnExit</sender>
<signal>clicked()</signal>
<receiver>Main</receiver>
<slot>btnexit()</slot>
<hints>
<hint type="sourcelabel">
<x>776</x>
<y>21</y>
</hint>
<hint type="destinationlabel">
<x>634</x>
<y>-7</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnConnectDatabase</sender>
<signal>clicked()</signal>
<receiver>Main</receiver>
<slot>dbconnect()</slot>
<hints>
<hint type="sourcelabel">
<x>398</x>
<y>378</y>
</hint>
<hint type="destinationlabel">
<x>562</x>
<y>-2</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUseLocalDatabase</sender>
<signal>toggled(bool)</signal>
<receiver>Main</receiver>
<slot>local()</slot>
<hints>
<hint type="sourcelabel">
<x>28</x>
<y>399</y>
</hint>
<hint type="destinationlabel">
<x>512</x>
<y>-8</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnEvaluate</sender>
<signal>clicked()</signal>
<receiver>Main</receiver>
<slot>evaluate()</slot>
<hints>
<hint type="sourcelabel">
<x>736</x>
<y>112</y>
</hint>
<hint type="destinationlabel">
<x>675</x>
<y>-2</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>dbconnect()</slot>
<slot>evaluate()</slot>
<slot>local()</slot>
<slot>btnexit()</slot>
</slots>
</ui>