<table><tr><td style="">rthomsen created this revision.<br />rthomsen added a reviewer: elvisangelaccio.<br />rthomsen set the repository for this revision to rARK Ark.<br />rthomsen added a project: Ark.<br />Restricted Application added a subscriber: kde-utils-devel.</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D2120" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This diff implements an AddDialog class that is used instead of QFileDialogs for adding files/folders to an archive. Now both folders and files are added to an archive with a single action in Part, instead of the two separate actions (Add File/Add Folder).</p>

<p>AddDialog has a button which opens a new dialog that allows setting advanced compression settings (currently only compression level). Since compression options are used both when creating a new archive and adding files to an existing archive, a new class called CompressionOptionsWidget was created which is used by both AddDialog and CreateDialog.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Add file(s) to an archive.</li>
<li class="remarkup-list-item">Add folder(s) to an archive.</li>
<li class="remarkup-list-item">Add both files(s) and folder(s) simultaneously.</li>
<li class="remarkup-list-item">Try customizing compression level.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>rARK Ark</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2120" rel="noreferrer">https://phabricator.kde.org/D2120</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kerfuffle/CMakeLists.txt<br />
autotests/kerfuffle/adddialogtest.cpp<br />
kerfuffle/CMakeLists.txt<br />
kerfuffle/adddialog.cpp<br />
kerfuffle/adddialog.h<br />
kerfuffle/archive_kerfuffle.cpp<br />
kerfuffle/archive_kerfuffle.h<br />
kerfuffle/compressionoptionswidget.cpp<br />
kerfuffle/compressionoptionswidget.h<br />
kerfuffle/compressionoptionswidget.ui<br />
kerfuffle/createdialog.cpp<br />
kerfuffle/createdialog.h<br />
kerfuffle/createdialog.ui<br />
part/ark_part.rc<br />
part/part.cpp<br />
part/part.h<br />
plugins/libarchive/readwritelibarchiveplugin.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>rthomsen, elvisangelaccio<br /><strong>Cc: </strong>kde-utils-devel, tctara<br /></div>