00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef PLUGINDIALOGDATA_H
00011 #define PLUGINDIALOGDATA_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QDialogButtonBox>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QListView>
00022 #include <QtGui/QListWidget>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QVBoxLayout>
00025 #include <QtGui/QWidget>
00026
00027 QT_BEGIN_NAMESPACE
00028
00029 class Ui_PluginDialogData
00030 {
00031 public:
00032 QDialogButtonBox *buttonBox;
00033 QLabel *label;
00034 QLabel *label_2;
00035 QPushButton *plugin_dir_button_add;
00036 QPushButton *plugin_dir_button_remove;
00037 QListView *plugin_view;
00038 QListWidget *plugin_directories_view;
00039 QCheckBox *activate_all_plugins_check_box;
00040 QWidget *widget;
00041 QVBoxLayout *verticalLayout;
00042 QPushButton *plugin_toggle_button;
00043 QPushButton *settings_button;
00044
00045 void setupUi(QDialog *PluginDialogData)
00046 {
00047 if (PluginDialogData->objectName().isEmpty())
00048 PluginDialogData->setObjectName(QString::fromUtf8("PluginDialogData"));
00049 PluginDialogData->resize(681, 332);
00050 buttonBox = new QDialogButtonBox(PluginDialogData);
00051 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
00052 buttonBox->setGeometry(QRect(140, 290, 191, 31));
00053 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
00054 label = new QLabel(PluginDialogData);
00055 label->setObjectName(QString::fromUtf8("label"));
00056 label->setGeometry(QRect(10, 10, 131, 18));
00057 label_2 = new QLabel(PluginDialogData);
00058 label_2->setObjectName(QString::fromUtf8("label_2"));
00059 label_2->setGeometry(QRect(250, 10, 131, 18));
00060 plugin_dir_button_add = new QPushButton(PluginDialogData);
00061 plugin_dir_button_add->setObjectName(QString::fromUtf8("plugin_dir_button_add"));
00062 plugin_dir_button_add->setEnabled(true);
00063 plugin_dir_button_add->setGeometry(QRect(10, 210, 70, 30));
00064 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
00065 sizePolicy.setHorizontalStretch(0);
00066 sizePolicy.setVerticalStretch(0);
00067 sizePolicy.setHeightForWidth(plugin_dir_button_add->sizePolicy().hasHeightForWidth());
00068 plugin_dir_button_add->setSizePolicy(sizePolicy);
00069 plugin_dir_button_add->setCheckable(false);
00070 plugin_dir_button_remove = new QPushButton(PluginDialogData);
00071 plugin_dir_button_remove->setObjectName(QString::fromUtf8("plugin_dir_button_remove"));
00072 plugin_dir_button_remove->setEnabled(true);
00073 plugin_dir_button_remove->setGeometry(QRect(160, 210, 70, 30));
00074 sizePolicy.setHeightForWidth(plugin_dir_button_remove->sizePolicy().hasHeightForWidth());
00075 plugin_dir_button_remove->setSizePolicy(sizePolicy);
00076 plugin_view = new QListView(PluginDialogData);
00077 plugin_view->setObjectName(QString::fromUtf8("plugin_view"));
00078 plugin_view->setGeometry(QRect(250, 30, 291, 241));
00079 plugin_directories_view = new QListWidget(PluginDialogData);
00080 plugin_directories_view->setObjectName(QString::fromUtf8("plugin_directories_view"));
00081 plugin_directories_view->setGeometry(QRect(10, 30, 221, 171));
00082 activate_all_plugins_check_box = new QCheckBox(PluginDialogData);
00083 activate_all_plugins_check_box->setObjectName(QString::fromUtf8("activate_all_plugins_check_box"));
00084 activate_all_plugins_check_box->setGeometry(QRect(10, 250, 141, 22));
00085 widget = new QWidget(PluginDialogData);
00086 widget->setObjectName(QString::fromUtf8("widget"));
00087 widget->setGeometry(QRect(560, 60, 93, 66));
00088 verticalLayout = new QVBoxLayout(widget);
00089 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00090 verticalLayout->setContentsMargins(0, 0, 0, 0);
00091 plugin_toggle_button = new QPushButton(widget);
00092 plugin_toggle_button->setObjectName(QString::fromUtf8("plugin_toggle_button"));
00093 plugin_toggle_button->setEnabled(false);
00094 sizePolicy.setHeightForWidth(plugin_toggle_button->sizePolicy().hasHeightForWidth());
00095 plugin_toggle_button->setSizePolicy(sizePolicy);
00096
00097 verticalLayout->addWidget(plugin_toggle_button);
00098
00099 settings_button = new QPushButton(widget);
00100 settings_button->setObjectName(QString::fromUtf8("settings_button"));
00101 settings_button->setEnabled(false);
00102 QIcon icon;
00103 icon.addPixmap(QPixmap(QString::fromUtf8("../../../../../../../../usr/kde/4.1/share/icons/oxygen/16x16/actions/configure.png")), QIcon::Normal, QIcon::Off);
00104 settings_button->setIcon(icon);
00105
00106 verticalLayout->addWidget(settings_button);
00107
00108
00109 retranslateUi(PluginDialogData);
00110 QObject::connect(buttonBox, SIGNAL(rejected()), PluginDialogData, SLOT(reject()));
00111 QObject::connect(buttonBox, SIGNAL(accepted()), PluginDialogData, SLOT(close()));
00112 QObject::connect(plugin_toggle_button, SIGNAL(clicked()), PluginDialogData, SLOT(togglePluginState()));
00113 QObject::connect(plugin_view, SIGNAL(clicked(QModelIndex)), PluginDialogData, SLOT(pluginChanged(QModelIndex)));
00114
00115 QMetaObject::connectSlotsByName(PluginDialogData);
00116 }
00117
00118 void retranslateUi(QDialog *PluginDialogData)
00119 {
00120 PluginDialogData->setWindowTitle(QApplication::translate("PluginDialogData", "Configure Plugins", 0, QApplication::UnicodeUTF8));
00121 label->setText(QApplication::translate("PluginDialogData", "Plugin Directories:", 0, QApplication::UnicodeUTF8));
00122 label_2->setText(QApplication::translate("PluginDialogData", "Plugin:", 0, QApplication::UnicodeUTF8));
00123 plugin_dir_button_add->setText(QApplication::translate("PluginDialogData", "Add", 0, QApplication::UnicodeUTF8));
00124 plugin_dir_button_remove->setText(QApplication::translate("PluginDialogData", "Remove ", 0, QApplication::UnicodeUTF8));
00125 activate_all_plugins_check_box->setText(QApplication::translate("PluginDialogData", "Activate all Plugins", 0, QApplication::UnicodeUTF8));
00126 plugin_toggle_button->setText(QApplication::translate("PluginDialogData", "Activate", 0, QApplication::UnicodeUTF8));
00127 settings_button->setText(QApplication::translate("PluginDialogData", "Settings", 0, QApplication::UnicodeUTF8));
00128 Q_UNUSED(PluginDialogData);
00129 }
00130
00131 };
00132
00133 namespace Ui {
00134 class PluginDialogData: public Ui_PluginDialogData {};
00135 }
00136
00137 QT_END_NAMESPACE
00138
00139 #endif // PLUGINDIALOGDATA_H