From 35d7c73cf74e891b6ead631444e4e470b3a7a941 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Mon, 16 Apr 2007 16:35:39 +0000 Subject: added preferences for Qt-Frontend --- portato/gui/qt/ui/MainWindow.ui | 18 ++- portato/gui/qt/ui/PreferenceWindow.ui | 273 ++++++++++++++++++++++++++++++++++ 2 files changed, 285 insertions(+), 6 deletions(-) create mode 100644 portato/gui/qt/ui/PreferenceWindow.ui (limited to 'portato/gui/qt/ui') diff --git a/portato/gui/qt/ui/MainWindow.ui b/portato/gui/qt/ui/MainWindow.ui index 2830291..14127c9 100644 --- a/portato/gui/qt/ui/MainWindow.ui +++ b/portato/gui/qt/ui/MainWindow.ui @@ -394,12 +394,6 @@ p, li { white-space: pre-wrap; } 31 - - - &File - - - &? @@ -415,6 +409,13 @@ p, li { white-space: pre-wrap; } + + + &File + + + + @@ -455,6 +456,11 @@ p, li { white-space: pre-wrap; } Update &World + + + &Preferences + + diff --git a/portato/gui/qt/ui/PreferenceWindow.ui b/portato/gui/qt/ui/PreferenceWindow.ui new file mode 100644 index 0000000..f65c2fa --- /dev/null +++ b/portato/gui/qt/ui/PreferenceWindow.ui @@ -0,0 +1,273 @@ + + PreferencesWindow + + + + 0 + 0 + 582 + 706 + + + + Preferences + + + + 9 + + + 6 + + + + + General Options + + + Qt::AlignLeading + + + + 9 + + + 0 + + + + + Debug + + + + + + + + + + Sync Options + + + + 9 + + + 6 + + + + + Sync command: + + + + + + + + + + + + + Update World Options + + + + 9 + + + 0 + + + + + --deep + + + + + + + --newuse + + + + + + + + + + Use Flag and Keyword Options + + + + 9 + + + 6 + + + + + <u><i>Masking Keywords</u></i> + + + + + + + <i><u>Use Flags</u></i> + + + + + + + portato + + + + + + + Add only exact version to package.keywords + + + + + + + File name to use, if package.keywords is a directory + + + + + + + File name to use if package.mask/.unmask is a directory + + + + + + + Add only exact version to package.use + + + + + + + portato + + + + + + + <i><u>Testing Keywords</u></i> + + + + + + + File name to use, if package.use is a directory + + + + + + + Add only exact version to package.mask/.unmask + + + + + + + portato + + + + + + + true + + + QFrame::StyledPanel + + + QFrame::Raised + + + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal; text-decoration:none;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">You may use the following placeholders:</span> </p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">$(cat)</span>: category</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">$(pkg)</span>: package name</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">$(cat-1)/$(cat-2)</span>: first/second part of the category</p></body></html> + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok + + + true + + + + + + + + + buttonBox + accepted() + PreferencesWindow + accept() + + + 227 + 676 + + + 157 + 274 + + + + + buttonBox + rejected() + PreferencesWindow + reject() + + + 295 + 682 + + + 286 + 274 + + + + + -- cgit v1.2.3-70-g09d2