From: pavelpa Date: Thu, 28 Jan 2010 09:02:14 +0000 (+0000) Subject: if no conference is in the DB, the user is automatically X-Git-Tag: 0.5.0~158 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/7da2b49c2118711cca2df4ed756b970eb14cea2c if no conference is in the DB, the user is automatically navigated to the conference tab, so he can import one --- diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 1d8bf0a..130204e 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -52,6 +52,8 @@ MainWindow::MainWindow(int aEventId, QWidget *aParent) else { conferenceHeader->hide(); + // go to the 'conferenceTab', so the user can import the schedule + tabWidget->setCurrentIndex(6); // 6 - conference tab } // open dialog for given Event ID diff --git a/src/gui/searchhead.ui b/src/gui/searchhead.ui index c5beae5..bb8ca37 100644 --- a/src/gui/searchhead.ui +++ b/src/gui/searchhead.ui @@ -1,8 +1,7 @@ - - + SearchHeadClass - - + + 0 0 @@ -10,117 +9,104 @@ 88 - - + + 0 0 - + 10 10 - + SearchHead - - + + 9 - + - - + + Title - + true - - + + Abstract - - + + Speaker - - + + Tag - - + + Room - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + - - + + true - + type a keyword to search - - - + + + 0 0 - + Search - - + + :/icons/search.png:/icons/search.png - + false - + true - + true - + false @@ -128,11 +114,11 @@ - - + + Qt::Vertical - + 20 20 @@ -142,9 +128,9 @@ - + - +