Ignore:
Timestamp:
07/24/11 13:41:14 (11 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
c7da828
Parents:
6c85b24
Message:

Add today button to date navigator.
TODO: date is not centered between prev/next arrows anymore.

Cf. #29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/daynavigatorwidget.ui

    r6c85b24 ra6f4f3d  
    6262      </widget>
    6363     </item>
     64     <item>
     65      <widget class="QToolButton" name="todayButton">
     66       <property name="text">
     67        <string>...</string>
     68       </property>
     69       <property name="icon">
     70        <iconset resource="../icons.qrc">
     71         <normaloff>:/icons/today.png</normaloff>:/icons/today.png</iconset>
     72       </property>
     73       <property name="autoRaise">
     74        <bool>true</bool>
     75       </property>
     76      </widget>
     77     </item>
    6478    </layout>
    6579   </item>
    6680  </layout>
    6781 </widget>
    68  <resources/>
     82 <resources>
     83  <include location="../icons.qrc"/>
     84 </resources>
    6985 <connections/>
    7086 <slots>
    7187  <slot>prevDayButtonClicked()</slot>
    7288  <slot>nextDayButtonClicked()</slot>
     89  <slot>todayButtonClicked()</slot>
    7390 </slots>
    7491</ui>
Note: See TracChangeset for help on using the changeset viewer.