Switch to unified view

a/src/qtgui/viewaction.ui b/src/qtgui/viewaction.ui
...
...
4
 <widget class="QDialog" name="ViewActionBase">
4
 <widget class="QDialog" name="ViewActionBase">
5
  <property name="geometry">
5
  <property name="geometry">
6
   <rect>
6
   <rect>
7
    <x>0</x>
7
    <x>0</x>
8
    <y>0</y>
8
    <y>0</y>
9
    <width>446</width>
9
    <width>632</width>
10
    <height>180</height>
10
    <height>726</height>
11
   </rect>
11
   </rect>
12
  </property>
12
  </property>
13
  <property name="windowTitle">
13
  <property name="windowTitle">
14
   <string>Native Viewers</string>
14
   <string>Native Viewers</string>
15
  </property>
15
  </property>
16
  <layout class="QHBoxLayout">
16
  <layout class="QVBoxLayout" name="verticalLayout_3">
17
   <item>
17
   <item>
18
    <layout class="QVBoxLayout">
18
    <widget class="QLabel" name="textLabel1">
19
     <property name="text">
20
      <string>Select one or several mime types then use the controls in the bottom frame to change how they are processed.</string>
21
     </property>
22
     <property name="wordWrap">
23
      <bool>false</bool>
24
     </property>
25
    </widget>
26
   </item>
27
   <item>
28
    <widget class="QCheckBox" name="useDesktopCB">
29
     <property name="text">
30
      <string>Use Desktop preferences by default</string>
31
     </property>
32
    </widget>
33
   </item>
34
   <item>
35
    <widget class="QTableWidget" name="actionsLV">
36
     <property name="toolTip">
37
      <string>Select one or several file types, then use the controls in the frame below to change how they are processed</string>
38
     </property>
39
     <property name="frameShape">
40
      <enum>QFrame::StyledPanel</enum>
41
     </property>
42
     <property name="frameShadow">
43
      <enum>QFrame::Sunken</enum>
44
     </property>
45
     <property name="editTriggers">
46
      <set>QAbstractItemView::NoEditTriggers</set>
47
     </property>
48
     <property name="selectionMode">
49
      <enum>QAbstractItemView::ExtendedSelection</enum>
50
     </property>
51
     <property name="selectionBehavior">
52
      <enum>QAbstractItemView::SelectRows</enum>
53
     </property>
54
     <property name="showGrid">
55
      <bool>true</bool>
56
     </property>
57
     <property name="sortingEnabled">
58
      <bool>true</bool>
59
     </property>
60
     <property name="columnCount">
61
      <number>2</number>
62
     </property>
63
     <property name="allColumnsShowFocus" stdset="0">
64
      <bool>true</bool>
65
     </property>
66
     <property name="showSortIndicator" stdset="0">
67
      <bool>true</bool>
68
     </property>
69
     <attribute name="horizontalHeaderDefaultSectionSize">
70
      <number>150</number>
71
     </attribute>
72
     <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
73
      <bool>true</bool>
74
     </attribute>
75
     <attribute name="horizontalHeaderStretchLastSection">
76
      <bool>true</bool>
77
     </attribute>
78
     <attribute name="verticalHeaderVisible">
79
      <bool>false</bool>
80
     </attribute>
81
     <column/>
82
     <column/>
83
    </widget>
84
   </item>
85
   <item>
86
    <widget class="QFrame" name="frame">
87
     <property name="frameShape">
88
      <enum>QFrame::StyledPanel</enum>
89
     </property>
90
     <property name="frameShadow">
91
      <enum>QFrame::Raised</enum>
92
     </property>
93
     <property name="lineWidth">
94
      <number>2</number>
95
     </property>
96
     <layout class="QVBoxLayout" name="verticalLayout_2">
97
      <item>
98
       <layout class="QVBoxLayout" name="verticalLayout">
99
        <item>
100
         <widget class="QCheckBox" name="setExceptCB">
101
          <property name="text">
102
           <string>Exception to Desktop preferences</string>
103
          </property>
104
         </widget>
105
        </item>
106
        <item>
107
         <layout class="QHBoxLayout" name="horizontalLayout_2">
108
          <item>
109
           <widget class="QLabel" name="label">
110
            <property name="text">
111
             <string>Action (empty -> recoll default)</string>
112
            </property>
113
           </widget>
114
          </item>
115
          <item>
116
           <widget class="QLineEdit" name="newActionLE"/>
117
          </item>
118
         </layout>
119
        </item>
120
        <item>
121
         <widget class="QPushButton" name="chgActPB">
122
          <property name="text">
123
           <string>Apply to current selection</string>
124
          </property>
125
         </widget>
126
        </item>
127
       </layout>
128
      </item>
129
     </layout>
130
    </widget>
131
   </item>
132
   <item>
133
    <layout class="QHBoxLayout" name="horizontalLayout">
19
     <item>
134
     <item>
20
      <widget class="QLabel" name="textLabel1">
135
      <spacer name="horizontalSpacer">
136
       <property name="orientation">
137
        <enum>Qt::Horizontal</enum>
138
       </property>
139
       <property name="sizeHint" stdset="0">
140
        <size>
141
         <width>40</width>
142
         <height>20</height>
143
        </size>
144
       </property>
145
      </spacer>
146
     </item>
147
     <item>
148
      <widget class="QPushButton" name="closePB">
21
       <property name="text">
149
       <property name="text">
22
        <string>Select one or several mime types then click &quot;Change Action&quot;&lt;br&gt;You can also close this dialog and check &quot;Use desktop preferences&quot;&lt;br&gt;in the main panel to ignore this list and use your desktop defaults.</string>
150
        <string>Close</string>
23
       </property>
24
       <property name="wordWrap">
25
        <bool>false</bool>
26
       </property>
151
       </property>
27
      </widget>
152
      </widget>
28
     </item>
29
     <item>
30
      <widget class="QTableWidget" name="actionsLV">
31
       <property name="toolTip">
32
        <string>Select one or several file types, then click Change Action to modify the program used to open them</string>
33
       </property>
34
       <property name="frameShape">
35
        <enum>QFrame::StyledPanel</enum>
36
       </property>
37
       <property name="frameShadow">
38
        <enum>QFrame::Sunken</enum>
39
       </property>
40
       <property name="editTriggers">
41
        <set>QAbstractItemView::NoEditTriggers</set>
42
       </property>
43
       <property name="selectionMode">
44
        <enum>QAbstractItemView::ExtendedSelection</enum>
45
       </property>
46
       <property name="selectionBehavior">
47
        <enum>QAbstractItemView::SelectRows</enum>
48
       </property>
49
       <property name="showGrid">
50
        <bool>true</bool>
51
       </property>
52
       <property name="sortingEnabled">
53
        <bool>true</bool>
54
       </property>
55
       <property name="columnCount">
56
        <number>2</number>
57
       </property>
58
       <property name="allColumnsShowFocus" stdset="0">
59
        <bool>true</bool>
60
       </property>
61
       <property name="showSortIndicator" stdset="0">
62
        <bool>true</bool>
63
       </property>
64
       <attribute name="horizontalHeaderDefaultSectionSize">
65
        <number>150</number>
66
       </attribute>
67
       <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
68
        <bool>true</bool>
69
       </attribute>
70
       <attribute name="horizontalHeaderStretchLastSection">
71
        <bool>true</bool>
72
       </attribute>
73
       <attribute name="verticalHeaderVisible">
74
        <bool>false</bool>
75
       </attribute>
76
       <attribute name="verticalHeaderVisible">
77
        <bool>false</bool>
78
       </attribute>
79
       <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
80
        <bool>true</bool>
81
       </attribute>
82
       <attribute name="horizontalHeaderStretchLastSection">
83
        <bool>true</bool>
84
       </attribute>
85
       <attribute name="horizontalHeaderDefaultSectionSize">
86
        <number>150</number>
87
       </attribute>
88
       <column/>
89
       <column/>
90
      </widget>
91
     </item>
92
     <item>
93
      <layout class="QHBoxLayout">
94
       <item>
95
        <widget class="QPushButton" name="chgActPB">
96
         <property name="text">
97
          <string>Change Action</string>
98
         </property>
99
        </widget>
100
       </item>
101
       <item>
102
        <widget class="QPushButton" name="closePB">
103
         <property name="text">
104
          <string>Close</string>
105
         </property>
106
        </widget>
107
       </item>
108
      </layout>
109
     </item>
153
     </item>
110
    </layout>
154
    </layout>
111
   </item>
155
   </item>
112
  </layout>
156
  </layout>
113
 </widget>
157
 </widget>