Changeset 6c5eece in confclerk_git
- Timestamp:
- 08/18/21 19:56:32 (12 months ago)
- Branches:
- master
- Children:
- 4523005
- Parents:
- 3254de1
- Location:
- src/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/daynavigatorwidget.cpp
r3254de1 r6c5eece 84 84 } 85 85 86 QSize DayNavigatorWidget::minimumSizeHint() const { 87 #ifdef MAEMO 88 return QSize(20, 0); 89 #else 90 return QSize(fontMetrics().lineSpacing() * 3 / 2, 0); 91 #endif 92 } 93 86 94 87 95 void DayNavigatorWidget::configureNavigation() { -
src/gui/daynavigatorwidget.h
r3254de1 r6c5eece 39 39 QDate endDate() const {return mEndDate;} 40 40 void unsetDates(); 41 virtual QSize minimumSizeHint() const override; 41 42 protected: 42 43 void paintEvent(QPaintEvent *); -
src/gui/mainwindow.ui
r3254de1 r6c5eece 27 27 <layout class="QHBoxLayout" name="horizontalLayout"> 28 28 <item> 29 <widget class="DayNavigatorWidget" name="dayNavigator" native="true"> 30 <property name="minimumSize"> 31 <size> 32 <width>20</width> 33 <height>0</height> 34 </size> 35 </property> 36 </widget> 29 <widget class="DayNavigatorWidget" name="dayNavigator" native="true"/> 37 30 </item> 38 31 <item>
Note: See TracChangeset
for help on using the changeset viewer.