215 lines
6.1 KiB
XML
215 lines
6.1 KiB
XML
<?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>331</width>
|
|
<height>433</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>horsy - editing package</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget{
|
|
background-color: rgb(30, 30, 30);
|
|
}
|
|
</string>
|
|
</property>
|
|
<widget class="QLineEdit" name="packagename_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>20</y>
|
|
<width>151</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Editing package</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="main_exe_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>305</y>
|
|
<width>291</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Main executable command (file.exe, python main.py, etc)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="source_url_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>200</y>
|
|
<width>291</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Url of source (project on GitHub, source archive)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="url_of_exe_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>165</y>
|
|
<width>291</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Url of executable (ends on .exe or .zip)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="dependency_url_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>235</y>
|
|
<width>291</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Dependency URL (installer in .exe)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="dependency_run_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>270</y>
|
|
<width>291</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Dependency run (run this during installation)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextBrowser" name="package_desc_box">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>60</y>
|
|
<width>256</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgb(74, 76, 83);
|
|
border-radius: 5px;
|
|
color: rgb(242, 242, 242);</string>
|
|
</property>
|
|
<property name="html">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
|
</property>
|
|
<property name="acceptRichText">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Package description. It should be a short text under 256 characters</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="update_button">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>360</y>
|
|
<width>291</width>
|
|
<height>50</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
color: rgb(204, 204, 204);
|
|
border-width: 1px;
|
|
border-radius:6px;
|
|
border-style: solid;
|
|
background-color: rgb(28, 30, 33);
|
|
border-color: rgb(66, 143, 225);
|
|
}
|
|
QPushButton:hover{
|
|
border-width: 2px;
|
|
}
|
|
QPushButton:pressed{
|
|
background-color: rgb(50, 60, 63);
|
|
}
|
|
QPushButton:disabled{
|
|
border-width: 0px;
|
|
background-color: rgb(92, 99, 109);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Update</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|