warchron_app/src/warchron/view/ui/ui_main_window.ui

807 lines
21 KiB
Text
Raw Normal View History

2026-01-15 12:43:40 +01:00
<?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>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
2026-01-19 11:16:23 +01:00
<string>WarChron</string>
2026-01-15 12:43:40 +01:00
</property>
2026-01-16 18:13:01 +01:00
<property name="windowIcon">
<iconset>
2026-01-19 11:16:23 +01:00
<normaloff>../resources/warchron_logo.png</normaloff>../resources/warchron_logo.png</iconset>
2026-01-16 18:13:01 +01:00
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>16</x>
<y>9</y>
<width>771</width>
<height>531</height>
</rect>
</property>
<property name="currentIndex">
2026-01-23 17:35:55 +01:00
<number>1</number>
2026-01-16 18:13:01 +01:00
</property>
<widget class="QWidget" name="playersTab">
<attribute name="icon">
<iconset>
<normaloff>../resources/users.png</normaloff>../resources/users.png</iconset>
</attribute>
<attribute name="title">
<string>Players</string>
</attribute>
<widget class="QTableWidget" name="playersTable">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>741</width>
<height>431</height>
</rect>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
2026-01-23 17:35:55 +01:00
<column>
<property name="text">
<string>Wars</string>
</property>
</column>
<column>
<property name="text">
<string>Wins</string>
</property>
</column>
2026-01-27 11:49:37 +01:00
<column>
<property name="text">
<string>Rewards</string>
</property>
</column>
2026-01-16 18:13:01 +01:00
</widget>
<widget class="QPushButton" name="addPlayerBtn">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add player</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="warsTab">
<attribute name="icon">
<iconset>
<normaloff>../resources/swords-small.png</normaloff>../resources/swords-small.png</iconset>
</attribute>
<attribute name="title">
<string>Wars</string>
</attribute>
<widget class="QTreeWidget" name="warsTree">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>211</width>
<height>431</height>
</rect>
</property>
<column>
<property name="text">
2026-01-23 17:35:55 +01:00
<string notr="true"/>
2026-01-16 18:13:01 +01:00
</property>
</column>
</widget>
<widget class="QPushButton" name="addWarBtn">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add war</string>
</property>
</widget>
<widget class="QPushButton" name="addCampaignBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add Campaign</string>
</property>
</widget>
2026-01-21 07:43:04 +01:00
<widget class="QPushButton" name="addRoundBtn">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>20</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add Round</string>
</property>
</widget>
2026-01-23 17:35:55 +01:00
<widget class="QStackedWidget" name="selectedDetailsStack">
<property name="geometry">
<rect>
<x>239</x>
<y>59</y>
<width>511</width>
<height>431</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="pageEmpty">
<widget class="QLabel" name="labelSelect">
<property name="geometry">
<rect>
<x>110</x>
<y>30</y>
<width>301</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>Select an element within the tree to show/edit details.</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="pageWar">
<widget class="QLabel" name="warName">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>warName</string>
</property>
</widget>
<widget class="QLabel" name="warYear">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>warYear</string>
</property>
</widget>
<widget class="QLabel" name="labelEntrants">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>150</y>
<width>111</width>
<height>16</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
<property name="text">
<string>Entrants</string>
</property>
</widget>
<widget class="QPushButton" name="addEntrantBtn">
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>420</x>
<y>270</y>
<width>81</width>
2026-01-23 17:35:55 +01:00
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add entrant</string>
</property>
</widget>
<widget class="QTableWidget" name="playersTable_2">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>170</y>
2026-01-23 17:35:55 +01:00
<width>401</width>
2026-01-27 11:49:37 +01:00
<height>211</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Faction</string>
</property>
</column>
<column>
<property name="text">
<string>Campaigns</string>
</property>
</column>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Victory pts.</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
2026-01-27 11:49:37 +01:00
<column>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Theme pts</string>
2026-01-23 17:35:55 +01:00
</property>
2026-01-27 11:49:37 +01:00
</column>
2026-01-23 17:35:55 +01:00
</widget>
2026-01-27 11:49:37 +01:00
<widget class="QPushButton" name="addRoundBtn_8">
2026-01-23 17:35:55 +01:00
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>230</x>
2026-01-27 11:49:37 +01:00
<y>400</y>
<width>61</width>
2026-01-23 17:35:55 +01:00
<height>23</height>
</rect>
</property>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>End war</string>
2026-01-23 17:35:55 +01:00
</property>
</widget>
2026-01-27 11:49:37 +01:00
<widget class="QListWidget" name="listObjectives">
2026-01-23 17:35:55 +01:00
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>60</y>
<width>161</width>
<height>71</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
</widget>
2026-01-27 11:49:37 +01:00
<widget class="QLabel" name="labelObjectives">
2026-01-23 17:35:55 +01:00
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>40</y>
<width>111</width>
<height>20</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Objectives</string>
2026-01-23 17:35:55 +01:00
</property>
</widget>
2026-01-27 11:49:37 +01:00
<widget class="QPushButton" name="addCampaignBtn_3">
2026-01-23 17:35:55 +01:00
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>180</x>
<y>80</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>23</height>
</rect>
</property>
2026-01-27 11:49:37 +01:00
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Add objective</string>
2026-01-23 17:35:55 +01:00
</property>
</widget>
</widget>
<widget class="QWidget" name="pageCampaign">
<widget class="QLabel" name="campaignName">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>campaignName</string>
</property>
</widget>
<widget class="QLabel" name="labelRound">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>40</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Sectors</string>
2026-01-23 17:35:55 +01:00
</property>
</widget>
<widget class="QPushButton" name="addEntrantBtn_2">
<property name="geometry">
<rect>
<x>420</x>
2026-01-27 11:49:37 +01:00
<y>270</y>
2026-01-23 17:35:55 +01:00
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add entrant</string>
</property>
</widget>
<widget class="QLabel" name="campaignMonth">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>campaignMonth</string>
</property>
</widget>
<widget class="QLabel" name="labelEntrants_2">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>180</y>
2026-01-23 17:35:55 +01:00
<width>47</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Entrants</string>
</property>
</widget>
<widget class="QTableWidget" name="playersTable_3">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>200</y>
2026-01-23 17:35:55 +01:00
<width>401</width>
2026-01-27 11:49:37 +01:00
<height>181</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
</column>
<column>
<property name="text">
<string>Leader</string>
</property>
</column>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Victory pts.</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Theme pts.</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
</widget>
<widget class="QTableWidget" name="playersTable_4">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>60</y>
<width>401</width>
<height>101</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Name</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Round</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
<column>
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Major obj.</string>
2026-01-23 17:35:55 +01:00
</property>
</column>
2026-01-27 11:49:37 +01:00
<column>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Minor opp.</string>
2026-01-23 17:35:55 +01:00
</property>
2026-01-27 11:49:37 +01:00
</column>
<column>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Influence imp.</string>
2026-01-23 17:35:55 +01:00
</property>
2026-01-27 11:49:37 +01:00
</column>
2026-01-23 17:35:55 +01:00
</widget>
<widget class="QPushButton" name="addSectorBtn">
<property name="enabled">
2026-01-27 11:49:37 +01:00
<bool>true</bool>
2026-01-23 17:35:55 +01:00
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>420</x>
<y>110</y>
<width>71</width>
2026-01-23 17:35:55 +01:00
<height>23</height>
</rect>
</property>
<property name="text">
<string>Add Sector</string>
</property>
</widget>
<widget class="QPushButton" name="endCampaignBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>210</x>
2026-01-23 17:35:55 +01:00
<y>400</y>
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>End campaign</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="pageRound">
<widget class="QLabel" name="labelChoices">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>40</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Choices</string>
</property>
</widget>
<widget class="QTableWidget" name="choicesTable">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>60</y>
<width>301</width>
<height>141</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
2026-01-27 11:49:37 +01:00
<column>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Player</string>
2026-01-23 17:35:55 +01:00
</property>
2026-01-27 11:49:37 +01:00
</column>
2026-01-23 17:35:55 +01:00
<column>
<property name="text">
<string>Prioritary</string>
</property>
</column>
<column>
<property name="text">
<string>Secondary</string>
</property>
</column>
</widget>
<widget class="QLabel" name="roundNb">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Round Nb</string>
</property>
</widget>
<widget class="QPushButton" name="resolveBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>320</x>
<y>110</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Resolve pairing</string>
</property>
</widget>
<widget class="QTableWidget" name="playersTable_6">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>240</y>
<width>301</width>
<height>111</height>
2026-01-23 17:35:55 +01:00
</rect>
</property>
2026-01-27 11:49:37 +01:00
<column>
2026-01-23 17:35:55 +01:00
<property name="text">
2026-01-27 11:49:37 +01:00
<string>Sector</string>
2026-01-23 17:35:55 +01:00
</property>
2026-01-27 11:49:37 +01:00
</column>
2026-01-23 17:35:55 +01:00
<column>
<property name="text">
<string>Player 1</string>
</property>
</column>
<column>
<property name="text">
<string>Player 2</string>
</property>
</column>
</widget>
<widget class="QPushButton" name="resultBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>320</x>
<y>290</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Enter results</string>
</property>
</widget>
<widget class="QPushButton" name="endRoundBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
2026-01-27 11:49:37 +01:00
<x>220</x>
2026-01-23 17:35:55 +01:00
<y>400</y>
2026-01-27 11:49:37 +01:00
<width>71</width>
2026-01-23 17:35:55 +01:00
<height>23</height>
</rect>
</property>
<property name="text">
<string>End round</string>
</property>
</widget>
<widget class="QLabel" name="labelChoices_2">
<property name="geometry">
<rect>
<x>10</x>
2026-01-27 11:49:37 +01:00
<y>220</y>
2026-01-23 17:35:55 +01:00
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Battles</string>
</property>
</widget>
</widget>
</widget>
2026-01-16 18:13:01 +01:00
</widget>
</widget>
</widget>
2026-01-15 12:43:40 +01:00
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
2026-01-21 07:43:04 +01:00
<height>21</height>
2026-01-15 12:43:40 +01:00
</rect>
</property>
2026-01-16 18:13:01 +01:00
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionNew"/>
<addaction name="actionOpen"/>
<addaction name="actionSave"/>
<addaction name="actionSave_as"/>
<addaction name="separator"/>
<addaction name="actionExport"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuEdit">
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionUndo"/>
<addaction name="actionRedo"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
<addaction name="menuHelp"/>
2026-01-15 12:43:40 +01:00
</widget>
<widget class="QStatusBar" name="statusbar"/>
2026-01-16 18:13:01 +01:00
<action name="actionNew">
<property name="icon">
<iconset>
<normaloff>../resources/document.png</normaloff>../resources/document.png</iconset>
</property>
<property name="text">
<string>New</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="actionOpen">
<property name="icon">
<iconset>
<normaloff>../resources/folder.png</normaloff>../resources/folder.png</iconset>
</property>
<property name="text">
<string>Open</string>
</property>
2026-01-19 11:16:23 +01:00
<property name="shortcut">
<string>Ctrl+O</string>
</property>
2026-01-16 18:13:01 +01:00
</action>
<action name="actionSave">
<property name="icon">
<iconset>
<normaloff>../resources/disk.png</normaloff>../resources/disk.png</iconset>
</property>
<property name="text">
<string>Save</string>
</property>
2026-01-19 11:16:23 +01:00
<property name="shortcut">
<string>Ctrl+S</string>
</property>
2026-01-16 18:13:01 +01:00
</action>
<action name="actionExit">
<property name="icon">
<iconset>
<normaloff>../resources/door--arrow.png</normaloff>../resources/door--arrow.png</iconset>
</property>
<property name="text">
<string>Exit</string>
</property>
2026-01-19 11:16:23 +01:00
<property name="shortcut">
<string>Ctrl+Shift+Q</string>
</property>
2026-01-16 18:13:01 +01:00
</action>
<action name="actionUndo">
<property name="icon">
<iconset>
<normaloff>../resources/arrow-curve-180-left.png</normaloff>../resources/arrow-curve-180-left.png</iconset>
</property>
<property name="text">
<string>Undo</string>
</property>
2026-01-23 17:35:55 +01:00
<property name="shortcut">
<string>Ctrl+Z</string>
</property>
2026-01-16 18:13:01 +01:00
</action>
<action name="actionRedo">
<property name="icon">
<iconset>
<normaloff>../resources/arrow-curve.png</normaloff>../resources/arrow-curve.png</iconset>
</property>
<property name="text">
<string>Redo</string>
</property>
2026-01-23 17:35:55 +01:00
<property name="shortcut">
<string>Ctrl+Y</string>
</property>
2026-01-16 18:13:01 +01:00
</action>
<action name="actionAbout">
<property name="icon">
<iconset>
<normaloff>../resources/question.png</normaloff>../resources/question.png</iconset>
</property>
<property name="text">
<string>About</string>
</property>
</action>
<action name="actionExport">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset>
<normaloff>../resources/notebook--arrow.png</normaloff>../resources/notebook--arrow.png</iconset>
</property>
<property name="text">
<string>Export</string>
</property>
</action>
<action name="actionSave_as">
<property name="icon">
<iconset>
<normaloff>../resources/disk--pencil.png</normaloff>../resources/disk--pencil.png</iconset>
</property>
<property name="text">
<string>Save as...</string>
</property>
</action>
2026-01-15 12:43:40 +01:00
</widget>
<resources/>
<connections/>
</ui>