38be0d1383
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
173 lines
6.6 KiB
C++
173 lines
6.6 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'preferencesdialog.ui'
|
|
**
|
|
** Created: Fri Sep 4 10:17:14 2009
|
|
** by: Qt User Interface Compiler version 4.6.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef PREFERENCESDIALOG_H
|
|
#define PREFERENCESDIALOG_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QComboBox>
|
|
#include <QtGui/QDialog>
|
|
#include <QtGui/QDialogButtonBox>
|
|
#include <QtGui/QFrame>
|
|
#include <QtGui/QGridLayout>
|
|
#include <QtGui/QGroupBox>
|
|
#include <QtGui/QHBoxLayout>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QListWidget>
|
|
#include <QtGui/QSpacerItem>
|
|
#include <QtGui/QToolButton>
|
|
#include <QtGui/QVBoxLayout>
|
|
#include <previewconfigurationwidget_p.h>
|
|
#include "fontpanel.h"
|
|
#include "gridpanel_p.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_PreferencesDialog
|
|
{
|
|
public:
|
|
QVBoxLayout *vboxLayout;
|
|
QHBoxLayout *hboxLayout;
|
|
QVBoxLayout *vboxLayout1;
|
|
QGroupBox *m_uiModeGroupBox;
|
|
QVBoxLayout *vboxLayout2;
|
|
QComboBox *m_uiModeCombo;
|
|
FontPanel *m_fontPanel;
|
|
qdesigner_internal::PreviewConfigurationWidget *m_previewConfigurationWidget;
|
|
QVBoxLayout *vboxLayout3;
|
|
QGroupBox *m_templatePathGroupBox;
|
|
QGridLayout *gridLayout;
|
|
QListWidget *m_templatePathListWidget;
|
|
QToolButton *m_addTemplatePathButton;
|
|
QToolButton *m_removeTemplatePathButton;
|
|
QSpacerItem *spacerItem;
|
|
qdesigner_internal::GridPanel *m_gridPanel;
|
|
QFrame *line;
|
|
QDialogButtonBox *m_dialogButtonBox;
|
|
|
|
void setupUi(QDialog *PreferencesDialog)
|
|
{
|
|
if (PreferencesDialog->objectName().isEmpty())
|
|
PreferencesDialog->setObjectName(QString::fromUtf8("PreferencesDialog"));
|
|
PreferencesDialog->resize(455, 359);
|
|
PreferencesDialog->setModal(true);
|
|
vboxLayout = new QVBoxLayout(PreferencesDialog);
|
|
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
hboxLayout = new QHBoxLayout();
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
|
vboxLayout1 = new QVBoxLayout();
|
|
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
|
m_uiModeGroupBox = new QGroupBox(PreferencesDialog);
|
|
m_uiModeGroupBox->setObjectName(QString::fromUtf8("m_uiModeGroupBox"));
|
|
vboxLayout2 = new QVBoxLayout(m_uiModeGroupBox);
|
|
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
|
|
m_uiModeCombo = new QComboBox(m_uiModeGroupBox);
|
|
m_uiModeCombo->setObjectName(QString::fromUtf8("m_uiModeCombo"));
|
|
|
|
vboxLayout2->addWidget(m_uiModeCombo);
|
|
|
|
|
|
vboxLayout1->addWidget(m_uiModeGroupBox);
|
|
|
|
m_fontPanel = new FontPanel(PreferencesDialog);
|
|
m_fontPanel->setObjectName(QString::fromUtf8("m_fontPanel"));
|
|
|
|
vboxLayout1->addWidget(m_fontPanel);
|
|
|
|
m_previewConfigurationWidget = new qdesigner_internal::PreviewConfigurationWidget(PreferencesDialog);
|
|
m_previewConfigurationWidget->setObjectName(QString::fromUtf8("m_previewConfigurationWidget"));
|
|
|
|
vboxLayout1->addWidget(m_previewConfigurationWidget);
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout1);
|
|
|
|
vboxLayout3 = new QVBoxLayout();
|
|
vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
|
|
m_templatePathGroupBox = new QGroupBox(PreferencesDialog);
|
|
m_templatePathGroupBox->setObjectName(QString::fromUtf8("m_templatePathGroupBox"));
|
|
gridLayout = new QGridLayout(m_templatePathGroupBox);
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
m_templatePathListWidget = new QListWidget(m_templatePathGroupBox);
|
|
m_templatePathListWidget->setObjectName(QString::fromUtf8("m_templatePathListWidget"));
|
|
|
|
gridLayout->addWidget(m_templatePathListWidget, 0, 0, 1, 3);
|
|
|
|
m_addTemplatePathButton = new QToolButton(m_templatePathGroupBox);
|
|
m_addTemplatePathButton->setObjectName(QString::fromUtf8("m_addTemplatePathButton"));
|
|
|
|
gridLayout->addWidget(m_addTemplatePathButton, 1, 0, 1, 1);
|
|
|
|
m_removeTemplatePathButton = new QToolButton(m_templatePathGroupBox);
|
|
m_removeTemplatePathButton->setObjectName(QString::fromUtf8("m_removeTemplatePathButton"));
|
|
|
|
gridLayout->addWidget(m_removeTemplatePathButton, 1, 1, 1, 1);
|
|
|
|
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
gridLayout->addItem(spacerItem, 1, 2, 1, 1);
|
|
|
|
|
|
vboxLayout3->addWidget(m_templatePathGroupBox);
|
|
|
|
m_gridPanel = new qdesigner_internal::GridPanel(PreferencesDialog);
|
|
m_gridPanel->setObjectName(QString::fromUtf8("m_gridPanel"));
|
|
|
|
vboxLayout3->addWidget(m_gridPanel);
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout3);
|
|
|
|
|
|
vboxLayout->addLayout(hboxLayout);
|
|
|
|
line = new QFrame(PreferencesDialog);
|
|
line->setObjectName(QString::fromUtf8("line"));
|
|
line->setFrameShape(QFrame::HLine);
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
|
|
vboxLayout->addWidget(line);
|
|
|
|
m_dialogButtonBox = new QDialogButtonBox(PreferencesDialog);
|
|
m_dialogButtonBox->setObjectName(QString::fromUtf8("m_dialogButtonBox"));
|
|
m_dialogButtonBox->setOrientation(Qt::Horizontal);
|
|
m_dialogButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
|
vboxLayout->addWidget(m_dialogButtonBox);
|
|
|
|
|
|
retranslateUi(PreferencesDialog);
|
|
QObject::connect(m_dialogButtonBox, SIGNAL(accepted()), PreferencesDialog, SLOT(accept()));
|
|
QObject::connect(m_dialogButtonBox, SIGNAL(rejected()), PreferencesDialog, SLOT(reject()));
|
|
|
|
QMetaObject::connectSlotsByName(PreferencesDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *PreferencesDialog)
|
|
{
|
|
PreferencesDialog->setWindowTitle(QApplication::translate("PreferencesDialog", "Preferences", 0, QApplication::UnicodeUTF8));
|
|
m_uiModeGroupBox->setTitle(QApplication::translate("PreferencesDialog", "User Interface Mode", 0, QApplication::UnicodeUTF8));
|
|
m_templatePathGroupBox->setTitle(QApplication::translate("PreferencesDialog", "Additional Template Paths", 0, QApplication::UnicodeUTF8));
|
|
m_addTemplatePathButton->setText(QApplication::translate("PreferencesDialog", "...", 0, QApplication::UnicodeUTF8));
|
|
m_removeTemplatePathButton->setText(QApplication::translate("PreferencesDialog", "...", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class PreferencesDialog: public Ui_PreferencesDialog {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // PREFERENCESDIALOG_H
|