Ignore:
Timestamp:
01/25/10 09:02:15 (12 years ago)
Author:
timkoma <timkoma@…>
Branches:
master, qt5
Children:
6dc0dbc
Parents:
e7340e1
Message:

search update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    re7340e1 r0d4ecc2  
    122122    // event search button clicked
    123123    connect(searchButton, SIGNAL(clicked()), SLOT(searchClicked()));
     124    connect(searchAgainButton, SIGNAL(clicked()), SLOT(searchAgainClicked()));
    124125    // event conference map button clicked
    125126    connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked()));
     
    151152
    152153    searchTreeView->hide();
    153     searchDayNavigator->hide();
     154    searchVerticalWidget->hide();
     155    searchHead->show();
    154156
    155157    // open dialog for given Event ID
     
    233235    int eventsCount = static_cast<EventModel*>(searchTreeView->model())->loadSearchResultEvents(aDate,AppSettings::confId());
    234236    if( eventsCount ){
    235         searchDayNavigator->show();
     237        searchVerticalWidget->show();
     238        searchAgainButton->show();
    236239        searchTreeView->show();
     240        searchHead->hide();
    237241    }
    238242    else{
    239243        searchTreeView->hide();
    240         searchDayNavigator->hide();
     244        searchVerticalWidget->hide();
     245        searchHead->show();
    241246    }
    242247}
     
    294299}
    295300
     301void MainWindow::searchAgainClicked()
     302{
     303    searchHead->show();
     304    searchAgainButton->hide();
     305}
     306
    296307void MainWindow::conferenceMapClicked()
    297308{
Note: See TracChangeset for help on using the changeset viewer.