Warning, /system/kup/filedigger/restoredialog.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>RestoreDialog</class>
0004  <widget class="QDialog" name="RestoreDialog">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>600</width>
0010     <height>400</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string comment="@title:window">Restore Guide</string>
0015   </property>
0016   <layout class="QVBoxLayout" name="mTopLevelVLayout">
0017    <item>
0018     <widget class="QStackedWidget" name="mStackedWidget">
0019      <property name="currentIndex">
0020       <number>0</number>
0021      </property>
0022      <widget class="QWidget" name="mRestoreLocationPage">
0023       <layout class="QHBoxLayout" name="horizontalLayout_3">
0024        <item>
0025         <spacer name="horizontalSpacer">
0026          <property name="orientation">
0027           <enum>Qt::Horizontal</enum>
0028          </property>
0029          <property name="sizeHint" stdset="0">
0030           <size>
0031            <width>40</width>
0032            <height>20</height>
0033           </size>
0034          </property>
0035         </spacer>
0036        </item>
0037        <item>
0038         <layout class="QVBoxLayout" name="verticalLayout_4">
0039          <item>
0040           <spacer name="verticalSpacer_2">
0041            <property name="orientation">
0042             <enum>Qt::Vertical</enum>
0043            </property>
0044            <property name="sizeHint" stdset="0">
0045             <size>
0046              <width>20</width>
0047              <height>40</height>
0048             </size>
0049            </property>
0050           </spacer>
0051          </item>
0052          <item>
0053           <widget class="QPushButton" name="mRestoreOriginalButton">
0054            <property name="text">
0055             <string comment="@action:button">Restore to original location</string>
0056            </property>
0057           </widget>
0058          </item>
0059          <item>
0060           <spacer name="verticalSpacer_3">
0061            <property name="orientation">
0062             <enum>Qt::Vertical</enum>
0063            </property>
0064            <property name="sizeType">
0065             <enum>QSizePolicy::Fixed</enum>
0066            </property>
0067            <property name="sizeHint" stdset="0">
0068             <size>
0069              <width>20</width>
0070              <height>40</height>
0071             </size>
0072            </property>
0073           </spacer>
0074          </item>
0075          <item>
0076           <widget class="QPushButton" name="mRestoreCustomButton">
0077            <property name="text">
0078             <string comment="@action:button">Choose where to restore</string>
0079            </property>
0080           </widget>
0081          </item>
0082          <item>
0083           <spacer name="verticalSpacer">
0084            <property name="orientation">
0085             <enum>Qt::Vertical</enum>
0086            </property>
0087            <property name="sizeHint" stdset="0">
0088             <size>
0089              <width>20</width>
0090              <height>40</height>
0091             </size>
0092            </property>
0093           </spacer>
0094          </item>
0095         </layout>
0096        </item>
0097        <item>
0098         <spacer name="horizontalSpacer_2">
0099          <property name="orientation">
0100           <enum>Qt::Horizontal</enum>
0101          </property>
0102          <property name="sizeHint" stdset="0">
0103           <size>
0104            <width>40</width>
0105            <height>20</height>
0106           </size>
0107          </property>
0108         </spacer>
0109        </item>
0110       </layout>
0111      </widget>
0112      <widget class="QWidget" name="mDestinationPage">
0113       <layout class="QVBoxLayout" name="mDestinationVLayout">
0114        <item>
0115         <layout class="QHBoxLayout" name="mDestinationHLayout">
0116          <item>
0117           <spacer name="horizontalSpacer_5">
0118            <property name="orientation">
0119             <enum>Qt::Horizontal</enum>
0120            </property>
0121            <property name="sizeHint" stdset="0">
0122             <size>
0123              <width>40</width>
0124              <height>20</height>
0125             </size>
0126            </property>
0127           </spacer>
0128          </item>
0129          <item>
0130           <widget class="QPushButton" name="mDestBackButton">
0131            <property name="text">
0132             <string comment="@action:button">Back</string>
0133            </property>
0134            <property name="icon">
0135             <iconset theme="arrow-left">
0136              <normaloff>.</normaloff>.</iconset>
0137            </property>
0138           </widget>
0139          </item>
0140          <item>
0141           <widget class="QPushButton" name="mDestNextButton">
0142            <property name="text">
0143             <string comment="@action:button">Next</string>
0144            </property>
0145            <property name="icon">
0146             <iconset theme="arrow-right">
0147              <normaloff>.</normaloff>.</iconset>
0148            </property>
0149           </widget>
0150          </item>
0151         </layout>
0152        </item>
0153       </layout>
0154      </widget>
0155      <widget class="QWidget" name="mConfirmOverwritePage">
0156       <layout class="QVBoxLayout" name="verticalLayout_6">
0157        <item>
0158         <widget class="QLabel" name="mConflictTitleLabel">
0159          <property name="font">
0160           <font>
0161            <weight>75</weight>
0162            <bold>true</bold>
0163           </font>
0164          </property>
0165          <property name="text">
0166           <string/>
0167          </property>
0168         </widget>
0169        </item>
0170        <item>
0171         <widget class="QRadioButton" name="mNewNameRadioButton">
0172          <property name="text">
0173           <string comment="@option:radio ">Restore the folder under a new name</string>
0174          </property>
0175          <property name="checked">
0176           <bool>true</bool>
0177          </property>
0178         </widget>
0179        </item>
0180        <item>
0181         <layout class="QHBoxLayout" name="horizontalLayout_6">
0182          <item>
0183           <spacer name="horizontalSpacer_9">
0184            <property name="orientation">
0185             <enum>Qt::Horizontal</enum>
0186            </property>
0187            <property name="sizeType">
0188             <enum>QSizePolicy::Fixed</enum>
0189            </property>
0190            <property name="sizeHint" stdset="0">
0191             <size>
0192              <width>20</width>
0193              <height>20</height>
0194             </size>
0195            </property>
0196           </spacer>
0197          </item>
0198          <item>
0199           <widget class="QLineEdit" name="mNewFolderNameEdit"/>
0200          </item>
0201         </layout>
0202        </item>
0203        <item>
0204         <widget class="QRadioButton" name="mOverwriteRadioButton">
0205          <property name="text">
0206           <string comment="@option:radio">Merge folders</string>
0207          </property>
0208         </widget>
0209        </item>
0210        <item>
0211         <layout class="QHBoxLayout" name="horizontalLayout_5">
0212          <item>
0213           <spacer name="horizontalSpacer_8">
0214            <property name="orientation">
0215             <enum>Qt::Horizontal</enum>
0216            </property>
0217            <property name="sizeType">
0218             <enum>QSizePolicy::Fixed</enum>
0219            </property>
0220            <property name="sizeHint" stdset="0">
0221             <size>
0222              <width>20</width>
0223              <height>20</height>
0224             </size>
0225            </property>
0226           </spacer>
0227          </item>
0228          <item>
0229           <layout class="QVBoxLayout" name="mOverwriteListboxLayout">
0230            <item>
0231             <widget class="QLabel" name="mConfirmOverwriteLabel">
0232              <property name="enabled">
0233               <bool>false</bool>
0234              </property>
0235              <property name="text">
0236               <string comment="@info Question to user, in dialog">The following files would be overwritten, please confirm that you wish to continue.</string>
0237              </property>
0238              <property name="wordWrap">
0239               <bool>true</bool>
0240              </property>
0241             </widget>
0242            </item>
0243            <item>
0244             <widget class="QListWidget" name="mFileConflictList">
0245              <property name="enabled">
0246               <bool>false</bool>
0247              </property>
0248             </widget>
0249            </item>
0250           </layout>
0251          </item>
0252         </layout>
0253        </item>
0254        <item>
0255         <layout class="QHBoxLayout" name="horizontalLayout">
0256          <item>
0257           <spacer name="horizontalSpacer_3">
0258            <property name="orientation">
0259             <enum>Qt::Horizontal</enum>
0260            </property>
0261            <property name="sizeHint" stdset="0">
0262             <size>
0263              <width>40</width>
0264              <height>20</height>
0265             </size>
0266            </property>
0267           </spacer>
0268          </item>
0269          <item>
0270           <widget class="QPushButton" name="mOverwriteBackButton">
0271            <property name="text">
0272             <string comment="@action:button go to previous page in dialog">Back</string>
0273            </property>
0274            <property name="icon">
0275             <iconset theme="arrow-left">
0276              <normaloff>.</normaloff>.</iconset>
0277            </property>
0278           </widget>
0279          </item>
0280          <item>
0281           <widget class="QPushButton" name="mConfirmButton">
0282            <property name="text">
0283             <string comment="@action:button User answers &quot;yes I confirm: overwrite files&quot;">Confirm</string>
0284            </property>
0285            <property name="icon">
0286             <iconset theme="dialog-ok-apply">
0287              <normaloff>.</normaloff>.</iconset>
0288            </property>
0289           </widget>
0290          </item>
0291         </layout>
0292        </item>
0293       </layout>
0294      </widget>
0295      <widget class="QWidget" name="mRestorationProgressPage">
0296       <layout class="QVBoxLayout" name="mRestorationVLayout">
0297        <item>
0298         <widget class="QStackedWidget" name="mRestorationStackWidget">
0299          <property name="currentIndex">
0300           <number>0</number>
0301          </property>
0302          <widget class="QWidget" name="page">
0303           <layout class="QVBoxLayout" name="mRestoreProgressLayout">
0304            <item>
0305             <spacer name="verticalSpacer_4">
0306              <property name="orientation">
0307               <enum>Qt::Vertical</enum>
0308              </property>
0309              <property name="sizeHint" stdset="0">
0310               <size>
0311                <width>20</width>
0312                <height>40</height>
0313               </size>
0314              </property>
0315             </spacer>
0316            </item>
0317            <item>
0318             <widget class="QLabel" name="label_2">
0319              <property name="text">
0320               <string comment="Title above progress bar">Restoring files</string>
0321              </property>
0322              <property name="alignment">
0323               <set>Qt::AlignCenter</set>
0324              </property>
0325             </widget>
0326            </item>
0327            <item>
0328             <spacer name="verticalSpacer_5">
0329              <property name="orientation">
0330               <enum>Qt::Vertical</enum>
0331              </property>
0332              <property name="sizeHint" stdset="0">
0333               <size>
0334                <width>20</width>
0335                <height>40</height>
0336               </size>
0337              </property>
0338             </spacer>
0339            </item>
0340           </layout>
0341          </widget>
0342          <widget class="QWidget" name="page_2">
0343           <layout class="QVBoxLayout" name="verticalLayout">
0344            <item>
0345             <widget class="QLabel" name="mErrorLabel">
0346              <property name="text">
0347               <string comment="@label above the detailed error message">An error occurred while restoring:</string>
0348              </property>
0349             </widget>
0350            </item>
0351            <item>
0352             <widget class="QPlainTextEdit" name="mRestorationOutput">
0353              <property name="readOnly">
0354               <bool>true</bool>
0355              </property>
0356             </widget>
0357            </item>
0358           </layout>
0359          </widget>
0360          <widget class="QWidget" name="page_3">
0361           <layout class="QVBoxLayout" name="verticalLayout_5">
0362            <item>
0363             <spacer name="verticalSpacer_6">
0364              <property name="orientation">
0365               <enum>Qt::Vertical</enum>
0366              </property>
0367              <property name="sizeHint" stdset="0">
0368               <size>
0369                <width>20</width>
0370                <height>149</height>
0371               </size>
0372              </property>
0373             </spacer>
0374            </item>
0375            <item>
0376             <widget class="QLabel" name="label">
0377              <property name="text">
0378               <string comment="@label">Restoration completed successfully!</string>
0379              </property>
0380              <property name="alignment">
0381               <set>Qt::AlignCenter</set>
0382              </property>
0383             </widget>
0384            </item>
0385            <item>
0386             <spacer name="verticalSpacer_8">
0387              <property name="orientation">
0388               <enum>Qt::Vertical</enum>
0389              </property>
0390              <property name="sizeType">
0391               <enum>QSizePolicy::Fixed</enum>
0392              </property>
0393              <property name="sizeHint" stdset="0">
0394               <size>
0395                <width>20</width>
0396                <height>20</height>
0397               </size>
0398              </property>
0399             </spacer>
0400            </item>
0401            <item>
0402             <layout class="QHBoxLayout" name="horizontalLayout_4">
0403              <item>
0404               <spacer name="horizontalSpacer_7">
0405                <property name="orientation">
0406                 <enum>Qt::Horizontal</enum>
0407                </property>
0408                <property name="sizeHint" stdset="0">
0409                 <size>
0410                  <width>192</width>
0411                  <height>20</height>
0412                 </size>
0413                </property>
0414               </spacer>
0415              </item>
0416              <item>
0417               <widget class="QPushButton" name="mOpenDestinationButton">
0418                <property name="text">
0419                 <string>Open Destination</string>
0420                </property>
0421                <property name="icon">
0422                 <iconset theme="folder">
0423                  <normaloff>.</normaloff>.</iconset>
0424                </property>
0425               </widget>
0426              </item>
0427              <item>
0428               <spacer name="horizontalSpacer_6">
0429                <property name="orientation">
0430                 <enum>Qt::Horizontal</enum>
0431                </property>
0432                <property name="sizeHint" stdset="0">
0433                 <size>
0434                  <width>192</width>
0435                  <height>20</height>
0436                 </size>
0437                </property>
0438               </spacer>
0439              </item>
0440             </layout>
0441            </item>
0442            <item>
0443             <spacer name="verticalSpacer_7">
0444              <property name="orientation">
0445               <enum>Qt::Vertical</enum>
0446              </property>
0447              <property name="sizeHint" stdset="0">
0448               <size>
0449                <width>20</width>
0450                <height>149</height>
0451               </size>
0452              </property>
0453             </spacer>
0454            </item>
0455           </layout>
0456          </widget>
0457         </widget>
0458        </item>
0459        <item>
0460         <layout class="QHBoxLayout" name="horizontalLayout_2">
0461          <item>
0462           <spacer name="horizontalSpacer_4">
0463            <property name="orientation">
0464             <enum>Qt::Horizontal</enum>
0465            </property>
0466            <property name="sizeHint" stdset="0">
0467             <size>
0468              <width>40</width>
0469              <height>20</height>
0470             </size>
0471            </property>
0472           </spacer>
0473          </item>
0474          <item>
0475           <widget class="QPushButton" name="mCloseButton">
0476            <property name="text">
0477             <string comment="@action:button">Close</string>
0478            </property>
0479            <property name="icon">
0480             <iconset theme="dialog-close">
0481              <normaloff>.</normaloff>.</iconset>
0482            </property>
0483            <property name="default">
0484             <bool>true</bool>
0485            </property>
0486           </widget>
0487          </item>
0488         </layout>
0489        </item>
0490       </layout>
0491      </widget>
0492      <widget class="QWidget" name="mSourceScanProgressPage">
0493       <layout class="QVBoxLayout" name="mSourceScanLayout">
0494        <item>
0495         <spacer name="verticalSpacer_9">
0496          <property name="orientation">
0497           <enum>Qt::Vertical</enum>
0498          </property>
0499          <property name="sizeHint" stdset="0">
0500           <size>
0501            <width>20</width>
0502            <height>176</height>
0503           </size>
0504          </property>
0505         </spacer>
0506        </item>
0507        <item>
0508         <widget class="QLabel" name="label_3">
0509          <property name="text">
0510           <string comment="Title above progress bar">Checking file sizes</string>
0511          </property>
0512          <property name="alignment">
0513           <set>Qt::AlignCenter</set>
0514          </property>
0515         </widget>
0516        </item>
0517        <item>
0518         <spacer name="verticalSpacer_10">
0519          <property name="orientation">
0520           <enum>Qt::Vertical</enum>
0521          </property>
0522          <property name="sizeHint" stdset="0">
0523           <size>
0524            <width>20</width>
0525            <height>176</height>
0526           </size>
0527          </property>
0528         </spacer>
0529        </item>
0530       </layout>
0531      </widget>
0532     </widget>
0533    </item>
0534   </layout>
0535  </widget>
0536  <tabstops>
0537   <tabstop>mRestoreOriginalButton</tabstop>
0538   <tabstop>mRestoreCustomButton</tabstop>
0539   <tabstop>mDestNextButton</tabstop>
0540   <tabstop>mOverwriteBackButton</tabstop>
0541   <tabstop>mDestBackButton</tabstop>
0542   <tabstop>mFileConflictList</tabstop>
0543   <tabstop>mConfirmButton</tabstop>
0544   <tabstop>mRestorationOutput</tabstop>
0545   <tabstop>mCloseButton</tabstop>
0546  </tabstops>
0547  <resources/>
0548  <connections>
0549   <connection>
0550    <sender>mCloseButton</sender>
0551    <signal>clicked()</signal>
0552    <receiver>RestoreDialog</receiver>
0553    <slot>accept()</slot>
0554    <hints>
0555     <hint type="sourcelabel">
0556      <x>590</x>
0557      <y>390</y>
0558     </hint>
0559     <hint type="destinationlabel">
0560      <x>236</x>
0561      <y>199</y>
0562     </hint>
0563    </hints>
0564   </connection>
0565   <connection>
0566    <sender>mOverwriteRadioButton</sender>
0567    <signal>toggled(bool)</signal>
0568    <receiver>mFileConflictList</receiver>
0569    <slot>setEnabled(bool)</slot>
0570    <hints>
0571     <hint type="sourcelabel">
0572      <x>299</x>
0573      <y>99</y>
0574     </hint>
0575     <hint type="destinationlabel">
0576      <x>312</x>
0577      <y>241</y>
0578     </hint>
0579    </hints>
0580   </connection>
0581   <connection>
0582    <sender>mOverwriteRadioButton</sender>
0583    <signal>toggled(bool)</signal>
0584    <receiver>mConfirmOverwriteLabel</receiver>
0585    <slot>setEnabled(bool)</slot>
0586    <hints>
0587     <hint type="sourcelabel">
0588      <x>299</x>
0589      <y>99</y>
0590     </hint>
0591     <hint type="destinationlabel">
0592      <x>312</x>
0593      <y>122</y>
0594     </hint>
0595    </hints>
0596   </connection>
0597   <connection>
0598    <sender>mNewNameRadioButton</sender>
0599    <signal>toggled(bool)</signal>
0600    <receiver>mNewFolderNameEdit</receiver>
0601    <slot>setEnabled(bool)</slot>
0602    <hints>
0603     <hint type="sourcelabel">
0604      <x>299</x>
0605      <y>45</y>
0606     </hint>
0607     <hint type="destinationlabel">
0608      <x>312</x>
0609      <y>72</y>
0610     </hint>
0611    </hints>
0612   </connection>
0613  </connections>
0614 </ui>