|
|
@ -129,7 +129,7 @@ extern void set_splash_status( const QString &txt );
|
|
|
|
extern QObject* qwf_form_object;
|
|
|
|
extern QObject* qwf_form_object;
|
|
|
|
extern QString *qwf_plugin_dir;
|
|
|
|
extern QString *qwf_plugin_dir;
|
|
|
|
|
|
|
|
|
|
|
|
MainWindow *MainWindow::self = 0;
|
|
|
|
Q_EXPORT MainWindow *MainWindow::self = 0;
|
|
|
|
|
|
|
|
|
|
|
|
QString assistantPath()
|
|
|
|
QString assistantPath()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -150,7 +150,7 @@ static QString textNoAccel( const QString& text)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MainWindow::MainWindow( bool asClient, bool single, const QString &plgDir )
|
|
|
|
Q_EXPORT MainWindow::MainWindow( bool asClient, bool single, const QString &plgDir )
|
|
|
|
: QMainWindow( 0, "designer_mainwindow", WType_TopLevel | (single ? 0 : WDestructiveClose) | WGroupLeader ),
|
|
|
|
: QMainWindow( 0, "designer_mainwindow", WType_TopLevel | (single ? 0 : WDestructiveClose) | WGroupLeader ),
|
|
|
|
grd( 10, 10 ), sGrid( TRUE ), snGrid( TRUE ), restoreConfig( TRUE ), splashScreen( TRUE ),
|
|
|
|
grd( 10, 10 ), sGrid( TRUE ), snGrid( TRUE ), restoreConfig( TRUE ), splashScreen( TRUE ),
|
|
|
|
fileFilter( tr( "Qt User-Interface Files (*.ui)" ) ), client( asClient ),
|
|
|
|
fileFilter( tr( "Qt User-Interface Files (*.ui)" ) ), client( asClient ),
|
|
|
|