--- a/src/qtgui/viewaction.ui
+++ b/src/qtgui/viewaction.ui
@@ -1,114 +1,100 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ViewActionBase</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>ViewActionBase</cstring>
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>ViewActionBase</class>
+ <widget class="QDialog" name="ViewActionBase">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>132</height>
+ </rect>
</property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>400</width>
- <height>132</height>
- </rect>
+ <property name="windowTitle">
+ <string>Native Viewers</string>
</property>
- <property name="caption">
- <string>Native Viewers</string>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout3</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
+ <layout class="QHBoxLayout">
+ <item>
+ <layout class="QVBoxLayout">
+ <item>
+ <widget class="QLabel" name="textLabel1">
+ <property name="text">
+ <string>Select one or several mime types then click "Change Action"<br>You can also close this dialog and check "Use desktop preferences"<br>in the main panel to ignore this list and use your desktop defaults.</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Q3ListView" name="actionsLV">
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Sunken</enum>
+ </property>
+ <property name="selectionMode">
+ <enum>Q3ListView::Extended</enum>
+ </property>
+ <property name="allColumnsShowFocus">
+ <bool>true</bool>
+ </property>
+ <property name="showSortIndicator">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Select one or several file types, then click Change Action to modify the program used to open them</string>
+ </property>
+ <column>
+ <property name="text">
+ <string>File type</string>
</property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1</cstring>
+ <property name="clickable">
+ <bool>true</bool>
</property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
<property name="text">
- <string>Select one or several mime types then click "Change Action"<br>You can also close this dialog and check "Use desktop preferences"<br>in the main panel to ignore this list and use your desktop defaults.</string>
+ <string>Action</string>
</property>
- </widget>
- <widget class="QListView">
- <column>
- <property name="text">
- <string>File type</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Action</string>
- </property>
- <property name="clickable">
- <bool>true</bool>
- </property>
- <property name="resizable">
- <bool>true</bool>
- </property>
- </column>
- <property name="name">
- <cstring>actionsLV</cstring>
- </property>
- <property name="frameShape">
- <enum>StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>Sunken</enum>
- </property>
- <property name="selectionMode">
- <enum>Extended</enum>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="showSortIndicator">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Select one or several file types, then click Change Action to modify the program used to open them</string>
- </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout">
+ <item>
+ <widget class="QPushButton" name="chgActPB">
+ <property name="text">
+ <string>Change Action</string>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout1</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QPushButton">
- <property name="name">
- <cstring>chgActPB</cstring>
- </property>
- <property name="text">
- <string>Change Action</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>closePB</cstring>
- </property>
- <property name="text">
- <string>Close</string>
- </property>
- </widget>
- </hbox>
+ </item>
+ <item>
+ <widget class="QPushButton" name="closePB">
+ <property name="text">
+ <string>Close</string>
+ </property>
</widget>
- </vbox>
- </widget>
- </hbox>
-</widget>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+</ui>