hbqt question

28 views
Skip to first unread message

nelson pires

unread,
Feb 25, 2013, 7:42:01 PM2/25/13
to qtcon...@googlegroups.com
Hello group.

In a hbqt app is it possible to have a dialog before the main window appears ?
ie
       if someCondition
             oDlg := dialogWindow()
             ...do some stuff...
      endif
       ....
      oMain := mainWindow()
      QApplication():exec()

TIA
Nelson
     

Pritpal Bedi

unread,
Feb 25, 2013, 11:05:49 PM2/25/13
to qtcon...@googlegroups.com
In a hbqt app is it possible to have a dialog before the main window appears ?
ie
       if someCondition
             oDlg := dialogWindow()
             ...do some stuff...
      endif
       ....
      oMain := mainWindow()
      QApplication():exec()


Yes.

The only requirement would be the dialog must be modal.
I mean, QDialog():exec() will do.


Pritpal Bedi
Reply all
Reply to author
Forward
0 new messages