예제 #1
0
void CODBCCreate::setupPage3()
{
#ifdef QT_V4LAYOUT
	box3 = new Q3HBox( this );
#else
	box3 = new QHBox( this );
#endif
	box3->setSpacing( 5 );

	file_edit = new QLineEdit( box3 );
	file_find = new QPushButton( "Browse", box3, "Browse" );

    connect( file_find, SIGNAL(clicked()), SLOT(file_click()) );
    connect( file_edit, SIGNAL(textChanged(const QString &)), SLOT(file_changed(const QString &)) );

	addPage( box3, "Type the name of the file data source you want to save\nthis connection to. Or, find the location to save to\nby clicking Browse" );

	setHelpEnabled( box3, FALSE );
	setFinishEnabled( box3, FALSE );
}
예제 #2
0
파일: files.c 프로젝트: rzel/dim3
void file_run(void)
{
	gui_draw(1.0f,TRUE);
	file_click();
}