equal
deleted
inserted
replaced
52 mMainWindow(mainWindow) |
52 mMainWindow(mainWindow) |
53 { |
53 { |
54 #ifdef ENABLE_FAST_PAINT_ |
54 #ifdef ENABLE_FAST_PAINT_ |
55 setAttribute(Qt::WA_NoSystemBackground); // Disable clearing of background |
55 setAttribute(Qt::WA_NoSystemBackground); // Disable clearing of background |
56 #endif |
56 #endif |
|
57 setSizePolicy( QSizePolicy::Ignored, QSizePolicy::Ignored ); |
57 |
58 |
58 mPrtImageName = defaultImageName(Qt::Vertical); |
59 mPrtImageName = defaultImageName(Qt::Vertical); |
59 mLscImageName = defaultImageName(Qt::Horizontal); |
60 mLscImageName = defaultImageName(Qt::Horizontal); |
60 updateBackgroundImage(); |
61 updateBackgroundImage(); |
61 } |
62 } |