author | zautrix <zautrix> | 2005-07-06 19:41:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-06 19:41:06 (UTC) |
commit | 984e2132871c79990f6d9eac5702f7f32186f235 (patch) (side-by-side diff) | |
tree | 2bc4b50ee8b8284e74fd53bdfb78d6d3107806a0 /korganizer/mainwindow.cpp | |
parent | c79a8a4950c098fa6f5a7ae8396feb4dd3a91577 (diff) | |
download | kdepimpi-984e2132871c79990f6d9eac5702f7f32186f235.zip kdepimpi-984e2132871c79990f6d9eac5702f7f32186f235.tar.gz kdepimpi-984e2132871c79990f6d9eac5702f7f32186f235.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/mainwindow.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index e960424..9c2ac82 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -132,4 +132,5 @@ public: QPixmap* sgListViewCompletedPix[6]; +QPixmap* sgListViewJournalPix; @@ -144,6 +145,6 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : sgListViewCompletedPix[3] = &listviewPix60; sgListViewCompletedPix[4] = &listviewPix80; - if ( sgListViewCompletedPix[5]->height() < 5 ) { //int size = 12; + { sgListViewCompletedPix[5]->resize( 11, 11 ); sgListViewCompletedPix[5]->fill( Qt::white ); @@ -161,4 +162,14 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : p.fillRect( 1,1,iii*2,9,Qt::gray ); } + sgListViewJournalPix = &journalPix; + sgListViewJournalPix->resize( 11, 11 ); + sgListViewJournalPix->fill( Qt::white ); + { + QPainter p ( sgListViewJournalPix ); + p.drawRect( 0,0,11,11); + p.drawLine( 2,3,5,3); + p.drawLine( 2,5,8,5); + p.drawLine( 2,7,6,7); + } } mClosed = false; |