equal
deleted
inserted
replaced
68 }; |
68 }; |
69 |
69 |
70 HbInputTransparentWindow::HbInputTransparentWindow(QGraphicsItem *parent) : |
70 HbInputTransparentWindow::HbInputTransparentWindow(QGraphicsItem *parent) : |
71 HbWidget(parent) |
71 HbWidget(parent) |
72 { |
72 { |
73 setFlag(QGraphicsItem::ItemHasNoContents, false); |
73 setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true); |
74 } |
74 } |
75 |
75 |
76 |
76 |
77 /*! |
77 /*! |
78 Destructs the transparent window. |
78 Destructs the transparent window. |
298 |
298 |
299 #if defined(Q_OS_SYMBIAN) |
299 #if defined(Q_OS_SYMBIAN) |
300 // this is done to come on top of all the controls in symbian OS, done to overlap soft keys as well. |
300 // this is done to come on top of all the controls in symbian OS, done to overlap soft keys as well. |
301 RWindow *rWindow = static_cast<RWindow *>(effectiveWinId()->DrawableWindow()); |
301 RWindow *rWindow = static_cast<RWindow *>(effectiveWinId()->DrawableWindow()); |
302 const int positionForeground(0); |
302 const int positionForeground(0); |
303 rWindow->SetOrdinalPosition(positionForeground, |
303 rWindow->SetOrdinalPosition(positionForeground); |
304 ECoeWinPriorityAlwaysAtFront); |
|
305 #endif |
304 #endif |
306 } |
305 } |
307 |
306 |
308 void HbInputMainWindow::hideInputWindow() |
307 void HbInputMainWindow::hideInputWindow() |
309 { |
308 { |
314 if (isVisible()) { |
313 if (isVisible()) { |
315 hide(); |
314 hide(); |
316 #if defined(Q_OS_SYMBIAN) |
315 #if defined(Q_OS_SYMBIAN) |
317 RWindow *rWindow = static_cast<RWindow *>(effectiveWinId()->DrawableWindow()); |
316 RWindow *rWindow = static_cast<RWindow *>(effectiveWinId()->DrawableWindow()); |
318 const int positionBackground(-1); |
317 const int positionBackground(-1); |
319 rWindow->SetOrdinalPosition(positionBackground, ECoeWinPriorityNormal); |
318 rWindow->SetOrdinalPosition(positionBackground); |
320 #endif |
319 #endif |
321 } |
320 } |
322 |
321 |
323 HbInputRegionCollector::instance()->setEnabled(false); |
322 HbInputRegionCollector::instance()->setEnabled(false); |
324 |
323 |