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 @@ -133,2 +133,3 @@ public: QPixmap* sgListViewCompletedPix[6]; +QPixmap* sgListViewJournalPix; @@ -145,4 +146,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : sgListViewCompletedPix[4] = &listviewPix80; - if ( sgListViewCompletedPix[5]->height() < 5 ) { //int size = 12; + { sgListViewCompletedPix[5]->resize( 11, 11 ); @@ -162,2 +163,12 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : } + 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); + } } |