deletedialogbase.ui 5 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
 <class>DeleteDialogBase</class>
4 5
 <widget class="QWidget" name="DeleteDialogBase">
  <property name="geometry">
6 7 8
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>913</width>
    <height>757</height>
11 12
   </rect>
  </property>
13
  <property name="minimumSize">
14 15 16 17 18
   <size>
    <width>420</width>
    <height>320</height>
   </size>
  </property>
19 20
  <layout class="QVBoxLayout">
   <property name="spacing">
21 22
    <number>6</number>
   </property>
23 24 25 26 27 28 29 30 31 32
   <property name="leftMargin">
    <number>11</number>
   </property>
   <property name="topMargin">
    <number>11</number>
   </property>
   <property name="rightMargin">
    <number>11</number>
   </property>
   <property name="bottomMargin">
33 34
    <number>11</number>
   </property>
35
   <item>
36 37
    <layout class="QHBoxLayout">
     <property name="spacing">
38 39
      <number>6</number>
     </property>
40 41 42 43 44 45 46 47 48 49
     <property name="leftMargin">
      <number>0</number>
     </property>
     <property name="topMargin">
      <number>0</number>
     </property>
     <property name="rightMargin">
      <number>0</number>
     </property>
     <property name="bottomMargin">
50 51
      <number>0</number>
     </property>
52
     <item>
53 54 55
      <widget class="QLabel" name="ddWarningIcon">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
56 57 58 59
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
60 61
       <property name="text">
        <string comment="KDE::DoNotExtract">Icon Placeholder, not in GUI</string>
62
       </property>
63
       <property name="wordWrap">
64 65 66 67 68
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item>
69 70
      <layout class="QVBoxLayout">
       <property name="spacing">
71 72
        <number>6</number>
       </property>
73 74 75 76 77 78 79 80 81 82
       <property name="leftMargin">
        <number>0</number>
       </property>
       <property name="topMargin">
        <number>0</number>
       </property>
       <property name="rightMargin">
        <number>0</number>
       </property>
       <property name="bottomMargin">
83 84
        <number>0</number>
       </property>
85
       <item>
86 87
        <widget class="QLabel" name="textLabel1">
         <property name="text">
88 89
          <string>Are you sure that you want to remove these items?</string>
         </property>
90
         <property name="alignment">
91 92
          <set>Qt::AlignCenter</set>
         </property>
93
         <property name="wordWrap">
94 95
          <bool>false</bool>
         </property>
96
        </widget>
97 98
       </item>
       <item>
99 100 101
        <widget class="QLabel" name="ddDeleteText">
         <property name="text">
          <string comment="KDE::DoNotExtract">Deletion method placeholder, never shown to user.</string>
102
         </property>
103
         <property name="alignment">
104 105
          <set>Qt::AlignCenter</set>
         </property>
106
         <property name="wordWrap">
107 108
          <bool>true</bool>
         </property>
109
        </widget>
110 111 112 113 114 115
       </item>
      </layout>
     </item>
    </layout>
   </item>
   <item>
116 117 118
    <widget class="QListWidget" name="ddFileList">
     <property name="selectionMode">
      <enum>QAbstractItemView::NoSelection</enum>
119 120 121 122
     </property>
    </widget>
   </item>
   <item>
123 124 125
    <widget class="QLabel" name="ddNumFiles">
     <property name="text">
      <string comment="KDE::DoNotExtract">Placeholder for number of files, not in GUI</string>
126
     </property>
127
     <property name="alignment">
128 129
      <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
     </property>
130
     <property name="wordWrap">
131 132 133 134 135
      <bool>false</bool>
     </property>
    </widget>
   </item>
   <item>
136 137
    <widget class="QCheckBox" name="ddShouldDelete">
     <property name="toolTip">
138 139
      <string>If checked, files will be permanently removed instead of being placed in the Trash Bin</string>
     </property>
140 141
     <property name="whatsThis">
      <string>&lt;qt&gt;&lt;p&gt;If this box is checked, files will be &lt;b&gt;permanently removed&lt;/b&gt; instead of being placed in the Trash Bin.&lt;/p&gt;
142

143
&lt;p&gt;&lt;em&gt;Use this option with caution&lt;/em&gt;: Most filesystems are unable to reliably undelete deleted files.&lt;/p&gt;&lt;/qt&gt;</string>
144
     </property>
145
     <property name="text">
146 147 148 149
      <string>&amp;Delete files instead of moving them to the trash</string>
     </property>
    </widget>
   </item>
150 151 152 153 154 155 156
   <item>
    <widget class="QDialogButtonBox" name="ddButtonBox">
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
157 158 159 160 161 162 163 164 165 166
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>ddShouldDelete</sender>
   <signal>toggled(bool)</signal>
   <receiver>DeleteDialogBase</receiver>
   <slot>slotShouldDelete(bool)</slot>
   <hints>
167
    <hint type="sourcelabel">
168 169
     <x>31</x>
     <y>672</y>
170
    </hint>
171
    <hint type="destinationlabel">
172 173 174 175 176 177
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
 </connections>
178 179 180 181
 <slots>
  <signal>accepted()</signal>
  <signal>rejected()</signal>
 </slots>
182
</ui>