- Timestamp:
- 01/28/10 09:50:52 (13 years ago)
- Branches:
- master, qt5
- Children:
- 7da2b49
- Parents:
- ac43c29
- Location:
- src/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
rac43c29 rbb6f7d6 136 136 tracksTabContainer->setDates(startDate, endDate); 137 137 roomsTabContainer->setDates(startDate, endDate); 138 favsTabContainer->setDates(startDate, endDate); 139 searchTabContainer->setDates(startDate, endDate); 138 //favsTabContainer->setDates(startDate, endDate); 139 //searchTabContainer->setDates(startDate, endDate); 140 searchTabContainer->searchAgainClicked(); 140 141 nowTabContainer->updateTreeView(QDate::currentDate()); 141 142 } -
src/gui/searchtabcontainer.cpp
rac43c29 rbb6f7d6 35 35 searchAgainButton->hide(); 36 36 treeView->hide(); 37 // do not show 'search' header if there are no conferences in the DB 38 if(Conference::getAll().count()==0) 39 { 40 header->hide(); 41 } 37 42 38 43 connect( header, SIGNAL(searchClicked()), SLOT(searchButtonClicked())); -
src/gui/searchtabcontainer.h
rac43c29 rbb6f7d6 15 15 protected: 16 16 virtual void loadEvents( const QDate &aDate, const int aConferenceId ); 17 public slots: 18 void searchAgainClicked(); // made it public - to show header when 1.st conf importing is done successfuly 17 19 private slots: 18 20 void searchButtonClicked(); 19 void searchAgainClicked();20 21 21 22 private: -
src/gui/tabcontainer.cpp
rac43c29 rbb6f7d6 32 32 connect(treeView, SIGNAL(requestForConflicts(const QModelIndex &)), SLOT(displayConflicts(const QModelIndex &))); 33 33 34 if(!Conference::getAll().count()) // no conference(s) in the DB 35 { 36 dayNavigator->hide(); 37 } 38 else 39 { 40 QDate aStartDate = Conference::getById(Conference::activeConference()).start(); 41 QDate aEndDate = Conference::getById(Conference::activeConference()).end(); 42 dayNavigator->setDates(aStartDate, aEndDate); 43 } 34 // day navigator is hidden by default 35 dayNavigator->hide(); 44 36 } 45 37
Note: See TracChangeset
for help on using the changeset viewer.