Dialog for metadata editing

This commit is contained in:
BasioMeusPuga
2018-03-02 00:11:48 +05:30
parent a9d6cf73c7
commit 98541a5ca3
4 changed files with 211 additions and 2 deletions

106
resources/raw/metadata.ui Normal file
View File

@@ -0,0 +1,106 @@
<?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>640</width>
<height>212</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>700</width>
<height>212</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="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>140</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>140</width>
<height>200</height>
</size>
</property>
<property name="baseSize">
<size>
<width>140</width>
<height>200</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="titleLine">
<property name="placeholderText">
<string>Title</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="authorLine">
<property name="placeholderText">
<string>Author</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="yearLine">
<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="placeholderText">
<string>Tags</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>