--- a/ui/EditProduct.ui Wed Jan 18 17:08:25 2023 +0100 +++ b/ui/EditProduct.ui Fri Jan 20 16:44:08 2023 +0100 @@ -12119,20 +12119,10 @@ <attribute name="title"> <string>Images</string> </attribute> - <widget class="QListView" name="filmView"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>181</width> - <height>451</height> - </rect> - </property> - </widget> <widget class="QPushButton" name="addImage"> <property name="geometry"> <rect> - <x>60</x> + <x>950</x> <y>470</y> <width>80</width> <height>23</height> @@ -12146,6 +12136,137 @@ <normaloff>:/icons/silk/image_add.png</normaloff>:/icons/silk/image_add.png</iconset> </property> </widget> + <widget class="QListWidget" name="filmStrip"> + <property name="geometry"> + <rect> + <x>10</x> + <y>10</y> + <width>346</width> + <height>491</height> + </rect> + </property> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOn</enum> + </property> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="tabKeyNavigation"> + <bool>true</bool> + </property> + <property name="defaultDropAction"> + <enum>Qt::IgnoreAction</enum> + </property> + <property name="iconSize"> + <size> + <width>330</width> + <height>330</height> + </size> + </property> + <property name="textElideMode"> + <enum>Qt::ElideRight</enum> + </property> + <property name="movement"> + <enum>QListView::Static</enum> + </property> + <property name="resizeMode"> + <enum>QListView::Fixed</enum> + </property> + <property name="layoutMode"> + <enum>QListView::Batched</enum> + </property> + <property name="spacing"> + <number>5</number> + </property> + <property name="viewMode"> + <enum>QListView::IconMode</enum> + </property> + </widget> + <widget class="QPushButton" name="delImage"> + <property name="geometry"> + <rect> + <x>1060</x> + <y>470</y> + <width>80</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Delete</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/image_delete.png</normaloff>:/icons/silk/image_delete.png</iconset> + </property> + </widget> + <widget class="QPushButton" name="prevImage"> + <property name="geometry"> + <rect> + <x>390</x> + <y>470</y> + <width>80</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Previous</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/resultset_previous.png</normaloff>:/icons/silk/resultset_previous.png</iconset> + </property> + </widget> + <widget class="QPushButton" name="nextImage"> + <property name="geometry"> + <rect> + <x>500</x> + <y>470</y> + <width>80</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Next</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/resultset_next.png</normaloff>:/icons/silk/resultset_next.png</iconset> + </property> + </widget> + <widget class="QPushButton" name="downloadImage"> + <property name="geometry"> + <rect> + <x>670</x> + <y>470</y> + <width>80</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Save</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/disk.png</normaloff>:/icons/silk/disk.png</iconset> + </property> + </widget> + <widget class="QPushButton" name="printImage"> + <property name="geometry"> + <rect> + <x>780</x> + <y>470</y> + <width>80</width> + <height>23</height> + </rect> + </property> + <property name="text"> + <string>Print</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/printer.png</normaloff>:/icons/silk/printer.png</iconset> + </property> + </widget> </widget> </widget> <widget class="QPushButton" name="exportButton">