00001 #ifndef UI_MERGEFEATURESDIALOG_H
00002 #define UI_MERGEFEATURESDIALOG_H
00003
00004 #include "Qt3Support/Q3ButtonGroup"
00005 #include <Qt3Support/Q3Header>
00006 #include <QtCore/QVariant>
00007 #include <QtGui/QAction>
00008 #include <QtGui/QApplication>
00009 #include <QtGui/QButtonGroup>
00010 #include <QtGui/QDialog>
00011 #include <QtGui/QLabel>
00012 #include <QtGui/QLineEdit>
00013 #include <QtGui/QPushButton>
00014 #include "Qt3Support/Q3Table"
00015 #include "Qt3Support/Q3TextBrowser"
00016
00017 class Ui_mergeFeaturesDialog
00018 {
00019 public:
00020 QPushButton *okButton;
00021 QPushButton *cancelButton;
00022 QPushButton *helpButton;
00023 Q3ButtonGroup *polygonToPolyLineGroup;
00024 Q3Table *inputOutputTable;
00025 QPushButton *addFileButton;
00026 QPushButton *removeFileButton;
00027 QPushButton *removeAllButton;
00028 Q3ButtonGroup *mergeFeaturesGroup;
00029 QPushButton *outputMergedFileButton;
00030 QLabel *outputMergedFileLabel;
00031 QLabel *mergeFeaturesClusterToleranceLabel;
00032 QLineEdit *clusterToleranceLineEdit;
00033 QLineEdit *outputMergedFileLineEdit;
00034 Q3TextBrowser *messageLog;
00035
00036 void setupUi(QDialog *mergeFeaturesDialog)
00037 {
00038 mergeFeaturesDialog->setObjectName(QString::fromUtf8("mergeFeaturesDialog"));
00039 mergeFeaturesDialog->resize(QSize(600, 534).expandedTo(mergeFeaturesDialog->minimumSizeHint()));
00040 okButton = new QPushButton(mergeFeaturesDialog);
00041 okButton->setObjectName(QString::fromUtf8("okButton"));
00042 okButton->setGeometry(QRect(513, 358, 80, 34));
00043 okButton->setAutoDefault(false);
00044 cancelButton = new QPushButton(mergeFeaturesDialog);
00045 cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
00046 cancelButton->setGeometry(QRect(427, 358, 80, 34));
00047 cancelButton->setAutoDefault(false);
00048 helpButton = new QPushButton(mergeFeaturesDialog);
00049 helpButton->setObjectName(QString::fromUtf8("helpButton"));
00050 helpButton->setGeometry(QRect(15, 358, 80, 34));
00051 helpButton->setAutoDefault(false);
00052 polygonToPolyLineGroup = new Q3ButtonGroup(mergeFeaturesDialog);
00053 polygonToPolyLineGroup->setObjectName(QString::fromUtf8("polygonToPolyLineGroup"));
00054 polygonToPolyLineGroup->setGeometry(QRect(15, 10, 580, 220));
00055 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(5));
00056 sizePolicy.setHorizontalStretch(0);
00057 sizePolicy.setVerticalStretch(0);
00058 sizePolicy.setHeightForWidth(polygonToPolyLineGroup->sizePolicy().hasHeightForWidth());
00059 polygonToPolyLineGroup->setSizePolicy(sizePolicy);
00060 polygonToPolyLineGroup->setOrientation(Qt::Vertical);
00061 inputOutputTable = new Q3Table(polygonToPolyLineGroup);
00062 inputOutputTable->setNumCols(0);
00063 inputOutputTable->setObjectName(QString::fromUtf8("inputOutputTable"));
00064 inputOutputTable->setGeometry(QRect(10, 10, 510, 200));
00065 inputOutputTable->setLineWidth(2);
00066 inputOutputTable->setMidLineWidth(0);
00067 inputOutputTable->setMargin(0);
00068 inputOutputTable->setResizePolicy(Q3ScrollView::Default);
00069 inputOutputTable->setDragAutoScroll(false);
00070 inputOutputTable->setNumRows(0);
00071 inputOutputTable->setNumCols(1);
00072 inputOutputTable->setShowGrid(true);
00073 inputOutputTable->setRowMovingEnabled(false);
00074 inputOutputTable->setColumnMovingEnabled(false);
00075 inputOutputTable->setFocusStyle(Q3Table::SpreadSheet);
00076 addFileButton = new QPushButton(polygonToPolyLineGroup);
00077 addFileButton->setObjectName(QString::fromUtf8("addFileButton"));
00078 addFileButton->setGeometry(QRect(530, 10, 40, 32));
00079 addFileButton->setIcon(QIcon(QString::fromUtf8("./icons/Plus32.png")));
00080 addFileButton->setAutoDefault(false);
00081 removeFileButton = new QPushButton(polygonToPolyLineGroup);
00082 removeFileButton->setObjectName(QString::fromUtf8("removeFileButton"));
00083 removeFileButton->setGeometry(QRect(530, 50, 40, 32));
00084 removeFileButton->setIcon(QIcon(QString::fromUtf8("./icons/Minus32.png")));
00085 removeFileButton->setAutoDefault(false);
00086 removeAllButton = new QPushButton(polygonToPolyLineGroup);
00087 removeAllButton->setObjectName(QString::fromUtf8("removeAllButton"));
00088 removeAllButton->setGeometry(QRect(530, 90, 40, 32));
00089 removeAllButton->setIcon(QIcon(QString::fromUtf8("./icons/Delete32.png")));
00090 removeAllButton->setAutoDefault(false);
00091 mergeFeaturesGroup = new Q3ButtonGroup(mergeFeaturesDialog);
00092 mergeFeaturesGroup->setObjectName(QString::fromUtf8("mergeFeaturesGroup"));
00093 mergeFeaturesGroup->setGeometry(QRect(14, 235, 581, 110));
00094 mergeFeaturesGroup->setOrientation(Qt::Vertical);
00095 outputMergedFileButton = new QPushButton(mergeFeaturesGroup);
00096 outputMergedFileButton->setObjectName(QString::fromUtf8("outputMergedFileButton"));
00097 outputMergedFileButton->setGeometry(QRect(478, 14, 81, 32));
00098 outputMergedFileButton->setAutoDefault(false);
00099 outputMergedFileLabel = new QLabel(mergeFeaturesGroup);
00100 outputMergedFileLabel->setObjectName(QString::fromUtf8("outputMergedFileLabel"));
00101 outputMergedFileLabel->setGeometry(QRect(21, 2, 144, 58));
00102 mergeFeaturesClusterToleranceLabel = new QLabel(mergeFeaturesGroup);
00103 mergeFeaturesClusterToleranceLabel->setObjectName(QString::fromUtf8("mergeFeaturesClusterToleranceLabel"));
00104 mergeFeaturesClusterToleranceLabel->setGeometry(QRect(21, 47, 132, 58));
00105 mergeFeaturesClusterToleranceLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00106 clusterToleranceLineEdit = new QLineEdit(mergeFeaturesGroup);
00107 clusterToleranceLineEdit->setObjectName(QString::fromUtf8("clusterToleranceLineEdit"));
00108 clusterToleranceLineEdit->setGeometry(QRect(169, 61, 130, 29));
00109 outputMergedFileLineEdit = new QLineEdit(mergeFeaturesGroup);
00110 outputMergedFileLineEdit->setObjectName(QString::fromUtf8("outputMergedFileLineEdit"));
00111 outputMergedFileLineEdit->setGeometry(QRect(171, 15, 301, 29));
00112 messageLog = new Q3TextBrowser(mergeFeaturesDialog);
00113 messageLog->setObjectName(QString::fromUtf8("messageLog"));
00114 messageLog->setGeometry(QRect(10, 407, 581, 120));
00115 QWidget::setTabOrder(clusterToleranceLineEdit, outputMergedFileLineEdit);
00116 QWidget::setTabOrder(outputMergedFileLineEdit, outputMergedFileButton);
00117 QWidget::setTabOrder(outputMergedFileButton, cancelButton);
00118 QWidget::setTabOrder(cancelButton, okButton);
00119 QWidget::setTabOrder(okButton, helpButton);
00120 retranslateUi(mergeFeaturesDialog);
00121
00122 QMetaObject::connectSlotsByName(mergeFeaturesDialog);
00123 }
00124
00125 void retranslateUi(QDialog *mergeFeaturesDialog)
00126 {
00127 mergeFeaturesDialog->setWindowTitle(QApplication::translate("mergeFeaturesDialog", "Merge Features", 0, QApplication::UnicodeUTF8));
00128 okButton->setText(QApplication::translate("mergeFeaturesDialog", "Run!", 0, QApplication::UnicodeUTF8));
00129 cancelButton->setText(QApplication::translate("mergeFeaturesDialog", "Close", 0, QApplication::UnicodeUTF8));
00130 helpButton->setText(QApplication::translate("mergeFeaturesDialog", "Help", 0, QApplication::UnicodeUTF8));
00131 polygonToPolyLineGroup->setTitle(QApplication::translate("mergeFeaturesDialog", "", 0, QApplication::UnicodeUTF8));
00132 inputOutputTable->setNumRows(0);
00133 addFileButton->setToolTip(QApplication::translate("mergeFeaturesDialog", "addFile", 0, QApplication::UnicodeUTF8));
00134 addFileButton->setText(QApplication::translate("mergeFeaturesDialog", "", 0, QApplication::UnicodeUTF8));
00135 removeFileButton->setToolTip(QApplication::translate("mergeFeaturesDialog", "removeFile", 0, QApplication::UnicodeUTF8));
00136 removeFileButton->setText(QApplication::translate("mergeFeaturesDialog", "", 0, QApplication::UnicodeUTF8));
00137 removeAllButton->setToolTip(QApplication::translate("mergeFeaturesDialog", "remove All Files", 0, QApplication::UnicodeUTF8));
00138 removeAllButton->setText(QApplication::translate("mergeFeaturesDialog", "", 0, QApplication::UnicodeUTF8));
00139 mergeFeaturesGroup->setTitle(QApplication::translate("mergeFeaturesDialog", "", 0, QApplication::UnicodeUTF8));
00140 outputMergedFileButton->setText(QApplication::translate("mergeFeaturesDialog", "Browse...", 0, QApplication::UnicodeUTF8));
00141 outputMergedFileLabel->setText(QApplication::translate("mergeFeaturesDialog", "Output Merged File", 0, QApplication::UnicodeUTF8));
00142 mergeFeaturesClusterToleranceLabel->setText(QApplication::translate("mergeFeaturesDialog", "Cluster Tolerance", 0, QApplication::UnicodeUTF8));
00143 clusterToleranceLineEdit->setText(QApplication::translate("mergeFeaturesDialog", "0", 0, QApplication::UnicodeUTF8));
00144 Q_UNUSED(mergeFeaturesDialog);
00145 }
00146
00147 };
00148
00149 namespace Ui {
00150 class mergeFeaturesDialog: public Ui_mergeFeaturesDialog {};
00151 }
00152
00153 #endif // UI_MERGEFEATURESDIALOG_H