ui/EditProduct.ui

changeset 468
b21da6f583be
parent 467
c5f6f3f1b714
child 478
a3653722b0d6
--- a/ui/EditProduct.ui	Fri Jan 20 16:44:08 2023 +0100
+++ b/ui/EditProduct.ui	Sat Jan 21 14:27:10 2023 +0100
@@ -12122,8 +12122,8 @@
        <widget class="QPushButton" name="addImage">
         <property name="geometry">
          <rect>
-          <x>950</x>
-          <y>470</y>
+          <x>300</x>
+          <y>10</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12141,7 +12141,7 @@
          <rect>
           <x>10</x>
           <y>10</y>
-          <width>346</width>
+          <width>267</width>
           <height>491</height>
          </rect>
         </property>
@@ -12151,6 +12151,9 @@
         <property name="horizontalScrollBarPolicy">
          <enum>Qt::ScrollBarAlwaysOff</enum>
         </property>
+        <property name="editTriggers">
+         <set>QAbstractItemView::NoEditTriggers</set>
+        </property>
         <property name="tabKeyNavigation">
          <bool>true</bool>
         </property>
@@ -12159,8 +12162,8 @@
         </property>
         <property name="iconSize">
          <size>
-          <width>330</width>
-          <height>330</height>
+          <width>250</width>
+          <height>200</height>
          </size>
         </property>
         <property name="textElideMode">
@@ -12181,12 +12184,18 @@
         <property name="viewMode">
          <enum>QListView::IconMode</enum>
         </property>
+        <property name="selectionRectVisible">
+         <bool>true</bool>
+        </property>
+        <property name="itemAlignment">
+         <set>Qt::AlignHCenter</set>
+        </property>
        </widget>
        <widget class="QPushButton" name="delImage">
         <property name="geometry">
          <rect>
-          <x>1060</x>
-          <y>470</y>
+          <x>300</x>
+          <y>50</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12202,8 +12211,8 @@
        <widget class="QPushButton" name="prevImage">
         <property name="geometry">
          <rect>
-          <x>390</x>
-          <y>470</y>
+          <x>300</x>
+          <y>330</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12219,8 +12228,8 @@
        <widget class="QPushButton" name="nextImage">
         <property name="geometry">
          <rect>
-          <x>500</x>
-          <y>470</y>
+          <x>300</x>
+          <y>370</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12236,8 +12245,8 @@
        <widget class="QPushButton" name="downloadImage">
         <property name="geometry">
          <rect>
-          <x>670</x>
-          <y>470</y>
+          <x>300</x>
+          <y>130</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12253,8 +12262,8 @@
        <widget class="QPushButton" name="printImage">
         <property name="geometry">
          <rect>
-          <x>780</x>
-          <y>470</y>
+          <x>300</x>
+          <y>170</y>
           <width>80</width>
           <height>23</height>
          </rect>
@@ -12267,6 +12276,131 @@
           <normaloff>:/icons/silk/printer.png</normaloff>:/icons/silk/printer.png</iconset>
         </property>
        </widget>
+       <widget class="QLabel" name="currentImage">
+        <property name="geometry">
+         <rect>
+          <x>400</x>
+          <y>10</y>
+          <width>741</width>
+          <height>381</height>
+         </rect>
+        </property>
+        <property name="autoFillBackground">
+         <bool>false</bool>
+        </property>
+        <property name="frameShape">
+         <enum>QFrame::StyledPanel</enum>
+        </property>
+        <property name="text">
+         <string>Image here</string>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignCenter</set>
+        </property>
+       </widget>
+       <widget class="QLabel" name="image_filenameLabel">
+        <property name="geometry">
+         <rect>
+          <x>300</x>
+          <y>410</y>
+          <width>131</width>
+          <height>20</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Filename:</string>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+        </property>
+       </widget>
+       <widget class="QLabel" name="image_commentLabel">
+        <property name="geometry">
+         <rect>
+          <x>300</x>
+          <y>470</y>
+          <width>131</width>
+          <height>20</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Comment:</string>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+        </property>
+       </widget>
+       <widget class="QLineEdit" name="image_commentEdit">
+        <property name="geometry">
+         <rect>
+          <x>440</x>
+          <y>470</y>
+          <width>661</width>
+          <height>23</height>
+         </rect>
+        </property>
+        <property name="maxLength">
+         <number>256</number>
+        </property>
+       </widget>
+       <widget class="QLineEdit" name="image_filenameEdit">
+        <property name="geometry">
+         <rect>
+          <x>440</x>
+          <y>410</y>
+          <width>381</width>
+          <height>23</height>
+         </rect>
+        </property>
+        <property name="maxLength">
+         <number>256</number>
+        </property>
+        <property name="readOnly">
+         <bool>true</bool>
+        </property>
+       </widget>
+       <widget class="QLabel" name="image_pictypeLabel">
+        <property name="geometry">
+         <rect>
+          <x>300</x>
+          <y>440</y>
+          <width>131</width>
+          <height>20</height>
+         </rect>
+        </property>
+        <property name="text">
+         <string>Type:</string>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+        </property>
+       </widget>
+       <widget class="QComboBox" name="image_typeEdit">
+        <property name="geometry">
+         <rect>
+          <x>440</x>
+          <y>440</y>
+          <width>161</width>
+          <height>23</height>
+         </rect>
+        </property>
+       </widget>
+       <widget class="QLineEdit" name="image_timestampEdit">
+        <property name="geometry">
+         <rect>
+          <x>900</x>
+          <y>410</y>
+          <width>201</width>
+          <height>23</height>
+         </rect>
+        </property>
+        <property name="maxLength">
+         <number>256</number>
+        </property>
+        <property name="readOnly">
+         <bool>true</bool>
+        </property>
+       </widget>
       </widget>
      </widget>
      <widget class="QPushButton" name="exportButton">

mercurial