chochatown
Messages postés
11
Date d'inscription
lundi 18 mai 2009
Statut
Membre
Dernière intervention
17 juin 2009
10 juin 2009 à 05:12
Bonjour ,
merci bien uaip pour ton aide et voila je vous joint le code de mes classes qui font appel à la bibliothèque de QT.
Remarque : j'ai declarer le MainWindow dans le header de App mais la meme chose.
exuser comment je pourrai coller mon code sous forme de code dans cppfrance.
Merciii.
header App.h
#ifndef APP
#define APP
/*!
* \class App
*
*/
#include "../inc/Frm.h"
class App
{
public:
App(void );
~App( void );
private:
//Frm *theFrm;
/*!
* \fn virtual bool OnInit( void );
* \brief Inits the Application
*/
virtual bool OnInit( void );
};
#endif
App.cpp // qui contient le main *********
#include "../src/Frm.cpp"
#include "../inc/App.h"
#include
#include
#include
//IMPLEMENT_APP( App )
App::App( void )
{
}
App::~App( void )
{
}
bool App::OnInit( void )
{
return true;
}
int main( void )
{
QMainWindow *MainWindow;
Frm *theFrm = new Frm( );
theFrm->setupUi(MainWindow);
return 0;
}
Frm.h
#ifndef FRM
#define FRM
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
QT_BEGIN_NAMESPACE
/*!
* \class Frm
* \brief wxWidgets Frame
* \author Olivier Pilotte
*/
class Frm
{
private:
// ogr
Ogr *ogr;
string error;
bool source;
bool driver;
bool target;
public:
//QMainWindow *MainWindow;
QAction *mnuQuit;
QAction *mnuGdalHelp;
QAction *mnuOgr2guiHelp;
QAction *mnuAbout;
QAction *actionAbout;
QWidget *centralwidget;
QHBoxLayout *horizontalLayout_37;
QTabWidget *thePanel;
QWidget *pnlFile;
QWidget *widget;
QWidget *verticalLayoutWidget;
QVBoxLayout *verticalLayout_5;
QGroupBox *grpFileSource;
QWidget *gridLayoutWidget;
QGridLayout *gridLayout_17;
QHBoxLayout *horizontalLayout_2;
QLineEdit *txtFolderSource;
QPushButton *btnFileSource_2;
QLabel *lblFileSQuery;
QLabel *lblFileSourceProjection;
QLabel *lblFolderSource;
QLineEdit *txtFileSQuery;
QLineEdit *txtFileSourceProjection;
QGroupBox *groupBox_2;
QWidget *gridLayoutWidget_2;
QGridLayout *gridLayout;
QLabel *lblFileFormat;
QLabel *lblFileProjection;
QLabel *label_5;
QComboBox *cmbFileFormat;
QHBoxLayout *horizontalLayout_3;
QLineEdit *lineEdit_4;
QPushButton *btnFileTarget;
QHBoxLayout *horizontalLayout_4;
QLineEdit *txtFileProjection;
QComboBox *cmbFileProjection;
QHBoxLayout *horizontalLayout;
QRadioButton *radFileAppend;
QRadioButton *radFileOvrwrt;
QRadioButton *radFileUpdate;
QTextEdit *txtFileOutput;
QWidget *widget_2;
QWidget *horizontalLayoutWidget;
QHBoxLayout *horizontalLayout_11;
QPushButton *btnFileExecute;
QPushButton *btnFileQuit;
QWidget *pnlFolder;
QWidget *widget_3;
QWidget *verticalLayoutWidget_2;
QVBoxLayout *verticalLayout_4;
QGroupBox *groupBox_5;
QWidget *gridLayoutWidget_5;
QGridLayout *gridLayout_5;
QVBoxLayout *verticalLayout_6;
QLabel *label_13;
QRadioButton *radAllFolderSourceFiles;
QRadioButton *radNonFolderSourceFiles;
QLabel *label_14;
QHBoxLayout *horizontalLayout_12;
QLineEdit *lineEdit_9;
QPushButton *btnFolderSource;
QTextEdit *textEdit_5;
QGroupBox *groupBox_6;
QWidget *gridLayoutWidget_6;
QGridLayout *gridLayout_6;
QLabel *lblFolderTarget;
QLabel *lblFolderFormat;
QLabel *lblFolderProjection;
QLabel *lblFolderTargetFiles;
QHBoxLayout *horizontalLayout_13;
QLineEdit *txtFolderTarget;
QPushButton *btnFolderTarget;
QComboBox *cmbFolderFormat;
QHBoxLayout *horizontalLayout_14;
QLineEdit *txtFolderProjection;
QComboBox *cmbFolderProjection;
QTextEdit *lstFolderTargetFiles;
QTextEdit *txtFolderOutput;
QWidget *widget_4;
QWidget *horizontalLayoutWidget_2;
QHBoxLayout *horizontalLayout_6;
QPushButton *btnFolderExecute;
QPushButton *pushButton_9;
QMenuBar *theMenu;
QMenu *fileMenu;
QMenu *aboutMenu;
QStatusBar *statusbar;
QToolBar *toolBar;
// methode setup of the window *****
void setupUi(QMainWindow* );
void retranslateUi(QMainWindow* );
/*!
* \fn Frm( const wxString &, const wxPoint &, const wxSize & );
* \brief Constructor
*/
Frm(void );
/*!
* \fn ~Frm
* \brief Destructor
*/
~Frm( void );
};
namespace Ui {
class MainWindow: public Frm {};
} // namespace Ui
QT_END_NAMESPACE
#endif
frm.cpp
#include "../src/Ogr.cpp"
#include "../inc/Frm.h"
Frm::Frm( void )
{
}
Frm::~Frm( void )
{
}
void Frm::setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(572, 595);
mnuQuit = new QAction(MainWindow);
mnuQuit->setObjectName(QString::fromUtf8("mnuQuit"));
mnuGdalHelp = new QAction(MainWindow);
mnuGdalHelp->setObjectName(QString::fromUtf8("mnuGdalHelp"));
mnuOgr2guiHelp = new QAction(MainWindow);
mnuOgr2guiHelp->setObjectName(QString::fromUtf8("mnuOgr2guiHelp"));
mnuAbout = new QAction(MainWindow);
mnuAbout->setObjectName(QString::fromUtf8("mnuAbout"));
actionAbout = new QAction(MainWindow);
actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
centralwidget = new QWidget(MainWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
centralwidget->setGeometry(QRect(0, 37, 572, 535));
centralwidget->setLayoutDirection(Qt::LeftToRight);
horizontalLayout_37 = new QHBoxLayout(centralwidget);
horizontalLayout_37->setObjectName(QString::fromUtf8("horizontalLayout_37"));
thePanel = new QTabWidget(centralwidget);
thePanel->setObjectName(QString::fromUtf8("thePanel"));
QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(thePanel->sizePolicy().hasHeightForWidth());
thePanel->setSizePolicy(sizePolicy);
thePanel->setMaximumSize(QSize(16777215, 16777215));
pnlFile = new QWidget();
pnlFile->setObjectName(QString::fromUtf8("pnlFile"));
pnlFile->setGeometry(QRect(0, 0, 550, 489));
sizePolicy.setHeightForWidth(pnlFile->sizePolicy().hasHeightForWidth());
pnlFile->setSizePolicy(sizePolicy);
pnlFile->setCursor(QCursor(Qt::ArrowCursor));
widget = new QWidget(pnlFile);
widget->setObjectName(QString::fromUtf8("widget"));
widget->setGeometry(QRect(0, 0, 541, 461));
sizePolicy.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
widget->setSizePolicy(sizePolicy);
widget->setCursor(QCursor(Qt::ArrowCursor));
verticalLayoutWidget = new QWidget(widget);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(0, 0, 531, 461));
verticalLayout_5 = new QVBoxLayout(verticalLayoutWidget);
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
verticalLayout_5->setSizeConstraint(QLayout::SetDefaultConstraint);
verticalLayout_5->setContentsMargins(0, 0, 0, 0);
grpFileSource = new QGroupBox(verticalLayoutWidget);
grpFileSource->setObjectName(QString::fromUtf8("grpFileSource"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Minimum);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(grpFileSource->sizePolicy().hasHeightForWidth());
grpFileSource->setSizePolicy(sizePolicy1);
grpFileSource->setMaximumSize(QSize(16777215, 150));
gridLayoutWidget = new QWidget(grpFileSource);
gridLayoutWidget->setObjectName(QString::fromUtf8("gridLayoutWidget"));
gridLayoutWidget->setGeometry(QRect(9, 9, 511, 124));
gridLayout_17 = new QGridLayout(gridLayoutWidget);
gridLayout_17->setObjectName(QString::fromUtf8("gridLayout_17"));
gridLayout_17->setContentsMargins(0, 0, 0, 0);
horizontalLayout_2 = new QHBoxLayout();
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
txtFolderSource = new QLineEdit(gridLayoutWidget);
txtFolderSource->setObjectName(QString::fromUtf8("txtFolderSource"));
horizontalLayout_2->addWidget(txtFolderSource);
btnFileSource_2 = new QPushButton(gridLayoutWidget);
btnFileSource_2->setObjectName(QString::fromUtf8("btnFileSource_2"));
horizontalLayout_2->addWidget(btnFileSource_2);
gridLayout_17->addLayout(horizontalLayout_2, 0, 1, 1, 1);
lblFileSQuery = new QLabel(gridLayoutWidget);
lblFileSQuery->setObjectName(QString::fromUtf8("lblFileSQuery"));
gridLayout_17->addWidget(lblFileSQuery, 2, 0, 1, 1);
lblFileSourceProjection = new QLabel(gridLayoutWidget);
lblFileSourceProjection->setObjectName(QString::fromUtf8("lblFileSourceProjection"));
gridLayout_17->addWidget(lblFileSourceProjection, 1, 0, 1, 1);
lblFolderSource = new QLabel(gridLayoutWidget);
lblFolderSource->setObjectName(QString::fromUtf8("lblFolderSource"));
gridLayout_17->addWidget(lblFolderSource, 0, 0, 1, 1);
txtFileSQuery = new QLineEdit(gridLayoutWidget);
txtFileSQuery->setObjectName(QString::fromUtf8("txtFileSQuery"));
gridLayout_17->addWidget(txtFileSQuery, 2, 1, 1, 1);
txtFileSourceProjection = new QLineEdit(gridLayoutWidget);
txtFileSourceProjection->setObjectName(QString::fromUtf8("txtFileSourceProjection"));
gridLayout_17->addWidget(txtFileSourceProjection, 1, 1, 1, 1);
verticalLayout_5->addWidget(grpFileSource);
groupBox_2 = new QGroupBox(verticalLayoutWidget);
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
groupBox_2->setEnabled(false);
QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
groupBox_2->setSizePolicy(sizePolicy2);
gridLayoutWidget_2 = new QWidget(groupBox_2);
gridLayoutWidget_2->setObjectName(QString::fromUtf8("gridLayoutWidget_2"));
gridLayoutWidget_2->setGeometry(QRect(9, 9, 511, 161));
gridLayout = new QGridLayout(gridLayoutWidget_2);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
gridLayout->setVerticalSpacing(20);
gridLayout->setContentsMargins(0, 10, 0, 10);
lblFileFormat = new QLabel(gridLayoutWidget_2);
lblFileFormat->setObjectName(QString::fromUtf8("lblFileFormat"));
QSizePolicy sizePolicy3(QSizePolicy::Minimum, QSizePolicy::Minimum);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(lblFileFormat->sizePolicy().hasHeightForWidth());
lblFileFormat->setSizePolicy(sizePolicy3);
gridLayout->addWidget(lblFileFormat, 0, 0, 1, 1);
lblFileProjection = new QLabel(gridLayoutWidget_2);
lblFileProjection->setObjectName(QString::fromUtf8("lblFileProjection"));
gridLayout->addWidget(lblFileProjection, 2, 0, 1, 1);
label_5 = new QLabel(gridLayoutWidget_2);
label_5->setObjectName(QString::fromUtf8("label_5"));
gridLayout->addWidget(label_5, 1, 0, 1, 1);
cmbFileFormat = new QComboBox(gridLayoutWidget_2);
cmbFileFormat->setObjectName(QString::fromUtf8("cmbFileFormat"));
QSizePolicy sizePolicy4(QSizePolicy::Minimum, QSizePolicy::Fixed);
sizePolicy4.setHorizontalStretch(170);
sizePolicy4.setVerticalStretch(0);
sizePolicy4.setHeightForWidth(cmbFileFormat->sizePolicy().hasHeightForWidth());
cmbFileFormat->setSizePolicy(sizePolicy4);
gridLayout->addWidget(cmbFileFormat, 0, 1, 1, 1);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
horizontalLayout_3->setSizeConstraint(QLayout::SetDefaultConstraint);
lineEdit_4 = new QLineEdit(gridLayoutWidget_2);
lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
horizontalLayout_3->addWidget(lineEdit_4);
btnFileTarget = new QPushButton(gridLayoutWidget_2);
btnFileTarget->setObjectName(QString::fromUtf8("btnFileTarget"));
horizontalLayout_3->addWidget(btnFileTarget);
gridLayout->addLayout(horizontalLayout_3, 1, 1, 1, 1);
horizontalLayout_4 = new QHBoxLayout();
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
txtFileProjection = new QLineEdit(gridLayoutWidget_2);
txtFileProjection->setObjectName(QString::fromUtf8("txtFileProjection"));
txtFileProjection->setMaximumSize(QSize(50, 16777215));
horizontalLayout_4->addWidget(txtFileProjection);
cmbFileProjection = new QComboBox(gridLayoutWidget_2);
cmbFileProjection->setObjectName(QString::fromUtf8("cmbFileProjection"));
sizePolicy2.setHeightForWidth(cmbFileProjection->sizePolicy().hasHeightForWidth());
cmbFileProjection->setSizePolicy(sizePolicy2);
horizontalLayout_4->addWidget(cmbFileProjection);
gridLayout->addLayout(horizontalLayout_4, 2, 1, 1, 1);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
radFileAppend = new QRadioButton(gridLayoutWidget_2);
radFileAppend->setObjectName(QString::fromUtf8("radFileAppend"));
horizontalLayout->addWidget(radFileAppend);
radFileOvrwrt = new QRadioButton(gridLayoutWidget_2);
radFileOvrwrt->setObjectName(QString::fromUtf8("radFileOvrwrt"));
horizontalLayout->addWidget(radFileOvrwrt);
radFileUpdate = new QRadioButton(gridLayoutWidget_2);
radFileUpdate->setObjectName(QString::fromUtf8("radFileUpdate"));
horizontalLayout->addWidget(radFileUpdate);
gridLayout->addLayout(horizontalLayout, 3, 1, 1, 1);
lblFileFormat->raise();
lblFileProjection->raise();
label_5->raise();
cmbFileFormat->raise();
verticalLayout_5->addWidget(groupBox_2);
txtFileOutput = new QTextEdit(verticalLayoutWidget);
txtFileOutput->setObjectName(QString::fromUtf8("txtFileOutput"));
sizePolicy1.setHeightForWidth(txtFileOutput->sizePolicy().hasHeightForWidth());
txtFileOutput->setSizePolicy(sizePolicy1);
txtFileOutput->setMaximumSize(QSize(16777215, 60));
verticalLayout_5->addWidget(txtFileOutput);
widget_2 = new QWidget(verticalLayoutWidget);
widget_2->setObjectName(QString::fromUtf8("widget_2"));
widget_2->setMaximumSize(QSize(16777215, 50));
horizontalLayoutWidget = new QWidget(widget_2);
horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
horizontalLayoutWidget->setGeometry(QRect(0, 0, 521, 51));
horizontalLayout_11 = new QHBoxLayout(horizontalLayoutWidget);
horizontalLayout_11->setSpacing(50);
horizontalLayout_11->setObjectName(QString::fromUtf8("horizontalLayout_11"));
horizontalLayout_11->setContentsMargins(50, 0, 50, 0);
btnFileExecute = new QPushButton(horizontalLayoutWidget);
btnFileExecute->setObjectName(QString::fromUtf8("btnFileExecute"));
horizontalLayout_11->addWidget(btnFileExecute);
btnFileQuit = new QPushButton(horizontalLayoutWidget);
btnFileQuit->setObjectName(QString::fromUtf8("btnFileQuit"));
horizontalLayout_11->addWidget(btnFileQuit);
verticalLayout_5->addWidget(widget_2);
thePanel->addTab(pnlFile, QString());
pnlFolder = new QWidget();
pnlFolder->setObjectName(QString::fromUtf8("pnlFolder"));
pnlFolder->setGeometry(QRect(0, 0, 550, 489));
sizePolicy.setHeightForWidth(pnlFolder->sizePolicy().hasHeightForWidth());
pnlFolder->setSizePolicy(sizePolicy);
widget_3 = new QWidget(pnlFolder);
widget_3->setObjectName(QString::fromUtf8("widget_3"));
widget_3->setGeometry(QRect(0, 0, 541, 461));
sizePolicy.setHeightForWidth(widget_3->sizePolicy().hasHeightForWidth());
widget_3->setSizePolicy(sizePolicy);
verticalLayoutWidget_2 = new QWidget(widget_3);
verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
verticalLayoutWidget_2->setGeometry(QRect(0, 0, 531, 461));
verticalLayout_4 = new QVBoxLayout(verticalLayoutWidget_2);
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
groupBox_5 = new QGroupBox(verticalLayoutWidget_2);
groupBox_5->setObjectName(QString::fromUtf8("groupBox_5"));
sizePolicy.setHeightForWidth(groupBox_5->sizePolicy().hasHeightForWidth());
groupBox_5->setSizePolicy(sizePolicy);
gridLayoutWidget_5 = new QWidget(groupBox_5);
gridLayoutWidget_5->setObjectName(QString::fromUtf8("gridLayoutWidget_5"));
gridLayoutWidget_5->setGeometry(QRect(10, 20, 511, 131));
gridLayout_5 = new QGridLayout(gridLayoutWidget_5);
gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
gridLayout_5->setContentsMargins(0, 0, 0, 0);
verticalLayout_6 = new QVBoxLayout();
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
label_13 = new QLabel(gridLayoutWidget_5);
label_13->setObjectName(QString::fromUtf8("label_13"));
verticalLayout_6->addWidget(label_13);
radAllFolderSourceFiles = new QRadioButton(gridLayoutWidget_5);
radAllFolderSourceFiles->setObjectName(QString::fromUtf8("radAllFolderSourceFiles"));
verticalLayout_6->addWidget(radAllFolderSourceFiles);
radNonFolderSourceFiles = new QRadioButton(gridLayoutWidget_5);
radNonFolderSourceFiles->setObjectName(QString::fromUtf8("radNonFolderSourceFiles"));
verticalLayout_6->addWidget(radNonFolderSourceFiles);
gridLayout_5->addLayout(verticalLayout_6, 2, 0, 1, 1);
label_14 = new QLabel(gridLayoutWidget_5);
label_14->setObjectName(QString::fromUtf8("label_14"));
gridLayout_5->addWidget(label_14, 1, 0, 1, 1);
horizontalLayout_12 = new QHBoxLayout();
horizontalLayout_12->setObjectName(QString::fromUtf8("horizontalLayout_12"));
lineEdit_9 = new QLineEdit(gridLayoutWidget_5);
lineEdit_9->setObjectName(QString::fromUtf8("lineEdit_9"));
horizontalLayout_12->addWidget(lineEdit_9);
btnFolderSource = new QPushButton(gridLayoutWidget_5);
btnFolderSource->setObjectName(QString::fromUtf8("btnFolderSource"));
horizontalLayout_12->addWidget(btnFolderSource);
gridLayout_5->addLayout(horizontalLayout_12, 1, 1, 1, 1);
textEdit_5 = new QTextEdit(gridLayoutWidget_5);
textEdit_5->setObjectName(QString::fromUtf8("textEdit_5"));
gridLayout_5->addWidget(textEdit_5, 2, 1, 1, 1);
verticalLayout_4->addWidget(groupBox_5);
groupBox_6 = new QGroupBox(verticalLayoutWidget_2);
groupBox_6->setObjectName(QString::fromUtf8("groupBox_6"));
sizePolicy.setHeightForWidth(groupBox_6->sizePolicy().hasHeightForWidth());
groupBox_6->setSizePolicy(sizePolicy);
gridLayoutWidget_6 = new QWidget(groupBox_6);
gridLayoutWidget_6->setObjectName(QString::fromUtf8("gridLayoutWidget_6"));
gridLayoutWidget_6->setGeometry(QRect(9, 19, 511, 141));
gridLayout_6 = new QGridLayout(gridLayoutWidget_6);
gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
gridLayout_6->setContentsMargins(0, 0, 0, 0);
lblFolderTarget = new QLabel(gridLayoutWidget_6);
lblFolderTarget->setObjectName(QString::fromUtf8("lblFolderTarget"));
gridLayout_6->addWidget(lblFolderTarget, 0, 0, 1, 1);
lblFolderFormat = new QLabel(gridLayoutWidget_6);
lblFolderFormat->setObjectName(QString::fromUtf8("lblFolderFormat"));
gridLayout_6->addWidget(lblFolderFormat, 1, 0, 1, 1);
lblFolderProjection = new QLabel(gridLayoutWidget_6);
lblFolderProjection->setObjectName(QString::fromUtf8("lblFolderProjection"));
gridLayout_6->addWidget(lblFolderProjection, 2, 0, 1, 1);
lblFolderTargetFiles = new QLabel(gridLayoutWidget_6);
lblFolderTargetFiles->setObjectName(QString::fromUtf8("lblFolderTargetFiles"));
gridLayout_6->addWidget(lblFolderTargetFiles, 3, 0, 1, 1);
horizontalLayout_13 = new QHBoxLayout();
horizontalLayout_13->setObjectName(QString::fromUtf8("horizontalLayout_13"));
txtFolderTarget = new QLineEdit(gridLayoutWidget_6);
txtFolderTarget->setObjectName(QString::fromUtf8("txtFolderTarget"));
horizontalLayout_13->addWidget(txtFolderTarget);
btnFolderTarget = new QPushButton(gridLayoutWidget_6);
btnFolderTarget->setObjectName(QString::fromUtf8("btnFolderTarget"));
horizontalLayout_13->addWidget(btnFolderTarget);
gridLayout_6->addLayout(horizontalLayout_13, 0, 1, 1, 1);
cmbFolderFormat = new QComboBox(gridLayoutWidget_6);
cmbFolderFormat->setObjectName(QString::fromUtf8("cmbFolderFormat"));
gridLayout_6->addWidget(cmbFolderFormat, 1, 1, 1, 1);
horizontalLayout_14 = new QHBoxLayout();
horizontalLayout_14->setObjectName(QString::fromUtf8("horizontalLayout_14"));
txtFolderProjection = new QLineEdit(gridLayoutWidget_6);
txtFolderProjection->setObjectName(QString::fromUtf8("txtFolderProjection"));
txtFolderProjection->setMaximumSize(QSize(50, 16777215));
horizontalLayout_14->addWidget(txtFolderProjection);
cmbFolderProjection = new QComboBox(gridLayoutWidget_6);
cmbFolderProjection->setObjectName(QString::fromUtf8("cmbFolderProjection"));
QSizePolicy sizePolicy5(QSizePolicy::Expanding, QSizePolicy::Fixed);
sizePolicy5.setHorizontalStretch(0);
sizePolicy5.setVerticalStretch(0);
sizePolicy5.setHeightForWidth(cmbFolderProjection->sizePolicy().hasHeightForWidth());
cmbFolderProjection->setSizePolicy(sizePolicy5);
horizontalLayout_14->addWidget(cmbFolderProjection);
gridLayout_6->addLayout(horizontalLayout_14, 2, 1, 1, 1);
lstFolderTargetFiles = new QTextEdit(gridLayoutWidget_6);
lstFolderTargetFiles->setObjectName(QString::fromUtf8("lstFolderTargetFiles"));
gridLayout_6->addWidget(lstFolderTargetFiles, 3, 1, 1, 1);
verticalLayout_4->addWidget(groupBox_6);
txtFolderOutput = new QTextEdit(verticalLayoutWidget_2);
txtFolderOutput->setObjectName(QString::fromUtf8("txtFolderOutput"));
txtFolderOutput->setMaximumSize(QSize(16777215, 70));
verticalLayout_4->addWidget(txtFolderOutput);
widget_4 = new QWidget(verticalLayoutWidget_2);
widget_4->setObjectName(QString::fromUtf8("widget_4"));
sizePolicy2.setHeightForWidth(widget_4->sizePolicy().hasHeightForWidth());
widget_4->setSizePolicy(sizePolicy2);
widget_4->setMinimumSize(QSize(0, 50));
horizontalLayoutWidget_2 = new QWidget(widget_4);
horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
horizontalLayoutWidget_2->setGeometry(QRect(-1, 0, 521, 51));
horizontalLayout_6 = new QHBoxLayout(horizontalLayoutWidget_2);
horizontalLayout_6->setSpacing(50);
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
horizontalLayout_6->setContentsMargins(50, 0, 50, 0);
btnFolderExecute = new QPushButton(horizontalLayoutWidget_2);
btnFolderExecute->setObjectName(QString::fromUtf8("btnFolderExecute"));
horizontalLayout_6->addWidget(btnFolderExecute);
pushButton_9 = new QPushButton(horizontalLayoutWidget_2);
pushButton_9->setObjectName(QString::fromUtf8("pushButton_9"));
horizontalLayout_6->addWidget(pushButton_9);
verticalLayout_4->addWidget(widget_4);
thePanel->addTab(pnlFolder, QString());
horizontalLayout_37->addWidget(thePanel);
MainWindow->setCentralWidget(centralwidget);
theMenu = new QMenuBar(MainWindow);
theMenu->setObjectName(QString::fromUtf8("theMenu"));
theMenu->setGeometry(QRect(0, 0, 572, 26));
fileMenu = new QMenu(theMenu);
fileMenu->setObjectName(QString::fromUtf8("fileMenu"));
aboutMenu = new QMenu(theMenu);
aboutMenu->setObjectName(QString::fromUtf8("aboutMenu"));
MainWindow->setMenuBar(theMenu);
statusbar = new QStatusBar(MainWindow);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
statusbar->setGeometry(QRect(0, 572, 572, 23));
MainWindow->setStatusBar(statusbar);
toolBar = new QToolBar(MainWindow);
toolBar->setObjectName(QString::fromUtf8("toolBar"));
toolBar->setGeometry(QRect(0, 26, 572, 11));
MainWindow->addToolBar(Qt::TopToolBarArea, toolBar);
theMenu->addAction(fileMenu->menuAction());
theMenu->addAction(aboutMenu->menuAction());
fileMenu->addAction(mnuQuit);
aboutMenu->addAction(mnuGdalHelp);
aboutMenu->addAction(mnuOgr2guiHelp);
aboutMenu->addSeparator();
aboutMenu->addAction(actionAbout);
retranslateUi(MainWindow);
thePanel->setCurrentIndex(1);
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void Frm::retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "ogr2gui - Inventis", 0, QApplication::UnicodeUTF8));
mnuQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
mnuQuit->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", 0, QApplication::UnicodeUTF8));
mnuGdalHelp->setText(QApplication::translate("MainWindow", "ogr2gui", 0, QApplication::UnicodeUTF8));
mnuOgr2guiHelp->setText(QApplication::translate("MainWindow", "ogr2ogr", 0, QApplication::UnicodeUTF8));
mnuAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
actionAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_ACCESSIBILITY
thePanel->setAccessibleName(QString());
#endif // QT_NO_ACCESSIBILITY
grpFileSource->setTitle(QApplication::translate("MainWindow", "Source", 0, QApplication::UnicodeUTF8));
btnFileSource_2->setText(QApplication::translate("MainWindow", "Open", 0, QApplication::UnicodeUTF8));
lblFileSQuery->setText(QApplication::translate("MainWindow", "SQL Query", 0, QApplication::UnicodeUTF8));
lblFileSourceProjection->setText(QApplication::translate("MainWindow", "Projection", 0, QApplication::UnicodeUTF8));
lblFolderSource->setText(QApplication::translate("MainWindow", "File name", 0, QApplication::UnicodeUTF8));
groupBox_2->setTitle(QApplication::translate("MainWindow", "Target", 0, QApplication::UnicodeUTF8));
lblFileFormat->setText(QApplication::translate("MainWindow", "Format", 0, QApplication::UnicodeUTF8));
lblFileProjection->setText(QApplication::translate("MainWindow", "Projection", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("MainWindow", "File name", 0, QApplication::UnicodeUTF8));
btnFileTarget->setText(QApplication::translate("MainWindow", "Save", 0, QApplication::UnicodeUTF8));
radFileAppend->setText(QApplication::translate("MainWindow", "Append", 0, QApplication::UnicodeUTF8));
radFileOvrwrt->setText(QApplication::translate("MainWindow", "overwrite", 0, QApplication::UnicodeUTF8));
radFileUpdate->setText(QApplication::translate("MainWindow", "update", 0, QApplication::UnicodeUTF8));
btnFileExecute->setText(QApplication::translate("MainWindow", "Execute", 0, QApplication::UnicodeUTF8));
btnFileQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
thePanel->setTabText(thePanel->indexOf(pnlFile), QApplication::translate("MainWindow", "Tab 1", 0, QApplication::UnicodeUTF8));
groupBox_5->setTitle(QApplication::translate("MainWindow", "Source", 0, QApplication::UnicodeUTF8));
label_13->setText(QApplication::translate("MainWindow", "Files", 0, QApplication::UnicodeUTF8));
radAllFolderSourceFiles->setText(QApplication::translate("MainWindow", "all", 0, QApplication::UnicodeUTF8));
radNonFolderSourceFiles->setText(QApplication::translate("MainWindow", "none", 0, QApplication::UnicodeUTF8));
label_14->setText(QApplication::translate("MainWindow", "Folder", 0, QApplication::UnicodeUTF8));
btnFolderSource->setText(QApplication::translate("MainWindow", "Browse", 0, QApplication::UnicodeUTF8));
groupBox_6->setTitle(QApplication::translate("MainWindow", "Target", 0, QApplication::UnicodeUTF8));
lblFolderTarget->setText(QApplication::translate("MainWindow", "Folder", 0, QApplication::UnicodeUTF8));
lblFolderFormat->setText(QApplication::translate("MainWindow", "Format", 0, QApplication::UnicodeUTF8));
lblFolderProjection->setText(QApplication::translate("MainWindow", "Projection", 0, QApplication::UnicodeUTF8));
lblFolderTargetFiles->setText(QApplication::translate("MainWindow", "Files", 0, QApplication::UnicodeUTF8));
btnFolderTarget->setText(QApplication::translate("MainWindow", "Browse", 0, QApplication::UnicodeUTF8));
btnFolderExecute->setText(QApplication::translate("MainWindow", "Execute", 0, QApplication::UnicodeUTF8));
pushButton_9->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8));
thePanel->setTabText(thePanel->indexOf(pnlFolder), QApplication::translate("MainWindow", "Tab 2", 0, QApplication::UnicodeUTF8));
fileMenu->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8));
aboutMenu->setTitle(QApplication::translate("MainWindow", "help", 0, QApplication::UnicodeUTF8));
toolBar->setWindowTitle(QApplication::translate("MainWindow", "toolBar", 0, QApplication::UnicodeUTF8));
} // retranslateUi