00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_TARIFABASE_H
00011 #define UI_TARIFABASE_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/QGroupBox>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QLineEdit>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QToolButton>
00025 #include <QtGui/QVBoxLayout>
00026 #include <QtGui/QWidget>
00027 #include "busquedaalmacen.h"
00028 #include "busquedafamilia.h"
00029 #include "listltarifaview.h"
00030
00031 class Ui_TarifaBase
00032 {
00033 public:
00034 QVBoxLayout *vboxLayout;
00035 QHBoxLayout *hboxLayout;
00036 QLabel *label;
00037 QFrame *frame;
00038 QHBoxLayout *hboxLayout1;
00039 QToolButton *mui_guardar;
00040 QToolButton *mui_borrar;
00041 QSpacerItem *spacerItem;
00042 QHBoxLayout *hboxLayout2;
00043 QLabel *textLabel12;
00044 QLineEdit *mui_nomtarifa;
00045 QGroupBox *groupBox;
00046 QVBoxLayout *vboxLayout1;
00047 QHBoxLayout *hboxLayout3;
00048 QLabel *m_nombrefamilia;
00049 BusquedaFamilia *mui_idfamilia;
00050 QSpacerItem *spacerItem1;
00051 QHBoxLayout *hboxLayout4;
00052 QLabel *label_2;
00053 BusquedaAlmacen *mui_almacen;
00054 QSpacerItem *spacerItem2;
00055 QHBoxLayout *hboxLayout5;
00056 QToolButton *mui_actualizar;
00057 QSpacerItem *spacerItem3;
00058 ListLTarifaView1 *mui_list;
00059 QHBoxLayout *hboxLayout6;
00060 QSpacerItem *spacerItem4;
00061 QPushButton *mui_aceptar;
00062 QPushButton *mui_cancelar;
00063
00064 void setupUi(QWidget *TarifaBase)
00065 {
00066 TarifaBase->setObjectName(QString::fromUtf8("TarifaBase"));
00067 TarifaBase->setWindowIcon(QIcon(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_articulos.48x48.png")));
00068 vboxLayout = new QVBoxLayout(TarifaBase);
00069 vboxLayout->setSpacing(5);
00070 vboxLayout->setMargin(5);
00071 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00072 hboxLayout = new QHBoxLayout();
00073 hboxLayout->setSpacing(6);
00074 hboxLayout->setMargin(0);
00075 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00076 label = new QLabel(TarifaBase);
00077 label->setObjectName(QString::fromUtf8("label"));
00078 label->setPixmap(QPixmap(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_tarifa.48x48.png")));
00079
00080 hboxLayout->addWidget(label);
00081
00082 frame = new QFrame(TarifaBase);
00083 frame->setObjectName(QString::fromUtf8("frame"));
00084 frame->setFrameShape(QFrame::StyledPanel);
00085 frame->setFrameShadow(QFrame::Raised);
00086 hboxLayout1 = new QHBoxLayout(frame);
00087 hboxLayout1->setSpacing(5);
00088 hboxLayout1->setMargin(5);
00089 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00090 mui_guardar = new QToolButton(frame);
00091 mui_guardar->setObjectName(QString::fromUtf8("mui_guardar"));
00092 mui_guardar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_save.xpm")));
00093 mui_guardar->setIconSize(QSize(22, 22));
00094
00095 hboxLayout1->addWidget(mui_guardar);
00096
00097 mui_borrar = new QToolButton(frame);
00098 mui_borrar->setObjectName(QString::fromUtf8("mui_borrar"));
00099 mui_borrar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_editDelete.png")));
00100 mui_borrar->setIconSize(QSize(22, 22));
00101
00102 hboxLayout1->addWidget(mui_borrar);
00103
00104 spacerItem = new QSpacerItem(399, 30, QSizePolicy::Expanding, QSizePolicy::Minimum);
00105
00106 hboxLayout1->addItem(spacerItem);
00107
00108
00109 hboxLayout->addWidget(frame);
00110
00111
00112 vboxLayout->addLayout(hboxLayout);
00113
00114 hboxLayout2 = new QHBoxLayout();
00115 hboxLayout2->setSpacing(6);
00116 hboxLayout2->setMargin(0);
00117 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00118 textLabel12 = new QLabel(TarifaBase);
00119 textLabel12->setObjectName(QString::fromUtf8("textLabel12"));
00120 textLabel12->setEnabled(true);
00121 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(5));
00122 sizePolicy.setHorizontalStretch(0);
00123 sizePolicy.setVerticalStretch(0);
00124 sizePolicy.setHeightForWidth(textLabel12->sizePolicy().hasHeightForWidth());
00125 textLabel12->setSizePolicy(sizePolicy);
00126
00127 hboxLayout2->addWidget(textLabel12);
00128
00129 mui_nomtarifa = new QLineEdit(TarifaBase);
00130 mui_nomtarifa->setObjectName(QString::fromUtf8("mui_nomtarifa"));
00131 mui_nomtarifa->setEnabled(true);
00132
00133 hboxLayout2->addWidget(mui_nomtarifa);
00134
00135
00136 vboxLayout->addLayout(hboxLayout2);
00137
00138 groupBox = new QGroupBox(TarifaBase);
00139 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00140 vboxLayout1 = new QVBoxLayout(groupBox);
00141 vboxLayout1->setSpacing(5);
00142 vboxLayout1->setMargin(5);
00143 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00144 hboxLayout3 = new QHBoxLayout();
00145 hboxLayout3->setSpacing(6);
00146 hboxLayout3->setMargin(0);
00147 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00148 m_nombrefamilia = new QLabel(groupBox);
00149 m_nombrefamilia->setObjectName(QString::fromUtf8("m_nombrefamilia"));
00150 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00151 sizePolicy1.setHorizontalStretch(0);
00152 sizePolicy1.setVerticalStretch(0);
00153 sizePolicy1.setHeightForWidth(m_nombrefamilia->sizePolicy().hasHeightForWidth());
00154 m_nombrefamilia->setSizePolicy(sizePolicy1);
00155 m_nombrefamilia->setLineWidth(0);
00156
00157 hboxLayout3->addWidget(m_nombrefamilia);
00158
00159 mui_idfamilia = new BusquedaFamilia(groupBox);
00160 mui_idfamilia->setObjectName(QString::fromUtf8("mui_idfamilia"));
00161
00162 hboxLayout3->addWidget(mui_idfamilia);
00163
00164 spacerItem1 = new QSpacerItem(431, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00165
00166 hboxLayout3->addItem(spacerItem1);
00167
00168
00169 vboxLayout1->addLayout(hboxLayout3);
00170
00171 hboxLayout4 = new QHBoxLayout();
00172 hboxLayout4->setSpacing(6);
00173 hboxLayout4->setMargin(0);
00174 hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
00175 label_2 = new QLabel(groupBox);
00176 label_2->setObjectName(QString::fromUtf8("label_2"));
00177
00178 hboxLayout4->addWidget(label_2);
00179
00180 mui_almacen = new BusquedaAlmacen(groupBox);
00181 mui_almacen->setObjectName(QString::fromUtf8("mui_almacen"));
00182
00183 hboxLayout4->addWidget(mui_almacen);
00184
00185 spacerItem2 = new QSpacerItem(391, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00186
00187 hboxLayout4->addItem(spacerItem2);
00188
00189
00190 vboxLayout1->addLayout(hboxLayout4);
00191
00192 hboxLayout5 = new QHBoxLayout();
00193 hboxLayout5->setSpacing(6);
00194 hboxLayout5->setMargin(0);
00195 hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
00196 mui_actualizar = new QToolButton(groupBox);
00197 mui_actualizar->setObjectName(QString::fromUtf8("mui_actualizar"));
00198 mui_actualizar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_reload.png")));
00199 mui_actualizar->setIconSize(QSize(22, 22));
00200
00201 hboxLayout5->addWidget(mui_actualizar);
00202
00203 spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00204
00205 hboxLayout5->addItem(spacerItem3);
00206
00207
00208 vboxLayout1->addLayout(hboxLayout5);
00209
00210
00211 vboxLayout->addWidget(groupBox);
00212
00213 mui_list = new ListLTarifaView1(TarifaBase);
00214 mui_list->setObjectName(QString::fromUtf8("mui_list"));
00215
00216 vboxLayout->addWidget(mui_list);
00217
00218 hboxLayout6 = new QHBoxLayout();
00219 hboxLayout6->setSpacing(6);
00220 hboxLayout6->setMargin(0);
00221 hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
00222 spacerItem4 = new QSpacerItem(363, 27, QSizePolicy::Expanding, QSizePolicy::Minimum);
00223
00224 hboxLayout6->addItem(spacerItem4);
00225
00226 mui_aceptar = new QPushButton(TarifaBase);
00227 mui_aceptar->setObjectName(QString::fromUtf8("mui_aceptar"));
00228
00229 hboxLayout6->addWidget(mui_aceptar);
00230
00231 mui_cancelar = new QPushButton(TarifaBase);
00232 mui_cancelar->setObjectName(QString::fromUtf8("mui_cancelar"));
00233
00234 hboxLayout6->addWidget(mui_cancelar);
00235
00236
00237 vboxLayout->addLayout(hboxLayout6);
00238
00239
00240 retranslateUi(TarifaBase);
00241
00242 QSize size(627, 437);
00243 size = size.expandedTo(TarifaBase->minimumSizeHint());
00244 TarifaBase->resize(size);
00245
00246 QObject::connect(mui_cancelar, SIGNAL(clicked()), TarifaBase, SLOT(close()));
00247
00248 QMetaObject::connectSlotsByName(TarifaBase);
00249 }
00250
00251 void retranslateUi(QWidget *TarifaBase)
00252 {
00253 TarifaBase->setWindowTitle(QApplication::translate("TarifaBase", "Tarifa", 0, QApplication::UnicodeUTF8));
00254 label->setText(QString());
00255 mui_guardar->setToolTip(QApplication::translate("TarifaBase", "Guardar", 0, QApplication::UnicodeUTF8));
00256 mui_guardar->setWhatsThis(QApplication::translate("TarifaBase", "Guardar", 0, QApplication::UnicodeUTF8));
00257 mui_borrar->setToolTip(QApplication::translate("TarifaBase", "Borrar", 0, QApplication::UnicodeUTF8));
00258 mui_borrar->setWhatsThis(QApplication::translate("TarifaBase", "Borrar", 0, QApplication::UnicodeUTF8));
00259 mui_borrar->setText(QString());
00260 textLabel12->setText(QApplication::translate("TarifaBase", "Nombre de la tarifa:", 0, QApplication::UnicodeUTF8));
00261 groupBox->setTitle(QApplication::translate("TarifaBase", "Filtrado:", 0, QApplication::UnicodeUTF8));
00262 m_nombrefamilia->setText(QApplication::translate("TarifaBase", "Familia:", 0, QApplication::UnicodeUTF8));
00263 label_2->setText(QApplication::translate("TarifaBase", "Almacen:", 0, QApplication::UnicodeUTF8));
00264 mui_actualizar->setToolTip(QApplication::translate("TarifaBase", "Borrar", 0, QApplication::UnicodeUTF8));
00265 mui_actualizar->setWhatsThis(QApplication::translate("TarifaBase", "Borrar", 0, QApplication::UnicodeUTF8));
00266 mui_actualizar->setText(QString());
00267 mui_aceptar->setText(QApplication::translate("TarifaBase", "&Aceptar", 0, QApplication::UnicodeUTF8));
00268 mui_cancelar->setText(QApplication::translate("TarifaBase", "&Cancelar", 0, QApplication::UnicodeUTF8));
00269 Q_UNUSED(TarifaBase);
00270 }
00271
00272 };
00273
00274 namespace Ui {
00275 class TarifaBase: public Ui_TarifaBase {};
00276 }
00277
00278 #endif // UI_TARIFABASE_H