void QvisDelayedWindow::show() { if(!isCreated) { // Create the window and show it. CreateEntireWindow(); isCreated = true; // Update the widgets based on the state information. UpdateWindow(true); // Show the window QvisWindowBase::show(); } else if(isVisible()) { // The window is created and is already showing. raise(); } else { // Show the window QvisWindowBase::show(); } }
QvisMacroWindow::QvisMacroWindow(const QString &captionString, const QString &shortName, QvisNotepadArea *n) : QvisPostableWindow(captionString, shortName, n) { macroButtons = 0; CreateEntireWindow(); isCreated = true; }
QvisPostableMainWindow::QvisPostableMainWindow(const QString &captionString, const QString &shortName, QvisNotepadArea *n) : QvisPostableWindow(captionString, shortName, n) { contentsWidget = 0; contentsLayout = 0; addLayoutStretch = false; CreateEntireWindow(); dismissButton->setEnabled(false); isCreated = true; }
void QvisDelayedWindow::raise() { if(!isCreated) { // Create the window CreateEntireWindow(); isCreated = true; // Update the widgets to the right values UpdateWindow(true); } // raise the window QvisWindowBase::raise(); }