00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGSETTINGSMACRO_H
00011 #define UI_DLGSETTINGSMACRO_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QGridLayout>
00018 #include <QtGui/QGroupBox>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QSpacerItem>
00021 #include <QtGui/QVBoxLayout>
00022 #include <QtGui/QWidget>
00023 #include "Gui/PrefWidgets.h"
00024
00025 namespace Gui {
00026 namespace Dialog {
00027
00028 class Ui_DlgSettingsMacro
00029 {
00030 public:
00031 QGridLayout *gridLayout;
00032 QGroupBox *GroupBox6;
00033 QGridLayout *gridLayout1;
00034 QSpacerItem *spacerItem;
00035 QGroupBox *groupBox4;
00036 QVBoxLayout *vboxLayout;
00037 Gui::PrefCheckBox *PConsoleCheckBox;
00038 Gui::PrefCheckBox *FileLogCheckBox;
00039 Gui::PrefFileChooser *MacroPath_2;
00040 QGroupBox *GroupBox7;
00041 QGridLayout *gridLayout2;
00042 Gui::PrefCheckBox *PrefCheckBox_RecordGui;
00043 Gui::PrefCheckBox *PrefCheckBox_GuiAsComment;
00044 QGroupBox *GroupBox8;
00045 QGridLayout *gridLayout3;
00046 Gui::PrefFileChooser *MacroPath;
00047
00048 void setupUi(QWidget *Gui__Dialog__DlgSettingsMacro)
00049 {
00050 if (Gui__Dialog__DlgSettingsMacro->objectName().isEmpty())
00051 Gui__Dialog__DlgSettingsMacro->setObjectName(QString::fromUtf8("Gui__Dialog__DlgSettingsMacro"));
00052 Gui__Dialog__DlgSettingsMacro->resize(384, 388);
00053 gridLayout = new QGridLayout(Gui__Dialog__DlgSettingsMacro);
00054 gridLayout->setSpacing(6);
00055 gridLayout->setMargin(9);
00056 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00057 GroupBox6 = new QGroupBox(Gui__Dialog__DlgSettingsMacro);
00058 GroupBox6->setObjectName(QString::fromUtf8("GroupBox6"));
00059 gridLayout1 = new QGridLayout(GroupBox6);
00060 gridLayout1->setSpacing(6);
00061 gridLayout1->setMargin(9);
00062 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00063 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00064
00065 gridLayout1->addItem(spacerItem, 3, 0, 1, 1);
00066
00067 groupBox4 = new QGroupBox(GroupBox6);
00068 groupBox4->setObjectName(QString::fromUtf8("groupBox4"));
00069 vboxLayout = new QVBoxLayout(groupBox4);
00070 vboxLayout->setSpacing(6);
00071 vboxLayout->setMargin(11);
00072 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00073 PConsoleCheckBox = new Gui::PrefCheckBox(groupBox4);
00074 PConsoleCheckBox->setObjectName(QString::fromUtf8("PConsoleCheckBox"));
00075 PConsoleCheckBox->setChecked(true);
00076 PConsoleCheckBox->setProperty("prefEntry", QVariant(QByteArray("ScriptToPyConsole")));
00077 PConsoleCheckBox->setProperty("prefPath", QVariant(QByteArray("Macro")));
00078
00079 vboxLayout->addWidget(PConsoleCheckBox);
00080
00081 FileLogCheckBox = new Gui::PrefCheckBox(groupBox4);
00082 FileLogCheckBox->setObjectName(QString::fromUtf8("FileLogCheckBox"));
00083 FileLogCheckBox->setProperty("prefEntry", QVariant(QByteArray("ScriptToFile")));
00084 FileLogCheckBox->setProperty("prefPath", QVariant(QByteArray("Macro")));
00085
00086 vboxLayout->addWidget(FileLogCheckBox);
00087
00088 MacroPath_2 = new Gui::PrefFileChooser(groupBox4);
00089 MacroPath_2->setObjectName(QString::fromUtf8("MacroPath_2"));
00090 MacroPath_2->setProperty("prefEntry", QVariant(QByteArray("ScriptFile")));
00091 MacroPath_2->setProperty("prefPath", QVariant(QByteArray("Macro")));
00092
00093 vboxLayout->addWidget(MacroPath_2);
00094
00095
00096 gridLayout1->addWidget(groupBox4, 2, 0, 1, 1);
00097
00098 GroupBox7 = new QGroupBox(GroupBox6);
00099 GroupBox7->setObjectName(QString::fromUtf8("GroupBox7"));
00100 gridLayout2 = new QGridLayout(GroupBox7);
00101 gridLayout2->setSpacing(6);
00102 gridLayout2->setMargin(11);
00103 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00104 PrefCheckBox_RecordGui = new Gui::PrefCheckBox(GroupBox7);
00105 PrefCheckBox_RecordGui->setObjectName(QString::fromUtf8("PrefCheckBox_RecordGui"));
00106 PrefCheckBox_RecordGui->setChecked(true);
00107 PrefCheckBox_RecordGui->setProperty("prefEntry", QVariant(QByteArray("RecordGui")));
00108 PrefCheckBox_RecordGui->setProperty("prefPath", QVariant(QByteArray("Macro")));
00109
00110 gridLayout2->addWidget(PrefCheckBox_RecordGui, 0, 0, 1, 1);
00111
00112 PrefCheckBox_GuiAsComment = new Gui::PrefCheckBox(GroupBox7);
00113 PrefCheckBox_GuiAsComment->setObjectName(QString::fromUtf8("PrefCheckBox_GuiAsComment"));
00114 PrefCheckBox_GuiAsComment->setChecked(true);
00115 PrefCheckBox_GuiAsComment->setProperty("prefEntry", QVariant(QByteArray("GuiAsComment")));
00116 PrefCheckBox_GuiAsComment->setProperty("prefPath", QVariant(QByteArray("Macro")));
00117
00118 gridLayout2->addWidget(PrefCheckBox_GuiAsComment, 1, 0, 1, 1);
00119
00120
00121 gridLayout1->addWidget(GroupBox7, 1, 0, 1, 1);
00122
00123 GroupBox8 = new QGroupBox(GroupBox6);
00124 GroupBox8->setObjectName(QString::fromUtf8("GroupBox8"));
00125 gridLayout3 = new QGridLayout(GroupBox8);
00126 gridLayout3->setSpacing(6);
00127 gridLayout3->setMargin(11);
00128 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
00129 MacroPath = new Gui::PrefFileChooser(GroupBox8);
00130 MacroPath->setObjectName(QString::fromUtf8("MacroPath"));
00131 MacroPath->setMode(Gui::FileChooser::Directory);
00132 MacroPath->setProperty("prefEntry", QVariant(QByteArray("MacroPath")));
00133 MacroPath->setProperty("prefPath", QVariant(QByteArray("Macro")));
00134
00135 gridLayout3->addWidget(MacroPath, 0, 0, 1, 1);
00136
00137
00138 gridLayout1->addWidget(GroupBox8, 0, 0, 1, 1);
00139
00140
00141 gridLayout->addWidget(GroupBox6, 0, 0, 1, 1);
00142
00143
00144 retranslateUi(Gui__Dialog__DlgSettingsMacro);
00145 QObject::connect(PrefCheckBox_RecordGui, SIGNAL(toggled(bool)), PrefCheckBox_GuiAsComment, SLOT(setEnabled(bool)));
00146
00147 QMetaObject::connectSlotsByName(Gui__Dialog__DlgSettingsMacro);
00148 }
00149
00150 void retranslateUi(QWidget *Gui__Dialog__DlgSettingsMacro)
00151 {
00152 Gui__Dialog__DlgSettingsMacro->setWindowTitle(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Macro", 0, QApplication::UnicodeUTF8));
00153 GroupBox6->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Macro recording settings", 0, QApplication::UnicodeUTF8));
00154 groupBox4->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Logging Commands", 0, QApplication::UnicodeUTF8));
00155 PConsoleCheckBox->setText(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Show script commands in python console", 0, QApplication::UnicodeUTF8));
00156 FileLogCheckBox->setText(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Log all commands issued by menus to file:", 0, QApplication::UnicodeUTF8));
00157 MacroPath_2->setFileName(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "FullScript.FCScript", 0, QApplication::UnicodeUTF8));
00158 GroupBox7->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Gui commands", 0, QApplication::UnicodeUTF8));
00159 PrefCheckBox_RecordGui->setText(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Recording GUI commands", 0, QApplication::UnicodeUTF8));
00160 PrefCheckBox_GuiAsComment->setText(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Record as comment", 0, QApplication::UnicodeUTF8));
00161 GroupBox8->setTitle(QApplication::translate("Gui::Dialog::DlgSettingsMacro", "Macro path", 0, QApplication::UnicodeUTF8));
00162 Q_UNUSED(Gui__Dialog__DlgSettingsMacro);
00163 }
00164
00165 };
00166
00167 }
00168 }
00169
00170 namespace Gui {
00171 namespace Dialog {
00172 namespace Ui {
00173 class DlgSettingsMacro: public Ui_DlgSettingsMacro {};
00174 }
00175 }
00176 }
00177
00178 #endif // UI_DLGSETTINGSMACRO_H