[Split] QDialog questions
-
can you please guide me on how to work with QDialog
1.would like to have a tool bar on dlg
2.woluld like to restrict the size of the Dlg
3.would like to have a spalsh screen before opening the app.thanks in advance.
[EDIT: Question split out of the "original thread":http://developer.qt.nokia.com/forums/viewthread/4645/ because it's completely unrelated. Please start new threads for new questions; Volker]
-
[quote author="Thomas Kennedy" date="1303281754"]
1.would like to have a tool bar on dlg
2.woluld like to restrict the size of the Dlg
3.would like to have a spalsh screen before opening the app.
[/quote]A tool bar is a QWidget. You can place it anywhere you want like any other widget. You won't have the tool bar areas that a QMainWindow has, though.
QWidget has:
@ void setFixedHeight ( int h )
void setFixedSize ( const QSize & s )
void setFixedSize ( int w, int h )
void setFixedWidth ( int w )
void setMaximumHeight ( int maxh )
void setMaximumSize ( const QSize & )
void setMaximumSize ( int maxw, int maxh )
void setMaximumWidth ( int maxw )
void setMinimumHeight ( int minh )
void setMinimumSize ( const QSize & )
void setMinimumSize ( int minw, int minh )
void setMinimumWidth ( int minw )@QSplashScreen