205 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			205 lines
		
	
	
		
			5.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <ui version="4.0">
 | |
|  <class>Dialog</class>
 | |
|  <widget class="QDialog" name="Dialog">
 | |
|   <property name="geometry">
 | |
|    <rect>
 | |
|     <x>0</x>
 | |
|     <y>0</y>
 | |
|     <width>728</width>
 | |
|     <height>234</height>
 | |
|    </rect>
 | |
|   </property>
 | |
|   <property name="sizePolicy">
 | |
|    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 | |
|     <horstretch>0</horstretch>
 | |
|     <verstretch>0</verstretch>
 | |
|    </sizepolicy>
 | |
|   </property>
 | |
|   <property name="maximumSize">
 | |
|    <size>
 | |
|     <width>16777215</width>
 | |
|     <height>16777215</height>
 | |
|    </size>
 | |
|   </property>
 | |
|   <property name="windowTitle">
 | |
|    <string>Edit metadata</string>
 | |
|   </property>
 | |
|   <property name="modal">
 | |
|    <bool>true</bool>
 | |
|   </property>
 | |
|   <layout class="QGridLayout" name="gridLayout">
 | |
|    <item row="0" column="0">
 | |
|     <layout class="QHBoxLayout" name="horizontalLayout">
 | |
|      <item>
 | |
|       <widget class="QGraphicsView" name="coverView">
 | |
|        <property name="maximumSize">
 | |
|         <size>
 | |
|          <width>165</width>
 | |
|          <height>16777215</height>
 | |
|         </size>
 | |
|        </property>
 | |
|        <property name="toolTip">
 | |
|         <string>Cover (click to change)</string>
 | |
|        </property>
 | |
|        <property name="frameShadow">
 | |
|         <enum>QFrame::Plain</enum>
 | |
|        </property>
 | |
|       </widget>
 | |
|      </item>
 | |
|      <item>
 | |
|       <layout class="QVBoxLayout" name="verticalLayout">
 | |
|        <item>
 | |
|         <widget class="QLineEdit" name="titleLine">
 | |
|          <property name="toolTip">
 | |
|           <string>Title</string>
 | |
|          </property>
 | |
|          <property name="placeholderText">
 | |
|           <string>Title</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <widget class="QLineEdit" name="authorLine">
 | |
|          <property name="toolTip">
 | |
|           <string>Author</string>
 | |
|          </property>
 | |
|          <property name="placeholderText">
 | |
|           <string>Author</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <widget class="QLineEdit" name="yearLine">
 | |
|          <property name="toolTip">
 | |
|           <string>Year</string>
 | |
|          </property>
 | |
|          <property name="placeholderText">
 | |
|           <string>Year</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <widget class="QLineEdit" name="tagsLine">
 | |
|          <property name="minimumSize">
 | |
|           <size>
 | |
|            <width>0</width>
 | |
|            <height>0</height>
 | |
|           </size>
 | |
|          </property>
 | |
|          <property name="toolTip">
 | |
|           <string>Tags (comma separated)</string>
 | |
|          </property>
 | |
|          <property name="placeholderText">
 | |
|           <string>Tags</string>
 | |
|          </property>
 | |
|         </widget>
 | |
|        </item>
 | |
|        <item>
 | |
|         <layout class="QHBoxLayout" name="horizontalLayout_2">
 | |
|          <item>
 | |
|           <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>
 | |
|           <widget class="QPushButton" name="okButton">
 | |
|            <property name="toolTip">
 | |
|             <string>OK</string>
 | |
|            </property>
 | |
|            <property name="text">
 | |
|             <string/>
 | |
|            </property>
 | |
|            <property name="icon">
 | |
|             <iconset resource="resources.qrc">
 | |
|              <normaloff>:/images/checkmark.svg</normaloff>:/images/checkmark.svg</iconset>
 | |
|            </property>
 | |
|            <property name="iconSize">
 | |
|             <size>
 | |
|              <width>24</width>
 | |
|              <height>24</height>
 | |
|             </size>
 | |
|            </property>
 | |
|            <property name="flat">
 | |
|             <bool>true</bool>
 | |
|            </property>
 | |
|           </widget>
 | |
|          </item>
 | |
|          <item>
 | |
|           <widget class="QPushButton" name="cancelButton">
 | |
|            <property name="toolTip">
 | |
|             <string>Cancel</string>
 | |
|            </property>
 | |
|            <property name="text">
 | |
|             <string/>
 | |
|            </property>
 | |
|            <property name="icon">
 | |
|             <iconset resource="resources.qrc">
 | |
|              <normaloff>:/images/error.svg</normaloff>:/images/error.svg</iconset>
 | |
|            </property>
 | |
|            <property name="iconSize">
 | |
|             <size>
 | |
|              <width>24</width>
 | |
|              <height>24</height>
 | |
|             </size>
 | |
|            </property>
 | |
|            <property name="flat">
 | |
|             <bool>true</bool>
 | |
|            </property>
 | |
|           </widget>
 | |
|          </item>
 | |
|          <item>
 | |
|           <spacer name="horizontalSpacer_2">
 | |
|            <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>
 | |
|           <widget class="QPushButton" name="dialogBackground">
 | |
|            <property name="text">
 | |
|             <string/>
 | |
|            </property>
 | |
|            <property name="icon">
 | |
|             <iconset resource="resources.qrc">
 | |
|              <normaloff>:/images/color.svg</normaloff>:/images/color.svg</iconset>
 | |
|            </property>
 | |
|            <property name="iconSize">
 | |
|             <size>
 | |
|              <width>27</width>
 | |
|              <height>27</height>
 | |
|             </size>
 | |
|            </property>
 | |
|            <property name="flat">
 | |
|             <bool>true</bool>
 | |
|            </property>
 | |
|           </widget>
 | |
|          </item>
 | |
|         </layout>
 | |
|        </item>
 | |
|       </layout>
 | |
|      </item>
 | |
|     </layout>
 | |
|    </item>
 | |
|   </layout>
 | |
|  </widget>
 | |
|  <resources>
 | |
|   <include location="resources.qrc"/>
 | |
|  </resources>
 | |
|  <connections/>
 | |
| </ui>
 |