00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_ABREEMPRESABASE_H
00011 #define UI_ABREEMPRESABASE_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QDialog>
00018 #include <QtGui/QFrame>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTableWidget>
00024 #include <QtGui/QToolButton>
00025 #include <QtGui/QVBoxLayout>
00026
00027 class Ui_abreempresabase
00028 {
00029 public:
00030 QVBoxLayout *vboxLayout;
00031 QHBoxLayout *hboxLayout;
00032 QLabel *label_2;
00033 QFrame *m_botonera;
00034 QHBoxLayout *hboxLayout1;
00035 QToolButton *mui_actualizar;
00036 QFrame *mui_plugbotones;
00037 QSpacerItem *spacerItem;
00038 QVBoxLayout *vboxLayout1;
00039 QHBoxLayout *hboxLayout2;
00040 QLabel *label;
00041 QSpacerItem *spacerItem1;
00042 QTableWidget *mui_empresas;
00043 QHBoxLayout *hboxLayout3;
00044 QPushButton *botonAceptar;
00045 QPushButton *botonCancelar;
00046
00047 void setupUi(QDialog *abreempresabase)
00048 {
00049 abreempresabase->setObjectName(QString::fromUtf8("abreempresabase"));
00050 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00051 sizePolicy.setHorizontalStretch(0);
00052 sizePolicy.setVerticalStretch(0);
00053 sizePolicy.setHeightForWidth(abreempresabase->sizePolicy().hasHeightForWidth());
00054 abreempresabase->setSizePolicy(sizePolicy);
00055 abreempresabase->setMinimumSize(QSize(390, 210));
00056 abreempresabase->setMaximumSize(QSize(640, 1000));
00057 abreempresabase->setWindowIcon(QIcon());
00058 abreempresabase->setModal(true);
00059 vboxLayout = new QVBoxLayout(abreempresabase);
00060 vboxLayout->setSpacing(5);
00061 vboxLayout->setMargin(5);
00062 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00063 hboxLayout = new QHBoxLayout();
00064 hboxLayout->setSpacing(5);
00065 hboxLayout->setMargin(0);
00066 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00067 label_2 = new QLabel(abreempresabase);
00068 label_2->setObjectName(QString::fromUtf8("label_2"));
00069 label_2->setMinimumSize(QSize(48, 48));
00070 label_2->setMaximumSize(QSize(48, 48));
00071 label_2->setPixmap(QPixmap(QString::fromUtf8(":/BulmaCont32x32/images/png/i_empresa.xpm")));
00072 label_2->setScaledContents(true);
00073
00074 hboxLayout->addWidget(label_2);
00075
00076 m_botonera = new QFrame(abreempresabase);
00077 m_botonera->setObjectName(QString::fromUtf8("m_botonera"));
00078 m_botonera->setFrameShape(QFrame::StyledPanel);
00079 m_botonera->setFrameShadow(QFrame::Raised);
00080 hboxLayout1 = new QHBoxLayout(m_botonera);
00081 hboxLayout1->setSpacing(5);
00082 hboxLayout1->setMargin(5);
00083 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00084 mui_actualizar = new QToolButton(m_botonera);
00085 mui_actualizar->setObjectName(QString::fromUtf8("mui_actualizar"));
00086 mui_actualizar->setMinimumSize(QSize(32, 32));
00087 mui_actualizar->setMaximumSize(QSize(32, 32));
00088 mui_actualizar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_reload.png")));
00089 mui_actualizar->setIconSize(QSize(32, 32));
00090
00091 hboxLayout1->addWidget(mui_actualizar);
00092
00093 mui_plugbotones = new QFrame(m_botonera);
00094 mui_plugbotones->setObjectName(QString::fromUtf8("mui_plugbotones"));
00095 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
00096 sizePolicy1.setHorizontalStretch(0);
00097 sizePolicy1.setVerticalStretch(0);
00098 sizePolicy1.setHeightForWidth(mui_plugbotones->sizePolicy().hasHeightForWidth());
00099 mui_plugbotones->setSizePolicy(sizePolicy1);
00100 mui_plugbotones->setFrameShape(QFrame::NoFrame);
00101 mui_plugbotones->setFrameShadow(QFrame::Plain);
00102 mui_plugbotones->setLineWidth(0);
00103
00104 hboxLayout1->addWidget(mui_plugbotones);
00105
00106 spacerItem = new QSpacerItem(101, 34, QSizePolicy::Expanding, QSizePolicy::Minimum);
00107
00108 hboxLayout1->addItem(spacerItem);
00109
00110
00111 hboxLayout->addWidget(m_botonera);
00112
00113
00114 vboxLayout->addLayout(hboxLayout);
00115
00116 vboxLayout1 = new QVBoxLayout();
00117 vboxLayout1->setSpacing(0);
00118 vboxLayout1->setMargin(0);
00119 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00120 hboxLayout2 = new QHBoxLayout();
00121 hboxLayout2->setSpacing(5);
00122 hboxLayout2->setMargin(0);
00123 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00124 label = new QLabel(abreempresabase);
00125 label->setObjectName(QString::fromUtf8("label"));
00126
00127 hboxLayout2->addWidget(label);
00128
00129 spacerItem1 = new QSpacerItem(40, 22, QSizePolicy::Expanding, QSizePolicy::Minimum);
00130
00131 hboxLayout2->addItem(spacerItem1);
00132
00133
00134 vboxLayout1->addLayout(hboxLayout2);
00135
00136 mui_empresas = new QTableWidget(abreempresabase);
00137 mui_empresas->setObjectName(QString::fromUtf8("mui_empresas"));
00138 mui_empresas->setFocusPolicy(Qt::TabFocus);
00139 mui_empresas->setContextMenuPolicy(Qt::NoContextMenu);
00140 mui_empresas->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
00141 mui_empresas->setEditTriggers(QAbstractItemView::NoEditTriggers);
00142 mui_empresas->setTabKeyNavigation(false);
00143 mui_empresas->setSelectionMode(QAbstractItemView::SingleSelection);
00144 mui_empresas->setSelectionBehavior(QAbstractItemView::SelectRows);
00145 mui_empresas->setShowGrid(false);
00146 mui_empresas->setGridStyle(Qt::NoPen);
00147
00148 vboxLayout1->addWidget(mui_empresas);
00149
00150
00151 vboxLayout->addLayout(vboxLayout1);
00152
00153 hboxLayout3 = new QHBoxLayout();
00154 hboxLayout3->setSpacing(2);
00155 hboxLayout3->setMargin(0);
00156 hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
00157 botonAceptar = new QPushButton(abreempresabase);
00158 botonAceptar->setObjectName(QString::fromUtf8("botonAceptar"));
00159 botonAceptar->setFocusPolicy(Qt::StrongFocus);
00160 botonAceptar->setContextMenuPolicy(Qt::NoContextMenu);
00161 botonAceptar->setAutoDefault(true);
00162 botonAceptar->setDefault(true);
00163
00164 hboxLayout3->addWidget(botonAceptar);
00165
00166 botonCancelar = new QPushButton(abreempresabase);
00167 botonCancelar->setObjectName(QString::fromUtf8("botonCancelar"));
00168 botonCancelar->setFocusPolicy(Qt::StrongFocus);
00169 botonCancelar->setContextMenuPolicy(Qt::NoContextMenu);
00170 botonCancelar->setAutoDefault(false);
00171
00172 hboxLayout3->addWidget(botonCancelar);
00173
00174
00175 vboxLayout->addLayout(hboxLayout3);
00176
00177 QWidget::setTabOrder(mui_empresas, mui_actualizar);
00178 QWidget::setTabOrder(mui_actualizar, botonAceptar);
00179 QWidget::setTabOrder(botonAceptar, botonCancelar);
00180
00181 retranslateUi(abreempresabase);
00182
00183 QSize size(640, 350);
00184 size = size.expandedTo(abreempresabase->minimumSizeHint());
00185 abreempresabase->resize(size);
00186
00187
00188 QMetaObject::connectSlotsByName(abreempresabase);
00189 }
00190
00191 void retranslateUi(QDialog *abreempresabase)
00192 {
00193 abreempresabase->setWindowTitle(QApplication::translate("abreempresabase", "Seleccione una empresa", 0, QApplication::UnicodeUTF8));
00194 abreempresabase->setToolTip(QApplication::translate("abreempresabase", "Seleccione una empresa", 0, QApplication::UnicodeUTF8));
00195 label_2->setText(QString());
00196 mui_actualizar->setToolTip(QApplication::translate("abreempresabase", "Actualizar Listado", 0, QApplication::UnicodeUTF8));
00197 mui_actualizar->setWhatsThis(QApplication::translate("abreempresabase", "Actualizar Listado de Empresas", 0, QApplication::UnicodeUTF8));
00198 mui_actualizar->setText(QString());
00199 mui_actualizar->setShortcut(QApplication::translate("abreempresabase", "Ctrl+N", 0, QApplication::UnicodeUTF8));
00200 label->setText(QApplication::translate("abreempresabase", "Empresas disponibles:", 0, QApplication::UnicodeUTF8));
00201 botonAceptar->setText(QApplication::translate("abreempresabase", "&Entra", 0, QApplication::UnicodeUTF8));
00202 botonCancelar->setText(QApplication::translate("abreempresabase", "&Cancelar", 0, QApplication::UnicodeUTF8));
00203 Q_UNUSED(abreempresabase);
00204 }
00205
00206 };
00207
00208 namespace Ui {
00209 class abreempresabase: public Ui_abreempresabase {};
00210 }
00211
00212 #endif // UI_ABREEMPRESABASE_H