Changeset c9fa699


Ignore:
Timestamp:
01/27/10 22:40:15 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
9172ee8
Parents:
0401cc2
Message:

'nowTab' list is automatically expanded

Location:
src/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/gui/nowtabcontainer.cpp

    r0401cc2 rc9fa699  
    1313{
    1414    Q_UNUSED( aDate );
     15
    1516    static_cast<EventModel*>(treeView->model())->loadNowEvents( aConferenceId );
    16     treeView->setAllExpanded(true);
     17    dayNavigator->hide();
    1718}
    1819
     
    2122    updateTreeView( QDate() );
    2223}
     24
     25void NowTabContainer::updateTreeView(const QDate &aDate)
     26{
     27    TabContainer::updateTreeView(aDate);
     28    treeView->setAllExpanded(true);
     29}
     30
  • src/gui/nowtabcontainer.h

    r0401cc2 rc9fa699  
    1515    virtual void loadEvents( const QDate &aDate, const int aConferenceId );
    1616
     17protected slots:
     18    virtual void updateTreeView(const QDate &aDate);
     19
    1720private slots:
    1821    void timerUpdateTreeView();
Note: See TracChangeset for help on using the changeset viewer.