examples/sql/drilldown/view.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   132         window->activateWindow();
   132         window->activateWindow();
   133     } else if (window && !window->isVisible()) {
   133     } else if (window && !window->isVisible()) {
   134 #ifndef Q_OS_SYMBIAN
   134 #ifndef Q_OS_SYMBIAN
   135         window->show();
   135         window->show();
   136 #else
   136 #else
   137         window->showFullScreen();
   137         window->showMaximized();
   138 #endif
   138 #endif
   139     } else {
   139     } else {
   140         InformationWindow *window;
   140         InformationWindow *window;
   141         window = new InformationWindow(id, officeTable, this);
   141         window = new InformationWindow(id, officeTable, this);
   142 
   142 
   143         connect(window, SIGNAL(imageChanged(int, QString)),
   143         connect(window, SIGNAL(imageChanged(int,QString)),
   144                 this, SLOT(updateImage(int, QString)));
   144                 this, SLOT(updateImage(int,QString)));
   145 
   145 
   146 #ifndef Q_OS_SYMBIAN
   146 #ifndef Q_OS_SYMBIAN
   147         window->move(pos() + QPoint(20, 40));
   147         window->move(pos() + QPoint(20, 40));
   148         window->show();
   148         window->show();
   149 #else
   149 #else
   150         window->showFullScreen();
   150         window->showMaximized();
   151 #endif
   151 #endif
   152         informationWindows.append(window);
   152         informationWindows.append(window);
   153     }
   153     }
   154 }
   154 }
   155 //! [6]
   155 //! [6]