Changeset 167a532


Ignore:
Timestamp:
12/12/11 23:51:40 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
d12c1e0
Parents:
78d8c9e
Message:

Implemented stub for expand/collape all.

Location:
src/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r78d8c9e r167a532  
    167167
    168168
     169void MainWindow::on_expandAllAction_triggered() {
     170
     171}
     172
     173
     174void MainWindow::on_collapseAllAction_triggered() {
     175
     176}
     177
     178
    169179void MainWindow::onEventChanged(int aEventId, bool favouriteChanged) {
    170180    dayTabContainer->redisplayEvent(aEventId);
  • src/gui/mainwindow.h

    r78d8c9e r167a532  
    4848    void on_nowAction_triggered();
    4949    void on_searchAction_triggered();
     50    void on_expandAllAction_triggered();
     51    void on_collapseAllAction_triggered();
    5052
    5153    void onEventChanged(int aEventId, bool favouriteChanged);
  • src/gui/mainwindow.ui

    r78d8c9e r167a532  
    135135   <addaction name="nowAction"/>
    136136   <addaction name="searchAction"/>
     137   <addaction name="expandAllAction"/>
     138   <addaction name="collapseAllAction"/>
    137139  </widget>
    138140  <action name="conferencesAction">
     
    202204   <property name="shortcut">
    203205    <string>Ctrl+F</string>
     206   </property>
     207  </action>
     208  <action name="expandAllAction">
     209   <property name="icon">
     210    <iconset resource="../icons.qrc">
     211     <normaloff>:/icons/add.png</normaloff>:/icons/add.png</iconset>
     212   </property>
     213   <property name="text">
     214    <string>Expand all</string>
     215   </property>
     216  </action>
     217  <action name="collapseAllAction">
     218   <property name="icon">
     219    <iconset resource="../icons.qrc">
     220     <normaloff>:/icons/remove.png</normaloff>:/icons/remove.png</iconset>
     221   </property>
     222   <property name="text">
     223    <string>Collapse all</string>
    204224   </property>
    205225  </action>
Note: See TracChangeset for help on using the changeset viewer.