diff --git a/Makefile b/Makefile
index 6a93e59..ab0570e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ res:
pyuic4 -o qubesmanager/ui_editfwrulesdlg.py editfwrulesdlg.ui
pyuic4 -o qubesmanager/ui_newfwruledlg.py newfwruledlg.ui
pyuic4 -o qubesmanager/ui_multiselectwidget.py multiselectwidget.ui
+ pyuic4 -o qubesmanager/ui_settingsdlg.py settingsdlg.ui
update-repo-current:
ln -f $(RPMS_DIR)/x86_64/qubes-manager-*$(VERSION)*.rpm ../yum/current-release/current/dom0/rpm/
diff --git a/mainwindow.ui b/mainwindow.ui
index c349a8c..79d8597 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -16,6 +16,9 @@
0
+
+ Qt::DefaultContextMenu
+
Qubes VM Manager
@@ -65,6 +68,12 @@
30
+
+ Qt::ActionsContextMenu
+
+
+ false
+
0
@@ -243,6 +252,7 @@
+
@@ -327,7 +337,7 @@
- :/root.png:/root.png
+ :/appsprefs.png:/appsprefs.png
Select VM applications
@@ -359,9 +369,9 @@
true
-
- :/showallvms.png
-
+
+ :/showallvms.png
+ :/showallvms.png:/showallvms.png
Show/Hide inactive VMs
@@ -373,7 +383,7 @@
- :/firewall.png:/firewall.png
+ :/newfirewall.png:/newfirewall.png
Edit VM Firewall rules
@@ -495,6 +505,18 @@
Update Info
+
+
+
+ :/root.png:/root.png
+
+
+ Settings
+
+
+ VM Settings
+
+
diff --git a/resources.qrc b/resources.qrc
index c6e6649..360ff93 100644
--- a/resources.qrc
+++ b/resources.qrc
@@ -1,22 +1,25 @@
-
-
-icons/qubes.png
-icons/appvm.png
-icons/netvm.png
-icons/networking.png
-icons/dom0.png
-icons/storagevm.png
-icons/templatevm.png
-icons/updateable.png
-icons/home.png
-icons/root.png
-icons/createvm.png
-icons/removevm.png
-icons/shutdownvm.png
-icons/resumevm.png
-icons/pausevm.png
-icons/showallvms.png
-icons/showcpuload.png
-icons/firewall.png
-
+
+
+ icons/on.png
+ icons/appsprefs.png
+ icons/newfirewall.png
+ icons/qubes.png
+ icons/appvm.png
+ icons/netvm.png
+ icons/networking.png
+ icons/dom0.png
+ icons/storagevm.png
+ icons/templatevm.png
+ icons/updateable.png
+ icons/home.png
+ icons/root.png
+ icons/createvm.png
+ icons/removevm.png
+ icons/shutdownvm.png
+ icons/resumevm.png
+ icons/pausevm.png
+ icons/showallvms.png
+ icons/showcpuload.png
+ icons/firewall.png
+
diff --git a/settingsdlg.ui b/settingsdlg.ui
index ec81baa..19d0b76 100644
--- a/settingsdlg.ui
+++ b/settingsdlg.ui
@@ -1,18 +1,22 @@
- Dialog
-
+ SettingsDialog
+
0
0
- 672
- 351
+ 694
+ 483
Settings
+
+
+ :/root.png:/root.png
+
-
@@ -22,7 +26,7 @@
- 3
+ 0
@@ -31,49 +35,111 @@
Basic
-
- -
-
-
- Name & label:
-
-
+
+
-
+
+
-
+
+
+ Settings
+
+
+
-
+
+
+ Name & label:
+
+
+
+ -
+
+
+ myappvm
+
+
+
+ -
+
+
+ true
+
+
+
+ -
+
+
+ Use this template:
+
+
+
+ -
+
+
+ -
+
+
+ Allow networking
+
+
+ true
+
+
+
+
+
+
+ -
+
+
+ Info
+
+
+
-
+
+
+ Type:
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ AppVM
+
+
+
+ -
+
+
+ Installed by RPM:
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ No
+
+
+
+
+
+
+
- -
-
-
- myappvm
-
-
-
- -
-
-
- true
-
-
-
- -
-
-
- Use this template:
-
-
-
- -
-
-
- -
-
-
- Allow networking
-
-
- true
-
-
-
- -
+
-
Qt::Vertical
@@ -92,8 +158,8 @@
Advanced
-
-
-
+
+
-
Disk storage
@@ -135,7 +201,7 @@
-
- Private storage max. size
+ Private storage max. size:
@@ -155,14 +221,14 @@
- -
+
-
Memory/CPU
-
-
-
+
-
+
false
@@ -180,14 +246,14 @@
- -
+
-
MB
- -
+
-
false
@@ -200,10 +266,47 @@
- -
+
-
+
+
+
+ 75
+ true
+
+
+
+ xx
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
+ -
+
+
+ MB
+
+
+
+ -
+
+
+ Memory:
+
+
+
+ -
+
+
+ Max Memory:
+
+
+
+ -
- VCPUs
+ VCPUs:
@@ -211,17 +314,160 @@
-
-
-
- Qt::Vertical
+
+
+ Networking
-
-
- 20
- 124
-
+
+
-
+
+
+ NetVM:
+
+
+
+ -
+
+
+ -
+
+
+ VM updateable?
+
+
+
+
+
+
+ -
+
+
+ Kernel
-
+
+
-
+
+
+ Kernel:
+
+
+
+ -
+
+
+ -
+
+
+ Kernel opts:
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ []
+
+
+
+
+
+
+ -
+
+
+ Paths
+
+
+
-
+
+
+ dir:
+
+
+
+ -
+
+
+
+ 50
+ false
+
+
+
+ dir_path
+
+
+
+ -
+
+
+ config:
+
+
+
+ -
+
+
+
+ 50
+ false
+
+
+
+ config_path
+
+
+
+ -
+
+
+ root img:
+
+
+
+ -
+
+
+ root_img_path
+
+
+
+ -
+
+
+ root volatile img:
+
+
+
+ -
+
+
+ volatile_path
+
+
+
+ -
+
+
+ private img:
+
+
+
+ -
+
+
+ private_path
+
+
+
+
+
@@ -229,12 +475,25 @@
Devices
-
+
+ -
+
+
+
+
+
+ :/appsprefs.png:/appsprefs.png
+
Applications
+
+ -
+
+
+
@@ -252,12 +511,14 @@
-
+
+
+
buttonBox
accepted()
- Dialog
+ SettingsDialog
accept()
@@ -273,7 +534,7 @@
buttonBox
rejected()
- Dialog
+ SettingsDialog
reject()