#include <kdialog.h> #include <klocale.h> /******************************************************************************** ** Form generated from reading ui file 'profileconfigdialogbase.ui' ** ** Created: Fri Jul 18 16:46:54 2008 ** by: Qt User Interface Compiler version 4.4.0 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! ********************************************************************************/ #ifndef UI_PROFILECONFIGDIALOGBASE_H #define UI_PROFILECONFIGDIALOGBASE_H #include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QGridLayout> #include <QtGui/QHBoxLayout> #include <QtGui/QLabel> #include <QtGui/QPushButton> #include <QtGui/QSpacerItem> #include <QtGui/QTabWidget> #include <QtGui/QVBoxLayout> #include <QtGui/QWidget> #include "kcombobox.h" #include "klineedit.h" QT_BEGIN_NAMESPACE class Ui_ProfileConfigDialogBase { public: QGridLayout *gridLayout; QTabWidget *tabWidget; QWidget *tab; QVBoxLayout *vboxLayout; QLabel *label; QHBoxLayout *hboxLayout; QLabel *PasswordLabel_2; KLineEdit *kcfg_Url; QHBoxLayout *hboxLayout1; QLabel *UserLabel; KLineEdit *kcfg_User; QHBoxLayout *hboxLayout2; QLabel *PasswordLabel; KLineEdit *passwordLineEdit; QSpacerItem *spacerItem; QHBoxLayout *hboxLayout3; QSpacerItem *spacerItem1; QPushButton *mAutoconfigureButton; QSpacerItem *spacerItem2; QWidget *tab_2; QVBoxLayout *vboxLayout1; QHBoxLayout *hboxLayout4; QLabel *TypeLabel; KComboBox *kcfg_Type; QSpacerItem *spacerItem3; QHBoxLayout *hboxLayout5; QLabel *BlogIdLabel; KLineEdit *kcfg_BlogId; QPushButton *mFetchIDButton; QSpacerItem *spacerItem4; QSpacerItem *spacerItem5; void setupUi(QWidget *ProfileConfigDialogBase) { if (ProfileConfigDialogBase->objectName().isEmpty()) ProfileConfigDialogBase->setObjectName(QString::fromUtf8("ProfileConfigDialogBase")); ProfileConfigDialogBase->resize(465, 273); QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(ProfileConfigDialogBase->sizePolicy().hasHeightForWidth()); ProfileConfigDialogBase->setSizePolicy(sizePolicy); gridLayout = new QGridLayout(ProfileConfigDialogBase); gridLayout->setSpacing(6); gridLayout->setMargin(11); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); tabWidget = new QTabWidget(ProfileConfigDialogBase); tabWidget->setObjectName(QString::fromUtf8("tabWidget")); tab = new QWidget(); tab->setObjectName(QString::fromUtf8("tab")); vboxLayout = new QVBoxLayout(tab); vboxLayout->setSpacing(6); vboxLayout->setMargin(11); vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); label = new QLabel(tab); label->setObjectName(QString::fromUtf8("label")); label->setWordWrap(true); vboxLayout->addWidget(label); hboxLayout = new QHBoxLayout(); hboxLayout->setSpacing(6); hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); PasswordLabel_2 = new QLabel(tab); PasswordLabel_2->setObjectName(QString::fromUtf8("PasswordLabel_2")); PasswordLabel_2->setWordWrap(false); hboxLayout->addWidget(PasswordLabel_2); kcfg_Url = new KLineEdit(tab); kcfg_Url->setObjectName(QString::fromUtf8("kcfg_Url")); kcfg_Url->setEchoMode(QLineEdit::Normal); kcfg_Url->setProperty("showClearButton", QVariant(true)); kcfg_Url->setPasswordMode(false); hboxLayout->addWidget(kcfg_Url); vboxLayout->addLayout(hboxLayout); hboxLayout1 = new QHBoxLayout(); hboxLayout1->setSpacing(6); hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); UserLabel = new QLabel(tab); UserLabel->setObjectName(QString::fromUtf8("UserLabel")); UserLabel->setWordWrap(false); hboxLayout1->addWidget(UserLabel); kcfg_User = new KLineEdit(tab); kcfg_User->setObjectName(QString::fromUtf8("kcfg_User")); kcfg_User->setProperty("showClearButton", QVariant(true)); hboxLayout1->addWidget(kcfg_User); vboxLayout->addLayout(hboxLayout1); hboxLayout2 = new QHBoxLayout(); hboxLayout2->setSpacing(6); hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2")); PasswordLabel = new QLabel(tab); PasswordLabel->setObjectName(QString::fromUtf8("PasswordLabel")); PasswordLabel->setWordWrap(false); hboxLayout2->addWidget(PasswordLabel); passwordLineEdit = new KLineEdit(tab); passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit")); passwordLineEdit->setEchoMode(QLineEdit::Password); passwordLineEdit->setProperty("showClearButton", QVariant(true)); passwordLineEdit->setPasswordMode(true); hboxLayout2->addWidget(passwordLineEdit); vboxLayout->addLayout(hboxLayout2); spacerItem = new QSpacerItem(445, 16, QSizePolicy::Minimum, QSizePolicy::Fixed); vboxLayout->addItem(spacerItem); hboxLayout3 = new QHBoxLayout(); hboxLayout3->setSpacing(6); hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3")); spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout3->addItem(spacerItem1); mAutoconfigureButton = new QPushButton(tab); mAutoconfigureButton->setObjectName(QString::fromUtf8("mAutoconfigureButton")); mAutoconfigureButton->setEnabled(false); hboxLayout3->addWidget(mAutoconfigureButton); vboxLayout->addLayout(hboxLayout3); spacerItem2 = new QSpacerItem(20, 141, QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout->addItem(spacerItem2); tabWidget->addTab(tab, QString()); tab_2 = new QWidget(); tab_2->setObjectName(QString::fromUtf8("tab_2")); vboxLayout1 = new QVBoxLayout(tab_2); vboxLayout1->setSpacing(6); vboxLayout1->setMargin(11); vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); hboxLayout4 = new QHBoxLayout(); hboxLayout4->setSpacing(6); hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4")); TypeLabel = new QLabel(tab_2); TypeLabel->setObjectName(QString::fromUtf8("TypeLabel")); TypeLabel->setMinimumSize(QSize(68, 0)); TypeLabel->setWordWrap(false); hboxLayout4->addWidget(TypeLabel); kcfg_Type = new KComboBox(tab_2); kcfg_Type->setObjectName(QString::fromUtf8("kcfg_Type")); QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(kcfg_Type->sizePolicy().hasHeightForWidth()); kcfg_Type->setSizePolicy(sizePolicy1); hboxLayout4->addWidget(kcfg_Type); spacerItem3 = new QSpacerItem(16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout4->addItem(spacerItem3); vboxLayout1->addLayout(hboxLayout4); hboxLayout5 = new QHBoxLayout(); hboxLayout5->setSpacing(6); hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5")); BlogIdLabel = new QLabel(tab_2); BlogIdLabel->setObjectName(QString::fromUtf8("BlogIdLabel")); BlogIdLabel->setMinimumSize(QSize(68, 0)); BlogIdLabel->setWordWrap(false); hboxLayout5->addWidget(BlogIdLabel); kcfg_BlogId = new KLineEdit(tab_2); kcfg_BlogId->setObjectName(QString::fromUtf8("kcfg_BlogId")); hboxLayout5->addWidget(kcfg_BlogId); mFetchIDButton = new QPushButton(tab_2); mFetchIDButton->setObjectName(QString::fromUtf8("mFetchIDButton")); hboxLayout5->addWidget(mFetchIDButton); spacerItem4 = new QSpacerItem(81, 28, QSizePolicy::Expanding, QSizePolicy::Minimum); hboxLayout5->addItem(spacerItem4); vboxLayout1->addLayout(hboxLayout5); spacerItem5 = new QSpacerItem(20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); vboxLayout1->addItem(spacerItem5); tabWidget->addTab(tab_2, QString()); gridLayout->addWidget(tabWidget, 0, 0, 1, 1); QWidget::setTabOrder(kcfg_User, passwordLineEdit); QWidget::setTabOrder(passwordLineEdit, mAutoconfigureButton); QWidget::setTabOrder(mAutoconfigureButton, kcfg_Type); QWidget::setTabOrder(kcfg_Type, kcfg_BlogId); QWidget::setTabOrder(kcfg_BlogId, mFetchIDButton); retranslateUi(ProfileConfigDialogBase); tabWidget->setCurrentIndex(0); QMetaObject::connectSlotsByName(ProfileConfigDialogBase); } // setupUi void retranslateUi(QWidget *ProfileConfigDialogBase) { ProfileConfigDialogBase->setWindowTitle(tr2i18n("KBlogger Configuration", 0)); label->setText(tr2i18n("In order to use KBlogger you need a weblog account.\n" "If you have it, please fill these fields and click Autoconfigure button to retrieve your blog settings.", 0)); PasswordLabel_2->setText(tr2i18n("Homepage URL:", 0)); UserLabel->setText(tr2i18n("Username:", 0)); PasswordLabel->setText(tr2i18n("Password:", 0)); mAutoconfigureButton->setText(tr2i18n("Autoconfigure", 0)); tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("Basic", 0)); TypeLabel->setText(tr2i18n("API:", 0)); kcfg_Type->insertItems(0, QStringList() << tr2i18n("Blogger API 1.0", 0) << tr2i18n("MetaWeblog API", 0) << tr2i18n("MovableType API", 0) << tr2i18n("MT for Wordpress API", 0) << tr2i18n("GData API", 0) ); BlogIdLabel->setText(tr2i18n("Blog-ID:", 0)); mFetchIDButton->setText(tr2i18n("Fetch ID", 0)); tabWidget->setTabText(tabWidget->indexOf(tab_2), tr2i18n("Advanced", 0)); Q_UNUSED(ProfileConfigDialogBase); } // retranslateUi }; namespace Ui { class ProfileConfigDialogBase: public Ui_ProfileConfigDialogBase {}; } // namespace Ui QT_END_NAMESPACE #endif // PROFILECONFIGDIALOGBASE_H