00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_INVENTARIOBASE_H
00011 #define UI_INVENTARIOBASE_H
00012
00013 #include "../../../bulmalib/src/busquedafecha.h"
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QCheckBox>
00019 #include <QtGui/QFrame>
00020 #include <QtGui/QGridLayout>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QPushButton>
00025 #include <QtGui/QSpacerItem>
00026 #include <QtGui/QTabWidget>
00027 #include <QtGui/QToolButton>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030 #include "listcontrolstockview.h"
00031
00032 class Ui_InventarioBase
00033 {
00034 public:
00035 QGridLayout *gridLayout;
00036 QLabel *textLabel1_5;
00037 QLabel *textLabel1_2;
00038 BusquedaFecha *mui_fechainventario;
00039 QSpacerItem *spacerItem;
00040 QLineEdit *mui_nominventario;
00041 QCheckBox *m_procesadoinventario;
00042 QHBoxLayout *hboxLayout;
00043 QSpacerItem *spacerItem1;
00044 QPushButton *mui_aceptar;
00045 QPushButton *mui_cancelar;
00046 QTabWidget *discounts;
00047 QWidget *tab;
00048 QVBoxLayout *vboxLayout;
00049 ListControlStockView *subform2;
00050 QHBoxLayout *hboxLayout1;
00051 QLabel *pixmapLabel1;
00052 QFrame *frame;
00053 QHBoxLayout *hboxLayout2;
00054 QToolButton *mui_guardar2;
00055 QToolButton *mui_borrar2;
00056 QSpacerItem *spacerItem2;
00057 QToolButton *mui_pregenerar;
00058
00059 void setupUi(QWidget *InventarioBase)
00060 {
00061 InventarioBase->setObjectName(QString::fromUtf8("InventarioBase"));
00062 InventarioBase->setWindowIcon(QIcon(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_articulos_familias.48x48.png")));
00063 gridLayout = new QGridLayout(InventarioBase);
00064 gridLayout->setSpacing(5);
00065 gridLayout->setMargin(5);
00066 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00067 textLabel1_5 = new QLabel(InventarioBase);
00068 textLabel1_5->setObjectName(QString::fromUtf8("textLabel1_5"));
00069 textLabel1_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00070
00071 gridLayout->addWidget(textLabel1_5, 1, 0, 1, 1);
00072
00073 textLabel1_2 = new QLabel(InventarioBase);
00074 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00075 textLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00076
00077 gridLayout->addWidget(textLabel1_2, 2, 0, 1, 1);
00078
00079 mui_fechainventario = new BusquedaFecha(InventarioBase);
00080 mui_fechainventario->setObjectName(QString::fromUtf8("mui_fechainventario"));
00081 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(5));
00082 sizePolicy.setHorizontalStretch(0);
00083 sizePolicy.setVerticalStretch(0);
00084 sizePolicy.setHeightForWidth(mui_fechainventario->sizePolicy().hasHeightForWidth());
00085 mui_fechainventario->setSizePolicy(sizePolicy);
00086 mui_fechainventario->setMinimumSize(QSize(150, 0));
00087 mui_fechainventario->setFocusPolicy(Qt::StrongFocus);
00088
00089 gridLayout->addWidget(mui_fechainventario, 2, 1, 1, 1);
00090
00091 spacerItem = new QSpacerItem(61, 22, QSizePolicy::Expanding, QSizePolicy::Minimum);
00092
00093 gridLayout->addItem(spacerItem, 2, 2, 1, 1);
00094
00095 mui_nominventario = new QLineEdit(InventarioBase);
00096 mui_nominventario->setObjectName(QString::fromUtf8("mui_nominventario"));
00097
00098 gridLayout->addWidget(mui_nominventario, 1, 1, 1, 3);
00099
00100 m_procesadoinventario = new QCheckBox(InventarioBase);
00101 m_procesadoinventario->setObjectName(QString::fromUtf8("m_procesadoinventario"));
00102 m_procesadoinventario->setEnabled(false);
00103
00104 gridLayout->addWidget(m_procesadoinventario, 2, 3, 1, 1);
00105
00106 hboxLayout = new QHBoxLayout();
00107 hboxLayout->setSpacing(5);
00108 hboxLayout->setMargin(0);
00109 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00110 spacerItem1 = new QSpacerItem(581, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00111
00112 hboxLayout->addItem(spacerItem1);
00113
00114 mui_aceptar = new QPushButton(InventarioBase);
00115 mui_aceptar->setObjectName(QString::fromUtf8("mui_aceptar"));
00116
00117 hboxLayout->addWidget(mui_aceptar);
00118
00119 mui_cancelar = new QPushButton(InventarioBase);
00120 mui_cancelar->setObjectName(QString::fromUtf8("mui_cancelar"));
00121
00122 hboxLayout->addWidget(mui_cancelar);
00123
00124
00125 gridLayout->addLayout(hboxLayout, 4, 0, 1, 4);
00126
00127 discounts = new QTabWidget(InventarioBase);
00128 discounts->setObjectName(QString::fromUtf8("discounts"));
00129 discounts->setEnabled(true);
00130 tab = new QWidget();
00131 tab->setObjectName(QString::fromUtf8("tab"));
00132 vboxLayout = new QVBoxLayout(tab);
00133 vboxLayout->setSpacing(2);
00134 vboxLayout->setMargin(0);
00135 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00136 subform2 = new ListControlStockView(tab);
00137 subform2->setObjectName(QString::fromUtf8("subform2"));
00138
00139 vboxLayout->addWidget(subform2);
00140
00141 discounts->addTab(tab, QApplication::translate("InventarioBase", "&Detalle", 0, QApplication::UnicodeUTF8));
00142
00143 gridLayout->addWidget(discounts, 3, 0, 1, 4);
00144
00145 hboxLayout1 = new QHBoxLayout();
00146 hboxLayout1->setSpacing(5);
00147 hboxLayout1->setMargin(0);
00148 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00149 pixmapLabel1 = new QLabel(InventarioBase);
00150 pixmapLabel1->setObjectName(QString::fromUtf8("pixmapLabel1"));
00151 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00152 sizePolicy1.setHorizontalStretch(0);
00153 sizePolicy1.setVerticalStretch(0);
00154 sizePolicy1.setHeightForWidth(pixmapLabel1->sizePolicy().hasHeightForWidth());
00155 pixmapLabel1->setSizePolicy(sizePolicy1);
00156 pixmapLabel1->setMinimumSize(QSize(48, 48));
00157 pixmapLabel1->setMaximumSize(QSize(48, 48));
00158 pixmapLabel1->setPixmap(QPixmap(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_articulos_familias.48x48.png")));
00159 pixmapLabel1->setScaledContents(true);
00160
00161 hboxLayout1->addWidget(pixmapLabel1);
00162
00163 frame = new QFrame(InventarioBase);
00164 frame->setObjectName(QString::fromUtf8("frame"));
00165 frame->setFrameShape(QFrame::StyledPanel);
00166 frame->setFrameShadow(QFrame::Raised);
00167 hboxLayout2 = new QHBoxLayout(frame);
00168 hboxLayout2->setSpacing(5);
00169 hboxLayout2->setMargin(5);
00170 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00171 mui_guardar2 = new QToolButton(frame);
00172 mui_guardar2->setObjectName(QString::fromUtf8("mui_guardar2"));
00173 mui_guardar2->setMinimumSize(QSize(32, 32));
00174 mui_guardar2->setMaximumSize(QSize(32, 32));
00175 mui_guardar2->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_save.xpm")));
00176 mui_guardar2->setIconSize(QSize(32, 32));
00177
00178 hboxLayout2->addWidget(mui_guardar2);
00179
00180 mui_borrar2 = new QToolButton(frame);
00181 mui_borrar2->setObjectName(QString::fromUtf8("mui_borrar2"));
00182 mui_borrar2->setMinimumSize(QSize(32, 32));
00183 mui_borrar2->setMaximumSize(QSize(32, 32));
00184 mui_borrar2->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_editDelete.png")));
00185 mui_borrar2->setIconSize(QSize(32, 32));
00186
00187 hboxLayout2->addWidget(mui_borrar2);
00188
00189 spacerItem2 = new QSpacerItem(300, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00190
00191 hboxLayout2->addItem(spacerItem2);
00192
00193 mui_pregenerar = new QToolButton(frame);
00194 mui_pregenerar->setObjectName(QString::fromUtf8("mui_pregenerar"));
00195 mui_pregenerar->setEnabled(true);
00196 mui_pregenerar->setMinimumSize(QSize(32, 32));
00197 mui_pregenerar->setMaximumSize(QSize(32, 32));
00198 mui_pregenerar->setIcon(QIcon(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_articulos_familias.48x48.png")));
00199 mui_pregenerar->setIconSize(QSize(32, 32));
00200
00201 hboxLayout2->addWidget(mui_pregenerar);
00202
00203
00204 hboxLayout1->addWidget(frame);
00205
00206
00207 gridLayout->addLayout(hboxLayout1, 0, 0, 1, 4);
00208
00209
00210 retranslateUi(InventarioBase);
00211
00212 QSize size(690, 490);
00213 size = size.expandedTo(InventarioBase->minimumSizeHint());
00214 InventarioBase->resize(size);
00215
00216 QObject::connect(mui_cancelar, SIGNAL(clicked()), InventarioBase, SLOT(close()));
00217
00218 QMetaObject::connectSlotsByName(InventarioBase);
00219 }
00220
00221 void retranslateUi(QWidget *InventarioBase)
00222 {
00223 InventarioBase->setWindowTitle(QApplication::translate("InventarioBase", "Inventario", 0, QApplication::UnicodeUTF8));
00224 textLabel1_5->setText(QApplication::translate("InventarioBase", "Descripcion:", 0, QApplication::UnicodeUTF8));
00225 textLabel1_2->setText(QApplication::translate("InventarioBase", "Fecha creacion:", 0, QApplication::UnicodeUTF8));
00226 m_procesadoinventario->setText(QApplication::translate("InventarioBase", "Procesado", 0, QApplication::UnicodeUTF8));
00227 mui_aceptar->setText(QApplication::translate("InventarioBase", "&Aceptar", 0, QApplication::UnicodeUTF8));
00228 mui_cancelar->setText(QApplication::translate("InventarioBase", "&Cancelar", 0, QApplication::UnicodeUTF8));
00229 discounts->setTabText(discounts->indexOf(tab), QApplication::translate("InventarioBase", "&Detalle", 0, QApplication::UnicodeUTF8));
00230 mui_guardar2->setToolTip(QApplication::translate("InventarioBase", "Guardar inventario", 0, QApplication::UnicodeUTF8));
00231 mui_guardar2->setWhatsThis(QApplication::translate("InventarioBase", "Guardar inventario", 0, QApplication::UnicodeUTF8));
00232 mui_guardar2->setText(QString());
00233 mui_borrar2->setToolTip(QApplication::translate("InventarioBase", "Borrar inventario", 0, QApplication::UnicodeUTF8));
00234 mui_borrar2->setWhatsThis(QApplication::translate("InventarioBase", "Borrar inventario", 0, QApplication::UnicodeUTF8));
00235 mui_borrar2->setText(QString());
00236 mui_pregenerar->setToolTip(QApplication::translate("InventarioBase", "Pregenerar inventario", 0, QApplication::UnicodeUTF8));
00237 mui_pregenerar->setWhatsThis(QApplication::translate("InventarioBase", "Pregenerar inventario", 0, QApplication::UnicodeUTF8));
00238 Q_UNUSED(InventarioBase);
00239 }
00240
00241 };
00242
00243 namespace Ui {
00244 class InventarioBase: public Ui_InventarioBase {};
00245 }
00246
00247 #endif // UI_INVENTARIOBASE_H