From f6b57b91d9af93a463b9549a6977feb48169c765 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Sat, 7 Apr 2007 22:20:25 +0000 Subject: Some more functionality for the Qt-Frontend --- portato/gui/qt/ui/MainWindow.ui | 51 +++++++++++++++++++++++-- portato/gui/qt/ui/SearchDialog.ui | 78 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 4 deletions(-) create mode 100644 portato/gui/qt/ui/SearchDialog.ui (limited to 'portato/gui/qt/ui') diff --git a/portato/gui/qt/ui/MainWindow.ui b/portato/gui/qt/ui/MainWindow.ui index c7a5549..5a8f950 100644 --- a/portato/gui/qt/ui/MainWindow.ui +++ b/portato/gui/qt/ui/MainWindow.ui @@ -64,16 +64,23 @@ QFrame::Sunken + + QAbstractItemView::NoEditTriggers + - + + + QAbstractItemView::NoEditTriggers + + - 2 + 0 @@ -214,6 +221,9 @@ p, li { white-space: pre-wrap; } Qt::ScrollBarAsNeeded + + QAbstractItemView::NoEditTriggers + true @@ -295,7 +305,24 @@ p, li { white-space: pre-wrap; } 6 - + + + QAbstractItemView::NoEditTriggers + + + 2 + + + + 1 + + + + + 1 + + + @@ -316,7 +343,7 @@ p, li { white-space: pre-wrap; } - &Emerge + E&merge @@ -419,5 +446,21 @@ p, li { white-space: pre-wrap; } + + searchEdit + returnPressed() + searchBtn + click() + + + 287 + 49 + + + 400 + 55 + + + diff --git a/portato/gui/qt/ui/SearchDialog.ui b/portato/gui/qt/ui/SearchDialog.ui new file mode 100644 index 0000000..02c62ff --- /dev/null +++ b/portato/gui/qt/ui/SearchDialog.ui @@ -0,0 +1,78 @@ + + SearchDialog + + + Qt::ApplicationModal + + + + 0 + 0 + 246 + 97 + + + + Search... + + + + 9 + + + 6 + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok + + + true + + + + + + + + + buttonBox + accepted() + SearchDialog + accept() + + + 164 + 112 + + + 157 + 70 + + + + + buttonBox + rejected() + SearchDialog + reject() + + + 164 + 112 + + + 173 + 70 + + + + + -- cgit v1.2.3-54-g00ecf