Skip to content

Commit df8e7d7

Browse files
committed
Add File Operations tab to settings
Also fix tab order in settings
1 parent 6d9e769 commit df8e7d7

File tree

1 file changed

+128
-87
lines changed

1 file changed

+128
-87
lines changed

src/qvoptionsdialog.ui

Lines changed: 128 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<x>0</x>
1111
<y>0</y>
1212
<width>497</width>
13-
<height>558</height>
13+
<height>560</height>
1414
</rect>
1515
</property>
1616
<property name="windowTitle">
@@ -23,7 +23,7 @@
2323
<enum>Qt::NoFocus</enum>
2424
</property>
2525
<property name="currentIndex">
26-
<number>2</number>
26+
<number>0</number>
2727
</property>
2828
<widget class="QWidget" name="window">
2929
<property name="layoutDirection">
@@ -490,6 +490,91 @@
490490
</item>
491491
</layout>
492492
</widget>
493+
<widget class="QWidget" name="fileOperations">
494+
<attribute name="title">
495+
<string>File Operations</string>
496+
</attribute>
497+
<layout class="QFormLayout" name="formLayout_2">
498+
<item row="0" column="0">
499+
<widget class="QLabel" name="label_10">
500+
<property name="text">
501+
<string>After deletion:</string>
502+
</property>
503+
</widget>
504+
</item>
505+
<item row="0" column="1">
506+
<widget class="QComboBox" name="afterDeletionComboBox">
507+
<property name="currentIndex">
508+
<number>1</number>
509+
</property>
510+
<item>
511+
<property name="text">
512+
<string>Move Back</string>
513+
</property>
514+
</item>
515+
<item>
516+
<property name="text">
517+
<string>Do Nothing</string>
518+
</property>
519+
</item>
520+
<item>
521+
<property name="text">
522+
<string>Move Forward</string>
523+
</property>
524+
</item>
525+
</widget>
526+
</item>
527+
<item row="1" column="1">
528+
<widget class="QCheckBox" name="askDeleteCheckbox">
529+
<property name="text">
530+
<string>&amp;Ask before deleting files</string>
531+
</property>
532+
</widget>
533+
</item>
534+
<item row="3" column="0">
535+
<widget class="QLabel" name="label_9">
536+
<property name="text">
537+
<string>Quick command:</string>
538+
</property>
539+
</widget>
540+
</item>
541+
<item row="3" column="1">
542+
<widget class="QLineEdit" name="commandStringLineEdit"/>
543+
</item>
544+
<item row="4" column="1">
545+
<widget class="QLabel" name="label_11">
546+
<property name="sizePolicy">
547+
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
548+
<horstretch>0</horstretch>
549+
<verstretch>0</verstretch>
550+
</sizepolicy>
551+
</property>
552+
<property name="text">
553+
<string>When the &quot;Run Command&quot; action is triggered, this string is executed as a command where each occurence of %QVIEW_PATH% is replaced by the path to the currently opened image.</string>
554+
</property>
555+
<property name="alignment">
556+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
557+
</property>
558+
<property name="wordWrap">
559+
<bool>true</bool>
560+
</property>
561+
</widget>
562+
</item>
563+
<item row="2" column="1">
564+
<spacer name="horizontalSpacer_8">
565+
<property name="orientation">
566+
<enum>Qt::Horizontal</enum>
567+
</property>
568+
<property name="sizeHint" stdset="0">
569+
<size>
570+
<width>40</width>
571+
<height>5</height>
572+
</size>
573+
</property>
574+
</spacer>
575+
</item>
576+
</layout>
577+
</widget>
493578
<widget class="QWidget" name="misc">
494579
<attribute name="title">
495580
<string>Miscellaneous</string>
@@ -697,7 +782,7 @@
697782
</property>
698783
</spacer>
699784
</item>
700-
<item row="14" column="1">
785+
<item row="11" column="1">
701786
<widget class="QCheckBox" name="mimeContentDetectionCheckbox">
702787
<property name="toolTip">
703788
<string>Detect supported files in folder even if extension isn't recognized (may be slow with larger/network folders)</string>
@@ -707,102 +792,20 @@
707792
</property>
708793
</widget>
709794
</item>
710-
<item row="15" column="1">
795+
<item row="12" column="1">
711796
<widget class="QCheckBox" name="saveRecentsCheckbox">
712797
<property name="text">
713798
<string>Save &amp;recent files</string>
714799
</property>
715800
</widget>
716801
</item>
717-
<item row="16" column="1">
802+
<item row="13" column="1">
718803
<widget class="QCheckBox" name="updateCheckbox">
719804
<property name="text">
720805
<string extracomment="The notifications are for new qView releases">&amp;Update notifications on startup</string>
721806
</property>
722807
</widget>
723808
</item>
724-
<item row="11" column="1">
725-
<widget class="QComboBox" name="afterDeletionComboBox">
726-
<property name="currentIndex">
727-
<number>1</number>
728-
</property>
729-
<item>
730-
<property name="text">
731-
<string>Move Back</string>
732-
</property>
733-
</item>
734-
<item>
735-
<property name="text">
736-
<string>Do Nothing</string>
737-
</property>
738-
</item>
739-
<item>
740-
<property name="text">
741-
<string>Move Forward</string>
742-
</property>
743-
</item>
744-
</widget>
745-
</item>
746-
<item row="12" column="1">
747-
<widget class="QCheckBox" name="askDeleteCheckbox">
748-
<property name="text">
749-
<string>&amp;Ask before deleting files</string>
750-
</property>
751-
</widget>
752-
</item>
753-
<item row="13" column="1">
754-
<spacer name="horizontalSpacer_8">
755-
<property name="orientation">
756-
<enum>Qt::Horizontal</enum>
757-
</property>
758-
<property name="sizeHint" stdset="0">
759-
<size>
760-
<width>40</width>
761-
<height>5</height>
762-
</size>
763-
</property>
764-
</spacer>
765-
</item>
766-
<item row="11" column="0">
767-
<widget class="QLabel" name="label_10">
768-
<property name="text">
769-
<string>After deletion:</string>
770-
</property>
771-
</widget>
772-
</item>
773-
<item row="17" column="1">
774-
<spacer name="horizontalSpacer_10">
775-
<property name="orientation">
776-
<enum>Qt::Horizontal</enum>
777-
</property>
778-
<property name="sizeHint" stdset="0">
779-
<size>
780-
<width>40</width>
781-
<height>20</height>
782-
</size>
783-
</property>
784-
</spacer>
785-
</item>
786-
<item row="18" column="1">
787-
<widget class="QLineEdit" name="commandStringLineEdit"/>
788-
</item>
789-
<item row="18" column="0">
790-
<widget class="QLabel" name="label_9">
791-
<property name="text">
792-
<string>Quick command:</string>
793-
</property>
794-
</widget>
795-
</item>
796-
<item row="19" column="1">
797-
<widget class="QLabel" name="label_11">
798-
<property name="text">
799-
<string>When the &quot;Run Command&quot; action is triggered, this string is executed as a command where each occurence of %QVIEW_PATH% is replaced by the path to the currently opened image.</string>
800-
</property>
801-
<property name="wordWrap">
802-
<bool>true</bool>
803-
</property>
804-
</widget>
805-
</item>
806809
</layout>
807810
</widget>
808811
<widget class="QWidget" name="shortcuts">
@@ -879,6 +882,44 @@
879882
</item>
880883
</layout>
881884
</widget>
885+
<tabstops>
886+
<tabstop>bgColorCheckbox</tabstop>
887+
<tabstop>titlebarRadioButton0</tabstop>
888+
<tabstop>titlebarRadioButton1</tabstop>
889+
<tabstop>titlebarRadioButton2</tabstop>
890+
<tabstop>titlebarRadioButton3</tabstop>
891+
<tabstop>windowResizeComboBox</tabstop>
892+
<tabstop>minWindowResizeSpinBox</tabstop>
893+
<tabstop>maxWindowResizeSpinBox</tabstop>
894+
<tabstop>menubarCheckbox</tabstop>
895+
<tabstop>detailsInFullscreen</tabstop>
896+
<tabstop>darkTitlebarCheckbox</tabstop>
897+
<tabstop>quitOnLastWindowCheckbox</tabstop>
898+
<tabstop>filteringCheckbox</tabstop>
899+
<tabstop>scalingCheckbox</tabstop>
900+
<tabstop>scalingTwoCheckbox</tabstop>
901+
<tabstop>scaleFactorSpinBox</tabstop>
902+
<tabstop>scrollZoomsCheckbox</tabstop>
903+
<tabstop>cursorZoomCheckbox</tabstop>
904+
<tabstop>cropModeComboBox</tabstop>
905+
<tabstop>pastActualSizeCheckbox</tabstop>
906+
<tabstop>colorSpaceConversionComboBox</tabstop>
907+
<tabstop>afterDeletionComboBox</tabstop>
908+
<tabstop>askDeleteCheckbox</tabstop>
909+
<tabstop>commandStringLineEdit</tabstop>
910+
<tabstop>langComboBox</tabstop>
911+
<tabstop>sortComboBox</tabstop>
912+
<tabstop>descendingRadioButton0</tabstop>
913+
<tabstop>descendingRadioButton1</tabstop>
914+
<tabstop>preloadingComboBox</tabstop>
915+
<tabstop>loopFoldersCheckbox</tabstop>
916+
<tabstop>slideshowDirectionComboBox</tabstop>
917+
<tabstop>slideshowTimerSpinBox</tabstop>
918+
<tabstop>mimeContentDetectionCheckbox</tabstop>
919+
<tabstop>saveRecentsCheckbox</tabstop>
920+
<tabstop>updateCheckbox</tabstop>
921+
<tabstop>shortcutsTable</tabstop>
922+
</tabstops>
882923
<resources/>
883924
<connections>
884925
<connection>

0 commit comments

Comments
 (0)