@@ -742,6 +742,13 @@ border-width: 1px;</string>
742
742
<property name =" topMargin" >
743
743
<number >15</number >
744
744
</property >
745
+ <item row =" 1" column =" 0" >
746
+ <widget class =" QCheckBox" name =" run_in_debug_mode" >
747
+ <property name =" text" >
748
+ <string >Run in debug mode</string >
749
+ </property >
750
+ </widget >
751
+ </item >
745
752
<item row =" 2" column =" 0" colspan =" 2" >
746
753
<layout class =" QHBoxLayout" name =" horizontalLayout_prohibit_start" >
747
754
<item >
@@ -780,40 +787,143 @@ border-width: 1px;</string>
780
787
</property >
781
788
</widget >
782
789
</item >
783
- <item row =" 8" column =" 0" colspan =" 2" >
784
- <widget class =" QPushButton" name =" boot_from_device_button" >
790
+ <item row =" 5" column =" 0" >
791
+ <widget class =" QLabel" name =" preload_dispvm_label" >
792
+ <property name =" toolTip" >
793
+ <string >< html>< head/>< body>< p> Configure how many disposables this template must preload.< /p>< /body>< /html> </string >
794
+ </property >
785
795
<property name =" text" >
786
- <string >Boot qube from DISC or block device </string >
796
+ <string >Preload disposables: </string >
787
797
</property >
788
798
</widget >
789
799
</item >
790
- <item row =" 9" column =" 0" colspan =" 2" >
791
- <layout class =" QHBoxLayout" name =" horizontalLayout_8" >
792
- <item >
793
- <widget class =" QPushButton" name =" seamless_on_button" >
794
- <property name =" toolTip" >
795
- <string >Windows (with Qubes Windows Tools installed) only.
796
- The qube must be running to enable seamless mode. This setting is not persistent.</string >
797
- </property >
798
- <property name =" text" >
799
- <string >Enable seamless mode</string >
800
- </property >
801
- </widget >
802
- </item >
803
- <item >
804
- <widget class =" QPushButton" name =" seamless_off_button" >
805
- <property name =" toolTip" >
806
- <string >Windows (with Qubes Windows Tools installed) only.
807
- The qube must be running to disable seamless mode. This setting is not persistent.</string >
808
- </property >
809
- <property name =" text" >
810
- <string >Disable seamless mode</string >
811
- </property >
812
- </widget >
813
- </item >
814
- </layout >
800
+ <item row =" 5" column =" 1" >
801
+ <widget class =" QSpinBox" name =" preload_dispvm" >
802
+ <property name =" sizePolicy" >
803
+ <sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
804
+ <horstretch >0</horstretch >
805
+ <verstretch >0</verstretch >
806
+ </sizepolicy >
807
+ </property >
808
+ <property name =" alignment" >
809
+ <set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
810
+ </property >
811
+ <property name =" maximum" >
812
+ <number >50</number >
813
+ </property >
814
+ </widget >
815
815
</item >
816
816
<item row =" 6" column =" 0" colspan =" 2" >
817
+ <widget class =" QLabel" name =" warn_default_dispvm_preload_label" >
818
+ <property name =" palette" >
819
+ <palette >
820
+ <active >
821
+ <colorrole role =" WindowText" >
822
+ <brush brushstyle =" SolidPattern" >
823
+ <color alpha =" 255" >
824
+ <red >239</red >
825
+ <green >41</green >
826
+ <blue >41</blue >
827
+ </color >
828
+ </brush >
829
+ </colorrole >
830
+ <colorrole role =" Text" >
831
+ <brush brushstyle =" SolidPattern" >
832
+ <color alpha =" 255" >
833
+ <red >239</red >
834
+ <green >41</green >
835
+ <blue >41</blue >
836
+ </color >
837
+ </brush >
838
+ </colorrole >
839
+ <colorrole role =" PlaceholderText" >
840
+ <brush brushstyle =" SolidPattern" >
841
+ <color alpha =" 128" >
842
+ <red >239</red >
843
+ <green >41</green >
844
+ <blue >41</blue >
845
+ </color >
846
+ </brush >
847
+ </colorrole >
848
+ </active >
849
+ <inactive >
850
+ <colorrole role =" WindowText" >
851
+ <brush brushstyle =" SolidPattern" >
852
+ <color alpha =" 255" >
853
+ <red >239</red >
854
+ <green >41</green >
855
+ <blue >41</blue >
856
+ </color >
857
+ </brush >
858
+ </colorrole >
859
+ <colorrole role =" Text" >
860
+ <brush brushstyle =" SolidPattern" >
861
+ <color alpha =" 255" >
862
+ <red >239</red >
863
+ <green >41</green >
864
+ <blue >41</blue >
865
+ </color >
866
+ </brush >
867
+ </colorrole >
868
+ <colorrole role =" PlaceholderText" >
869
+ <brush brushstyle =" SolidPattern" >
870
+ <color alpha =" 128" >
871
+ <red >239</red >
872
+ <green >41</green >
873
+ <blue >41</blue >
874
+ </color >
875
+ </brush >
876
+ </colorrole >
877
+ </inactive >
878
+ <disabled >
879
+ <colorrole role =" WindowText" >
880
+ <brush brushstyle =" SolidPattern" >
881
+ <color alpha =" 255" >
882
+ <red >190</red >
883
+ <green >190</green >
884
+ <blue >190</blue >
885
+ </color >
886
+ </brush >
887
+ </colorrole >
888
+ <colorrole role =" Text" >
889
+ <brush brushstyle =" SolidPattern" >
890
+ <color alpha =" 255" >
891
+ <red >190</red >
892
+ <green >190</green >
893
+ <blue >190</blue >
894
+ </color >
895
+ </brush >
896
+ </colorrole >
897
+ <colorrole role =" PlaceholderText" >
898
+ <brush brushstyle =" SolidPattern" >
899
+ <color alpha =" 128" >
900
+ <red >0</red >
901
+ <green >0</green >
902
+ <blue >0</blue >
903
+ </color >
904
+ </brush >
905
+ </colorrole >
906
+ </disabled >
907
+ </palette >
908
+ </property >
909
+ <property name =" font" >
910
+ <font >
911
+ <italic >true</italic >
912
+ <bold >true</bold >
913
+ </font >
914
+ </property >
915
+ <property name =" text" >
916
+ <string >This qube is the default disposable template the global preload feature is set, therefore, it will honor the Global Config preference until the feature is deleted.</string >
917
+ </property >
918
+ <property name =" alignment" >
919
+ <set >Qt::AlignJustify|Qt::AlignVCenter</set >
920
+ </property >
921
+ <property name =" wordWrap" >
922
+ <bool >true</bool >
923
+ </property >
924
+ </widget >
925
+ </item >
926
+ <item row =" 7" column =" 0" colspan =" 2" >
817
927
<layout class =" QHBoxLayout" name =" horizontalLayout_6" >
818
928
<item >
819
929
<widget class =" QLabel" name =" label_26" >
@@ -843,13 +953,39 @@ The qube must be running to disable seamless mode. This setting is not persisten
843
953
</item >
844
954
</layout >
845
955
</item >
846
- <item row =" 1 " column =" 0" >
847
- <widget class =" QCheckBox " name =" run_in_debug_mode " >
956
+ <item row =" 8 " column =" 0" colspan = " 2 " >
957
+ <widget class =" QPushButton " name =" boot_from_device_button " >
848
958
<property name =" text" >
849
- <string >Run in debug mode </string >
959
+ <string >Boot qube from DISC or block device </string >
850
960
</property >
851
961
</widget >
852
962
</item >
963
+ <item row =" 9" column =" 0" colspan =" 2" >
964
+ <layout class =" QHBoxLayout" name =" horizontalLayout_8" >
965
+ <item >
966
+ <widget class =" QPushButton" name =" seamless_on_button" >
967
+ <property name =" toolTip" >
968
+ <string >Windows (with Qubes Windows Tools installed) only.
969
+ The qube must be running to enable seamless mode. This setting is not persistent.</string >
970
+ </property >
971
+ <property name =" text" >
972
+ <string >Enable seamless mode</string >
973
+ </property >
974
+ </widget >
975
+ </item >
976
+ <item >
977
+ <widget class =" QPushButton" name =" seamless_off_button" >
978
+ <property name =" toolTip" >
979
+ <string >Windows (with Qubes Windows Tools installed) only.
980
+ The qube must be running to disable seamless mode. This setting is not persistent.</string >
981
+ </property >
982
+ <property name =" text" >
983
+ <string >Disable seamless mode</string >
984
+ </property >
985
+ </widget >
986
+ </item >
987
+ </layout >
988
+ </item >
853
989
</layout >
854
990
</widget >
855
991
</item >
@@ -1933,6 +2069,7 @@ For user reference only.
1933
2069
<tabstop >run_in_debug_mode</tabstop >
1934
2070
<tabstop >provides_network_checkbox</tabstop >
1935
2071
<tabstop >dvm_template_checkbox</tabstop >
2072
+ <tabstop >preload_dispvm</tabstop >
1936
2073
<tabstop >default_dispvm</tabstop >
1937
2074
<tabstop >boot_from_device_button</tabstop >
1938
2075
<tabstop >seamless_on_button</tabstop >
0 commit comments