1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0023459: Update QT samples

Removing Qt3Support layer of Qt 4
Changed all files for Qt4 and added file VoxelDemo.pro
Removed 'static' before the declaration of handling FSD_File.
This commit is contained in:
vdn
2013-10-03 14:26:39 +04:00
committed by bugmaster
parent 9d1c5188ae
commit 3cb77da46e
10 changed files with 225 additions and 62 deletions

View File

@@ -28,61 +28,61 @@ void ApplicationWindow::createTranslatePopups()
QAction* a;
a = new QAction( QObject::tr("MNU_IMPORT_BREP"), this );
a->setStatusTip( QObject::tr("TBR_IMPORT_BREP") );
connect( a, SIGNAL( activated() ), this, SLOT( onImport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onImport() ) );
myCasCadeTranslateActions.insert( FileImportBREPId, a );
myImportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_BREP"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_BREP") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportBREPId, a );
myExportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_IMPORT_CSFDB"), this );
a->setStatusTip( QObject::tr("TBR_IMPORT_CSFDB") );
connect( a, SIGNAL( activated() ), this, SLOT( onImport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onImport() ) );
myCasCadeTranslateActions.insert( FileImportCSFDBId, a );
myImportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_CSFDB"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_CSFDB") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportCSFDBId, a );
myExportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_IMPORT_IGES"), this );
a->setStatusTip( QObject::tr("TBR_IMPORT_IGES") );
connect( a, SIGNAL( activated() ), this, SLOT( onImport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onImport() ) );
myCasCadeTranslateActions.insert( FileImportIGESId, a );
myImportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_IGES"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_IGES") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportIGESId, a );
myExportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_IMPORT_STEP"), this );
a->setStatusTip( QObject::tr("TBR_IMPORT_STEP") );
connect( a, SIGNAL( activated() ), this, SLOT( onImport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onImport() ) );
myCasCadeTranslateActions.insert( FileImportSTEPId, a );
myImportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_STEP"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_STEP") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportSTEPId, a );
myExportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_STL"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_STL") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportSTLId, a );
myExportPopup->addAction( a );
a = new QAction( QObject::tr("MNU_EXPORT_VRML"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_VRML") );
connect( a, SIGNAL( activated() ), this, SLOT( onExport() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExport() ) );
myCasCadeTranslateActions.insert( FileExportVRMLId, a );
myExportPopup->addAction( a );
@@ -90,7 +90,7 @@ void ApplicationWindow::createTranslatePopups()
a = new QAction( QObject::tr("MNU_EXPORT_IMAGE"), this );
a->setStatusTip( QObject::tr("TBR_EXPORT_IMAGE") );
connect( a, SIGNAL( activated() ), this, SLOT( onExportImage() ) );
connect( a, SIGNAL( triggered() ), this, SLOT( onExportImage() ) );
myExportPopup->addAction( a );
}