00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_CCOSTEBASE_H
00011 #define UI_CCOSTEBASE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QFrame>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QLineEdit>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QTabWidget>
00025 #include <QtGui/QTextEdit>
00026 #include <QtGui/QToolButton>
00027 #include <QtGui/QTreeWidget>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030 #include "subform2bc.h"
00031
00032 class Ui_ccostebase
00033 {
00034 public:
00035 QVBoxLayout *vboxLayout;
00036 QHBoxLayout *hboxLayout;
00037 QLabel *label;
00038 QFrame *frame;
00039 QGridLayout *gridLayout;
00040 QToolButton *mui_crear;
00041 QToolButton *mui_borrar;
00042 QToolButton *mui_guardar;
00043 QSpacerItem *spacerItem;
00044 QToolButton *mui_detalles;
00045 QSpacerItem *spacerItem1;
00046 QTreeWidget *mui_list;
00047 QTabWidget *tabWidget;
00048 QWidget *tab;
00049 QVBoxLayout *vboxLayout1;
00050 QHBoxLayout *hboxLayout1;
00051 QLabel *textLabel1;
00052 QLineEdit *mui_nombre;
00053 QVBoxLayout *vboxLayout2;
00054 QLabel *textLabel1_2;
00055 QTextEdit *mui_descripcion;
00056 QWidget *tab_2;
00057 QGridLayout *gridLayout1;
00058 SubForm2Bc *mui_cdistribuidos;
00059 QHBoxLayout *hboxLayout2;
00060 QSpacerItem *spacerItem2;
00061 QPushButton *pushButton2;
00062
00063 void setupUi(QWidget *ccostebase)
00064 {
00065 ccostebase->setObjectName(QString::fromUtf8("ccostebase"));
00066 ccostebase->setWindowIcon(QIcon(QString::fromUtf8(":/BulmaCont32x32/images/png/i_centroCoste.xpm")));
00067 vboxLayout = new QVBoxLayout(ccostebase);
00068 vboxLayout->setSpacing(5);
00069 vboxLayout->setMargin(5);
00070 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00071 hboxLayout = new QHBoxLayout();
00072 hboxLayout->setSpacing(0);
00073 hboxLayout->setMargin(0);
00074 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00075 label = new QLabel(ccostebase);
00076 label->setObjectName(QString::fromUtf8("label"));
00077 label->setMinimumSize(QSize(48, 48));
00078 label->setMaximumSize(QSize(48, 48));
00079 label->setPixmap(QPixmap(QString::fromUtf8(":/BulmaCont32x32/images/png/i_centroCoste.xpm")));
00080 label->setScaledContents(true);
00081
00082 hboxLayout->addWidget(label);
00083
00084 frame = new QFrame(ccostebase);
00085 frame->setObjectName(QString::fromUtf8("frame"));
00086 frame->setFrameShape(QFrame::StyledPanel);
00087 frame->setFrameShadow(QFrame::Raised);
00088 gridLayout = new QGridLayout(frame);
00089 gridLayout->setSpacing(6);
00090 gridLayout->setMargin(11);
00091 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00092 mui_crear = new QToolButton(frame);
00093 mui_crear->setObjectName(QString::fromUtf8("mui_crear"));
00094 mui_crear->setMinimumSize(QSize(32, 32));
00095 mui_crear->setMaximumSize(QSize(32, 32));
00096 mui_crear->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_fileNew.xpm")));
00097 mui_crear->setIconSize(QSize(32, 32));
00098
00099 gridLayout->addWidget(mui_crear, 0, 0, 1, 1);
00100
00101 mui_borrar = new QToolButton(frame);
00102 mui_borrar->setObjectName(QString::fromUtf8("mui_borrar"));
00103 mui_borrar->setMinimumSize(QSize(32, 32));
00104 mui_borrar->setMaximumSize(QSize(32, 32));
00105 mui_borrar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_editDelete.png")));
00106 mui_borrar->setIconSize(QSize(32, 32));
00107
00108 gridLayout->addWidget(mui_borrar, 0, 1, 1, 1);
00109
00110 mui_guardar = new QToolButton(frame);
00111 mui_guardar->setObjectName(QString::fromUtf8("mui_guardar"));
00112 mui_guardar->setMinimumSize(QSize(32, 32));
00113 mui_guardar->setMaximumSize(QSize(32, 32));
00114 mui_guardar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_save.xpm")));
00115 mui_guardar->setIconSize(QSize(32, 32));
00116
00117 gridLayout->addWidget(mui_guardar, 0, 2, 1, 1);
00118
00119 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
00120
00121 gridLayout->addItem(spacerItem, 0, 3, 1, 1);
00122
00123 mui_detalles = new QToolButton(frame);
00124 mui_detalles->setObjectName(QString::fromUtf8("mui_detalles"));
00125 mui_detalles->setMinimumSize(QSize(32, 32));
00126 mui_detalles->setMaximumSize(QSize(32, 32));
00127 mui_detalles->setIcon(QIcon(QString::fromUtf8(":/BulmaCont32x32/images/png/i_tuxPeq.png")));
00128 mui_detalles->setIconSize(QSize(32, 32));
00129 mui_detalles->setCheckable(true);
00130 mui_detalles->setChecked(true);
00131
00132 gridLayout->addWidget(mui_detalles, 0, 4, 1, 1);
00133
00134 spacerItem1 = new QSpacerItem(171, 34, QSizePolicy::Expanding, QSizePolicy::Minimum);
00135
00136 gridLayout->addItem(spacerItem1, 0, 5, 1, 1);
00137
00138
00139 hboxLayout->addWidget(frame);
00140
00141
00142 vboxLayout->addLayout(hboxLayout);
00143
00144 mui_list = new QTreeWidget(ccostebase);
00145 mui_list->setObjectName(QString::fromUtf8("mui_list"));
00146
00147 vboxLayout->addWidget(mui_list);
00148
00149 tabWidget = new QTabWidget(ccostebase);
00150 tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
00151 tab = new QWidget();
00152 tab->setObjectName(QString::fromUtf8("tab"));
00153 vboxLayout1 = new QVBoxLayout(tab);
00154 vboxLayout1->setSpacing(6);
00155 vboxLayout1->setMargin(9);
00156 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00157 hboxLayout1 = new QHBoxLayout();
00158 hboxLayout1->setSpacing(0);
00159 hboxLayout1->setMargin(0);
00160 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00161 textLabel1 = new QLabel(tab);
00162 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00163
00164 hboxLayout1->addWidget(textLabel1);
00165
00166 mui_nombre = new QLineEdit(tab);
00167 mui_nombre->setObjectName(QString::fromUtf8("mui_nombre"));
00168
00169 hboxLayout1->addWidget(mui_nombre);
00170
00171
00172 vboxLayout1->addLayout(hboxLayout1);
00173
00174 vboxLayout2 = new QVBoxLayout();
00175 vboxLayout2->setSpacing(0);
00176 vboxLayout2->setMargin(0);
00177 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00178 textLabel1_2 = new QLabel(tab);
00179 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00180 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00181 sizePolicy.setHorizontalStretch(0);
00182 sizePolicy.setVerticalStretch(0);
00183 sizePolicy.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
00184 textLabel1_2->setSizePolicy(sizePolicy);
00185
00186 vboxLayout2->addWidget(textLabel1_2);
00187
00188 mui_descripcion = new QTextEdit(tab);
00189 mui_descripcion->setObjectName(QString::fromUtf8("mui_descripcion"));
00190
00191 vboxLayout2->addWidget(mui_descripcion);
00192
00193
00194 vboxLayout1->addLayout(vboxLayout2);
00195
00196 tabWidget->addTab(tab, QApplication::translate("ccostebase", "General", 0, QApplication::UnicodeUTF8));
00197 tab_2 = new QWidget();
00198 tab_2->setObjectName(QString::fromUtf8("tab_2"));
00199 gridLayout1 = new QGridLayout(tab_2);
00200 gridLayout1->setSpacing(6);
00201 gridLayout1->setMargin(9);
00202 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00203 mui_cdistribuidos = new SubForm2Bc(tab_2);
00204 mui_cdistribuidos->setObjectName(QString::fromUtf8("mui_cdistribuidos"));
00205
00206 gridLayout1->addWidget(mui_cdistribuidos, 0, 0, 1, 1);
00207
00208 tabWidget->addTab(tab_2, QApplication::translate("ccostebase", "Centros Distribuidos", 0, QApplication::UnicodeUTF8));
00209
00210 vboxLayout->addWidget(tabWidget);
00211
00212 hboxLayout2 = new QHBoxLayout();
00213 hboxLayout2->setSpacing(0);
00214 hboxLayout2->setMargin(0);
00215 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00216 spacerItem2 = new QSpacerItem(191, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00217
00218 hboxLayout2->addItem(spacerItem2);
00219
00220 pushButton2 = new QPushButton(ccostebase);
00221 pushButton2->setObjectName(QString::fromUtf8("pushButton2"));
00222
00223 hboxLayout2->addWidget(pushButton2);
00224
00225
00226 vboxLayout->addLayout(hboxLayout2);
00227
00228
00229 retranslateUi(ccostebase);
00230
00231 QSize size(760, 903);
00232 size = size.expandedTo(ccostebase->minimumSizeHint());
00233 ccostebase->resize(size);
00234
00235 QObject::connect(pushButton2, SIGNAL(clicked()), ccostebase, SLOT(close()));
00236
00237 tabWidget->setCurrentIndex(0);
00238
00239
00240 QMetaObject::connectSlotsByName(ccostebase);
00241 }
00242
00243 void retranslateUi(QWidget *ccostebase)
00244 {
00245 ccostebase->setWindowTitle(QApplication::translate("ccostebase", "Centros de Coste", 0, QApplication::UnicodeUTF8));
00246 mui_crear->setText(QString());
00247 mui_crear->setShortcut(QApplication::translate("ccostebase", "Ctrl+N", 0, QApplication::UnicodeUTF8));
00248 mui_borrar->setText(QString());
00249 mui_borrar->setShortcut(QApplication::translate("ccostebase", "Ctrl+D", 0, QApplication::UnicodeUTF8));
00250 mui_guardar->setText(QString());
00251 mui_guardar->setShortcut(QApplication::translate("ccostebase", "Ctrl+S", 0, QApplication::UnicodeUTF8));
00252 mui_detalles->setToolTip(QApplication::translate("ccostebase", "Ocultar Detalle", 0, QApplication::UnicodeUTF8));
00253 mui_detalles->setWhatsThis(QApplication::translate("ccostebase", "Ocultar Detalle", 0, QApplication::UnicodeUTF8));
00254 mui_detalles->setText(QString());
00255 mui_detalles->setShortcut(QApplication::translate("ccostebase", "Ctrl+B", 0, QApplication::UnicodeUTF8));
00256 mui_list->headerItem()->setText(0, QApplication::translate("ccostebase", "1", 0, QApplication::UnicodeUTF8));
00257 textLabel1->setText(QApplication::translate("ccostebase", "Nombre:", 0, QApplication::UnicodeUTF8));
00258 textLabel1_2->setText(QApplication::translate("ccostebase", "Descripci\303\263n:", 0, QApplication::UnicodeUTF8));
00259 tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("ccostebase", "General", 0, QApplication::UnicodeUTF8));
00260 tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("ccostebase", "Centros Distribuidos", 0, QApplication::UnicodeUTF8));
00261 pushButton2->setText(QApplication::translate("ccostebase", "Cerrar", 0, QApplication::UnicodeUTF8));
00262 Q_UNUSED(ccostebase);
00263 }
00264
00265 };
00266
00267 namespace Ui {
00268 class ccostebase: public Ui_ccostebase {};
00269 }
00270
00271 #endif // UI_CCOSTEBASE_H