diff --git a/qubesmanager/template_manager.py b/qubesmanager/template_manager.py index 5af7830..92f8b8a 100644 --- a/qubesmanager/template_manager.py +++ b/qubesmanager/template_manager.py @@ -37,7 +37,7 @@ from PyQt4 import QtCore # pylint: disable=import-error from PyQt4 import Qt # pylint: disable=import-error -from . import ui_templatemanager # pylint: disable=no-name-in-module +import ui_templatemanager # pylint: disable=no-name-in-module column_names = ['Qube', 'State', 'Current template', 'New template'] diff --git a/ui/templatemanager.ui b/ui/templatemanager.ui new file mode 100644 index 0000000..7a69ba8 --- /dev/null +++ b/ui/templatemanager.ui @@ -0,0 +1,84 @@ + + + MainWindow + + + + 0 + 0 + 574 + 718 + + + + Template Manager + + + + + + + QLayout::SetDefaultConstraint + + + + + QAbstractItemView::NoEditTriggers + + + QAbstractItemView::MultiSelection + + + QAbstractItemView::SelectRows + + + Qt::DotLine + + + true + + + false + + + 20 + + + 4 + + + false + + + false + + + + + + + Select multiple qubes to change template in all of them at once. +To select all qubes with a given template, double-click the template name in any row. + + + true + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset + + + + + + + pushButton_2 + verticalLayoutWidget + + + + +