Пример #1
0
int main( int argc, char **argv )
{

    QApplication a( argc, argv );

    TabDialog tabdialog( 0, "tabdialog", QString( argc < 2 ? "." : argv[1] ) );
    tabdialog.resize( 450, 350 );
    tabdialog.setCaption( "Example for a Tabbed Dialog" );
    a.setMainWidget( &tabdialog );
    tabdialog.show();

    return a.exec();
}
Пример #2
0
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QString fileName;

    if (argc >= 2)
        fileName = argv[1];
    else
        fileName = ".";

    TabDialog tabdialog(fileName);
    return tabdialog.exec();
}
Пример #3
0
void CGLWin::OptionVolumeRendering(void)
{
	CSceneNode * pnode;
	char dlgname[256];
	pnode = m_pGLUIWin->m_SceneGraph.GetActiveSceneNode();
	if (pnode==NULL)
		return;

	pnode->m_pObject->CopyAttribNames2DrawParms(pnode->m_DrawParms);
	const char *nodename = pnode->GetObjectName();
	sprintf(dlgname, "Rendering Config for Scene Node %s", nodename);
    CDGDrawParms tabdialog(&pnode->m_DrawParms, this, dlgname);
    tabdialog.exec();
}
Пример #4
0
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QString fileName;

    if (argc >= 2)
        fileName = argv[1];
    else
        fileName = ".";

    TabDialog tabdialog(fileName);
#ifdef Q_OS_SYMBIAN
    tabdialog.showMaximized();
#else
    tabdialog.show();
#endif

    return app.exec();
}
Пример #5
0
void CGLWin::OptionGlobalSetting(void)
{
    CDGDrawParms tabdialog(&_drawParms, this, "Global Setting");
    tabdialog.exec();	
	m_pGLUIWin->updateGL();  	
}