00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_VEHICULOBASE_H
00011 #define UI_VEHICULOBASE_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/QToolButton>
00025 #include <QtGui/QVBoxLayout>
00026 #include <QtGui/QWidget>
00027 #include "busquedafecha.h"
00028 #include "busquedareferencia.h"
00029 #include "subform2bf.h"
00030
00031 class Ui_VehiculoBase
00032 {
00033 public:
00034 QVBoxLayout *vboxLayout;
00035 QHBoxLayout *hboxLayout;
00036 QLabel *pixmapLabel1;
00037 QFrame *frame_2;
00038 QHBoxLayout *hboxLayout1;
00039 QToolButton *mui_guardar;
00040 QToolButton *mui_borrar;
00041 QToolButton *mui_imprimir;
00042 QSpacerItem *spacerItem;
00043 QLabel *label5;
00044 BusquedaReferencia *mui_matriculavehiculo;
00045 QHBoxLayout *hboxLayout2;
00046 QToolButton *mui_detalles;
00047 QSpacerItem *spacerItem1;
00048 QFrame *frame;
00049 QGridLayout *gridLayout;
00050 QSpacerItem *spacerItem2;
00051 QSpacerItem *spacerItem3;
00052 QSpacerItem *spacerItem4;
00053 QSpacerItem *spacerItem5;
00054 BusquedaFecha *mui_fechacompravehiculo;
00055 QLineEdit *mui_preciovehiculo;
00056 QLineEdit *mui_modelovehiculo;
00057 QLineEdit *mui_marcavehiculo;
00058 QLabel *label;
00059 QLabel *label_3;
00060 QLabel *label_2;
00061 QLabel *label_4;
00062 SubForm2Bf *mui_listadomantvehiculo;
00063 QHBoxLayout *hboxLayout3;
00064 QSpacerItem *spacerItem6;
00065 QPushButton *mui_aceptar;
00066 QPushButton *mui_cancelar;
00067
00068 void setupUi(QWidget *VehiculoBase)
00069 {
00070 VehiculoBase->setObjectName(QString::fromUtf8("VehiculoBase"));
00071 VehiculoBase->setWindowIcon(QIcon(QString::fromUtf8(":/Bulmafact32x32/images/pendientes/iconbulmafact.xpm")));
00072 vboxLayout = new QVBoxLayout(VehiculoBase);
00073 vboxLayout->setSpacing(5);
00074 vboxLayout->setMargin(5);
00075 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00076 hboxLayout = new QHBoxLayout();
00077 hboxLayout->setSpacing(5);
00078 hboxLayout->setMargin(0);
00079 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00080 pixmapLabel1 = new QLabel(VehiculoBase);
00081 pixmapLabel1->setObjectName(QString::fromUtf8("pixmapLabel1"));
00082 pixmapLabel1->setPixmap(QPixmap(QString::fromUtf8(":/Bulmafact48x48/images/png/48x48/i_bulmages_boton_mas.48x48.png")));
00083 pixmapLabel1->setScaledContents(true);
00084
00085 hboxLayout->addWidget(pixmapLabel1);
00086
00087 frame_2 = new QFrame(VehiculoBase);
00088 frame_2->setObjectName(QString::fromUtf8("frame_2"));
00089 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
00090 sizePolicy.setHorizontalStretch(0);
00091 sizePolicy.setVerticalStretch(0);
00092 sizePolicy.setHeightForWidth(frame_2->sizePolicy().hasHeightForWidth());
00093 frame_2->setSizePolicy(sizePolicy);
00094 frame_2->setFrameShape(QFrame::StyledPanel);
00095 frame_2->setFrameShadow(QFrame::Raised);
00096 hboxLayout1 = new QHBoxLayout(frame_2);
00097 hboxLayout1->setSpacing(5);
00098 hboxLayout1->setMargin(5);
00099 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00100 mui_guardar = new QToolButton(frame_2);
00101 mui_guardar->setObjectName(QString::fromUtf8("mui_guardar"));
00102 mui_guardar->setMinimumSize(QSize(32, 32));
00103 mui_guardar->setMaximumSize(QSize(32, 32));
00104 mui_guardar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_save.xpm")));
00105 mui_guardar->setIconSize(QSize(32, 32));
00106
00107 hboxLayout1->addWidget(mui_guardar);
00108
00109 mui_borrar = new QToolButton(frame_2);
00110 mui_borrar->setObjectName(QString::fromUtf8("mui_borrar"));
00111 mui_borrar->setMinimumSize(QSize(32, 32));
00112 mui_borrar->setMaximumSize(QSize(32, 32));
00113 mui_borrar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_dele.png")));
00114 mui_borrar->setIconSize(QSize(32, 32));
00115
00116 hboxLayout1->addWidget(mui_borrar);
00117
00118 mui_imprimir = new QToolButton(frame_2);
00119 mui_imprimir->setObjectName(QString::fromUtf8("mui_imprimir"));
00120 mui_imprimir->setMinimumSize(QSize(32, 32));
00121 mui_imprimir->setMaximumSize(QSize(32, 32));
00122 mui_imprimir->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/pendientes/i_filePrint.xpm")));
00123 mui_imprimir->setIconSize(QSize(32, 32));
00124
00125 hboxLayout1->addWidget(mui_imprimir);
00126
00127 spacerItem = new QSpacerItem(146, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00128
00129 hboxLayout1->addItem(spacerItem);
00130
00131 label5 = new QLabel(frame_2);
00132 label5->setObjectName(QString::fromUtf8("label5"));
00133 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
00134 sizePolicy1.setHorizontalStretch(0);
00135 sizePolicy1.setVerticalStretch(0);
00136 sizePolicy1.setHeightForWidth(label5->sizePolicy().hasHeightForWidth());
00137 label5->setSizePolicy(sizePolicy1);
00138 QFont font;
00139 font.setFamily(QString::fromUtf8("Sans Serif"));
00140 font.setPointSize(9);
00141 font.setBold(false);
00142 font.setItalic(false);
00143 font.setUnderline(false);
00144 font.setWeight(50);
00145 font.setStrikeOut(false);
00146 label5->setFont(font);
00147
00148 hboxLayout1->addWidget(label5);
00149
00150 mui_matriculavehiculo = new BusquedaReferencia(frame_2);
00151 mui_matriculavehiculo->setObjectName(QString::fromUtf8("mui_matriculavehiculo"));
00152
00153 hboxLayout1->addWidget(mui_matriculavehiculo);
00154
00155
00156 hboxLayout->addWidget(frame_2);
00157
00158
00159 vboxLayout->addLayout(hboxLayout);
00160
00161 hboxLayout2 = new QHBoxLayout();
00162 hboxLayout2->setSpacing(5);
00163 hboxLayout2->setMargin(0);
00164 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00165 mui_detalles = new QToolButton(VehiculoBase);
00166 mui_detalles->setObjectName(QString::fromUtf8("mui_detalles"));
00167 mui_detalles->setMinimumSize(QSize(16, 16));
00168 mui_detalles->setMaximumSize(QSize(16, 16));
00169 mui_detalles->setIcon(QIcon());
00170 mui_detalles->setIconSize(QSize(22, 22));
00171 mui_detalles->setCheckable(true);
00172 mui_detalles->setChecked(true);
00173
00174 hboxLayout2->addWidget(mui_detalles);
00175
00176 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00177
00178 hboxLayout2->addItem(spacerItem1);
00179
00180
00181 vboxLayout->addLayout(hboxLayout2);
00182
00183 frame = new QFrame(VehiculoBase);
00184 frame->setObjectName(QString::fromUtf8("frame"));
00185 frame->setFrameShape(QFrame::StyledPanel);
00186 frame->setFrameShadow(QFrame::Raised);
00187 gridLayout = new QGridLayout(frame);
00188 gridLayout->setSpacing(5);
00189 gridLayout->setMargin(5);
00190 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00191 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00192
00193 gridLayout->addItem(spacerItem2, 3, 2, 1, 1);
00194
00195 spacerItem3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00196
00197 gridLayout->addItem(spacerItem3, 2, 2, 1, 1);
00198
00199 spacerItem4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00200
00201 gridLayout->addItem(spacerItem4, 1, 2, 1, 1);
00202
00203 spacerItem5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00204
00205 gridLayout->addItem(spacerItem5, 0, 2, 1, 1);
00206
00207 mui_fechacompravehiculo = new BusquedaFecha(frame);
00208 mui_fechacompravehiculo->setObjectName(QString::fromUtf8("mui_fechacompravehiculo"));
00209
00210 gridLayout->addWidget(mui_fechacompravehiculo, 3, 1, 1, 1);
00211
00212 mui_preciovehiculo = new QLineEdit(frame);
00213 mui_preciovehiculo->setObjectName(QString::fromUtf8("mui_preciovehiculo"));
00214
00215 gridLayout->addWidget(mui_preciovehiculo, 2, 1, 1, 1);
00216
00217 mui_modelovehiculo = new QLineEdit(frame);
00218 mui_modelovehiculo->setObjectName(QString::fromUtf8("mui_modelovehiculo"));
00219
00220 gridLayout->addWidget(mui_modelovehiculo, 1, 1, 1, 1);
00221
00222 mui_marcavehiculo = new QLineEdit(frame);
00223 mui_marcavehiculo->setObjectName(QString::fromUtf8("mui_marcavehiculo"));
00224
00225 gridLayout->addWidget(mui_marcavehiculo, 0, 1, 1, 1);
00226
00227 label = new QLabel(frame);
00228 label->setObjectName(QString::fromUtf8("label"));
00229
00230 gridLayout->addWidget(label, 0, 0, 1, 1);
00231
00232 label_3 = new QLabel(frame);
00233 label_3->setObjectName(QString::fromUtf8("label_3"));
00234
00235 gridLayout->addWidget(label_3, 2, 0, 1, 1);
00236
00237 label_2 = new QLabel(frame);
00238 label_2->setObjectName(QString::fromUtf8("label_2"));
00239
00240 gridLayout->addWidget(label_2, 1, 0, 1, 1);
00241
00242 label_4 = new QLabel(frame);
00243 label_4->setObjectName(QString::fromUtf8("label_4"));
00244
00245 gridLayout->addWidget(label_4, 3, 0, 1, 1);
00246
00247
00248 vboxLayout->addWidget(frame);
00249
00250 mui_listadomantvehiculo = new SubForm2Bf(VehiculoBase);
00251 mui_listadomantvehiculo->setObjectName(QString::fromUtf8("mui_listadomantvehiculo"));
00252
00253 vboxLayout->addWidget(mui_listadomantvehiculo);
00254
00255 hboxLayout3 = new QHBoxLayout();
00256 hboxLayout3->setSpacing(5);
00257 hboxLayout3->setMargin(0);
00258 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00259 spacerItem6 = new QSpacerItem(419, 28, QSizePolicy::Expanding, QSizePolicy::Minimum);
00260
00261 hboxLayout3->addItem(spacerItem6);
00262
00263 mui_aceptar = new QPushButton(VehiculoBase);
00264 mui_aceptar->setObjectName(QString::fromUtf8("mui_aceptar"));
00265 QFont font1;
00266 font1.setFamily(QString::fromUtf8("Sans Serif"));
00267 font1.setPointSize(9);
00268 font1.setBold(false);
00269 font1.setItalic(false);
00270 font1.setUnderline(false);
00271 font1.setWeight(50);
00272 font1.setStrikeOut(false);
00273 mui_aceptar->setFont(font1);
00274
00275 hboxLayout3->addWidget(mui_aceptar);
00276
00277 mui_cancelar = new QPushButton(VehiculoBase);
00278 mui_cancelar->setObjectName(QString::fromUtf8("mui_cancelar"));
00279 QFont font2;
00280 font2.setFamily(QString::fromUtf8("Sans Serif"));
00281 font2.setPointSize(9);
00282 font2.setBold(false);
00283 font2.setItalic(false);
00284 font2.setUnderline(false);
00285 font2.setWeight(50);
00286 font2.setStrikeOut(false);
00287 mui_cancelar->setFont(font2);
00288
00289 hboxLayout3->addWidget(mui_cancelar);
00290
00291
00292 vboxLayout->addLayout(hboxLayout3);
00293
00294
00295 retranslateUi(VehiculoBase);
00296
00297 QSize size(655, 566);
00298 size = size.expandedTo(VehiculoBase->minimumSizeHint());
00299 VehiculoBase->resize(size);
00300
00301 QObject::connect(mui_detalles, SIGNAL(toggled(bool)), frame, SLOT(setShown(bool)));
00302
00303 QMetaObject::connectSlotsByName(VehiculoBase);
00304 }
00305
00306 void retranslateUi(QWidget *VehiculoBase)
00307 {
00308 VehiculoBase->setWindowTitle(QApplication::translate("VehiculoBase", "Nuevo vehiculo", 0, QApplication::UnicodeUTF8));
00309 mui_guardar->setToolTip(QApplication::translate("VehiculoBase", "Guardar", 0, QApplication::UnicodeUTF8));
00310 mui_guardar->setWhatsThis(QApplication::translate("VehiculoBase", "Guardar", 0, QApplication::UnicodeUTF8));
00311 mui_guardar->setText(QString());
00312 mui_borrar->setToolTip(QApplication::translate("VehiculoBase", "Borrar", 0, QApplication::UnicodeUTF8));
00313 mui_borrar->setWhatsThis(QApplication::translate("VehiculoBase", "Borrar", 0, QApplication::UnicodeUTF8));
00314 mui_borrar->setText(QString());
00315 mui_imprimir->setToolTip(QApplication::translate("VehiculoBase", "Imprimir", 0, QApplication::UnicodeUTF8));
00316 mui_imprimir->setWhatsThis(QApplication::translate("VehiculoBase", "Imprimir", 0, QApplication::UnicodeUTF8));
00317 mui_imprimir->setText(QString());
00318 label5->setText(QApplication::translate("VehiculoBase", "Matricula:", 0, QApplication::UnicodeUTF8));
00319 mui_detalles->setToolTip(QApplication::translate("VehiculoBase", "Imprimir pedido", 0, QApplication::UnicodeUTF8));
00320 mui_detalles->setWhatsThis(QApplication::translate("VehiculoBase", "Imprimir pedido", 0, QApplication::UnicodeUTF8));
00321 mui_detalles->setText(QString());
00322 label->setText(QApplication::translate("VehiculoBase", "Marca:", 0, QApplication::UnicodeUTF8));
00323 label_3->setText(QApplication::translate("VehiculoBase", "Precio de compra:", 0, QApplication::UnicodeUTF8));
00324 label_2->setText(QApplication::translate("VehiculoBase", "Modelo:", 0, QApplication::UnicodeUTF8));
00325 label_4->setText(QApplication::translate("VehiculoBase", "Fecha de compra:", 0, QApplication::UnicodeUTF8));
00326 mui_aceptar->setText(QApplication::translate("VehiculoBase", "&Aceptar", 0, QApplication::UnicodeUTF8));
00327 mui_cancelar->setText(QApplication::translate("VehiculoBase", "&Cancelar", 0, QApplication::UnicodeUTF8));
00328 Q_UNUSED(VehiculoBase);
00329 }
00330
00331 };
00332
00333 namespace Ui {
00334 class VehiculoBase: public Ui_VehiculoBase {};
00335 }
00336
00337 #endif // UI_VEHICULOBASE_H