+ add clean-up function to recovery dialog

This commit is contained in:
wmayer
2016-03-21 17:56:18 +01:00
parent a1082796b9
commit dcb5d09581
4 changed files with 150 additions and 7 deletions

View File

@@ -14,7 +14,7 @@
<string>Document Recovery</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<item row="0" column="0" colspan="2">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -27,7 +27,7 @@
</property>
</spacer>
</item>
<item row="1" column="0">
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label">
<property name="text">
<string>Press 'Start Recovery' to start the recovery process of the doument listed below.
@@ -36,7 +36,7 @@ The 'Status' column shows whether the document could be recovered.</string>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="2" column="0" colspan="2">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -49,15 +49,18 @@ The 'Status' column shows whether the document could be recovered.</string>
</property>
</spacer>
</item>
<item row="3" column="0">
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Status of recovered documents:</string>
</property>
</widget>
</item>
<item row="4" column="0">
<item row="4" column="0" colspan="2">
<widget class="QTreeWidget" name="treeWidget">
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<column>
<property name="text">
<string>Document Name</string>
@@ -71,6 +74,16 @@ The 'Status' column shows whether the document could be recovered.</string>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="buttonCleanup">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Cleanup...</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>