summaryrefslogtreecommitdiffabout
path: root/korganizer/kdatenavigator.cpp
authorzautrix <zautrix>2005-03-25 15:07:31 (UTC)
committer zautrix <zautrix>2005-03-25 15:07:31 (UTC)
commit3326831dbf6f962e97a978781361db5198f6a035 (patch) (side-by-side diff)
tree9bf6e78ba06b0db2e321ee8f8b95e66b66cca852 /korganizer/kdatenavigator.cpp
parent5a0130ffdbf03fa5b881f856b41d081e91e1958b (diff)
downloadkdepimpi-3326831dbf6f962e97a978781361db5198f6a035.zip
kdepimpi-3326831dbf6f962e97a978781361db5198f6a035.tar.gz
kdepimpi-3326831dbf6f962e97a978781361db5198f6a035.tar.bz2
layout fix
Diffstat (limited to 'korganizer/kdatenavigator.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kdatenavigator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp
index 0cb767f..5eccfd6 100644
--- a/korganizer/kdatenavigator.cpp
+++ b/korganizer/kdatenavigator.cpp
@@ -114,17 +114,17 @@ KDateNavigator::KDateNavigator( QWidget *parent, const char *name )
topLayout->addMultiCellWidget(daymatrix,2,7,1,7);
// read settings from configuration file.
updateConfig();
enableRollover(FollowMonth);
mySizeHint = sizeHintTwoButtons();
myFullSizeHint = sizeHintTwoButtons( 4 );
mFontChanged = false;
- resize ( 3,3 );
+ //resize ( 3,3 );
}
void KDateNavigator::changeFont ( QFont fo )
{
setFont( fo );
mNavigatorBar->resetFont( fo );
}
QFont KDateNavigator::yourFontHint( QSize si , bool *b)
@@ -366,16 +366,17 @@ void KDateNavigator::updateConfig()
headings[i]->setText( dayName );
}
updateDates();
updateView();
}
void KDateNavigator::setShowWeekNums(bool enabled)
{
+ qDebug("KDateNavigator::setShowWeekNums***************************** ");
m_bShowWeekNums = enabled;
for(int i=0; i<6; i++) {
if(enabled)
weeknos[i]->show();
else
weeknos[i]->hide();
}
resize(size());