Пример #1
0
Wizard::Wizard( QWidget *parent, const char *name )
    : QWizard( parent, name, TRUE )
{
    setupPage1();
    setupPage2();
    setupPage3();

    key->setFocus();
}
Пример #2
0
KPrWebPresentationWizard::KPrWebPresentationWizard( const QString &_config, KPrDocument *_doc,
                                                  KPrView *_view )
    : KWizard( 0, "", false ), config( _config ), webPres( config, _doc, _view )
{
    doc = _doc;
    view = _view;

    setupPage1();
    setupPage2();
    setupPage3();
    setupPage4();
    setupPage5();

    connect( nextButton(), SIGNAL( clicked() ), this, SLOT( pageChanged() ) );
    connect( backButton(), SIGNAL( clicked() ), this, SLOT( pageChanged() ) );
    connect( finishButton(), SIGNAL( clicked() ), this, SLOT( finish() ) );
}
Пример #3
0
CODBCCreate::CODBCCreate( QWidget* parent, const char* name )
	: Q3Wizard( parent, name, TRUE )
#else
CODBCCreate::CODBCCreate( QWidget* parent, const char* name )
	: QWizard( parent, name, TRUE )
#endif
{
	setupPage1();
	setupPage2();
	setupPage3();
	setupPage4();
    LoadState();
	setNextEnabled( box1, FALSE );
	setNextEnabled( box3, FALSE );
    connect( this, SIGNAL(selected(const QString &)), SLOT(page_change(const QString &)) );

	setCaption( "Create New Data Source" );

	extra_keywords = "";
	verify = true;
	ret_code = false;
}