00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_BALANCETREEBASE_H
00011 #define UI_BALANCETREEBASE_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/QComboBox>
00019 #include <QtGui/QFrame>
00020 #include <QtGui/QGridLayout>
00021 #include <QtGui/QHBoxLayout>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QLineEdit>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QToolButton>
00026 #include <QtGui/QTreeWidget>
00027 #include <QtGui/QVBoxLayout>
00028 #include <QtGui/QWidget>
00029 #include "busquedaccoste.h"
00030 #include "busquedacuenta.h"
00031
00032 class Ui_BalanceTreeBase
00033 {
00034 public:
00035 QVBoxLayout *vboxLayout;
00036 QHBoxLayout *hboxLayout;
00037 QLabel *pixmapLabel1;
00038 QFrame *frame_3;
00039 QHBoxLayout *hboxLayout1;
00040 QToolButton *mui_imprimir;
00041 QToolButton *mui_filtrar;
00042 QToolButton *mui_actualizar;
00043 QSpacerItem *spacerItem;
00044 QFrame *frame;
00045 QGridLayout *gridLayout;
00046 QSpacerItem *spacerItem1;
00047 BusquedaCuenta *m_codigofinal;
00048 BusquedaFecha *m_fechafinal1;
00049 QLabel *TextLabel1_2;
00050 QLabel *TextLabel1_2_2_2;
00051 QLabel *TextLabel1_2_2;
00052 BusquedaFecha *m_fechainicial1;
00053 BusquedaCuenta *m_codigoinicial;
00054 QLabel *TextLabel1;
00055 QSpacerItem *spacerItem2;
00056 QSpacerItem *spacerItem3;
00057 QLabel *textLabel1_2;
00058 QLabel *textLabel1;
00059 QComboBox *combonivel;
00060 BusquedaCCoste *mui_combocoste;
00061 QTreeWidget *listado;
00062 QHBoxLayout *hboxLayout2;
00063 QSpacerItem *spacerItem4;
00064 QLabel *TextLabel2;
00065 QLineEdit *totalsaldoant;
00066 QLabel *TextLabel2_2;
00067 QLineEdit *totaldebe;
00068 QLabel *TextLabel2_3;
00069 QLineEdit *totalhaber;
00070 QLabel *TextLabel2_4;
00071 QLineEdit *totalsaldo;
00072
00073 void setupUi(QWidget *BalanceTreeBase)
00074 {
00075 BalanceTreeBase->setObjectName(QString::fromUtf8("BalanceTreeBase"));
00076 BalanceTreeBase->setWindowIcon(QIcon(QString::fromUtf8(":/BulmaCont32x32/images/png/i_arbolBalance.xpm")));
00077 vboxLayout = new QVBoxLayout(BalanceTreeBase);
00078 vboxLayout->setSpacing(5);
00079 vboxLayout->setMargin(5);
00080 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00081 hboxLayout = new QHBoxLayout();
00082 hboxLayout->setSpacing(5);
00083 hboxLayout->setMargin(0);
00084 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00085 pixmapLabel1 = new QLabel(BalanceTreeBase);
00086 pixmapLabel1->setObjectName(QString::fromUtf8("pixmapLabel1"));
00087 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(0));
00088 sizePolicy.setHorizontalStretch(0);
00089 sizePolicy.setVerticalStretch(0);
00090 sizePolicy.setHeightForWidth(pixmapLabel1->sizePolicy().hasHeightForWidth());
00091 pixmapLabel1->setSizePolicy(sizePolicy);
00092 pixmapLabel1->setMinimumSize(QSize(48, 48));
00093 pixmapLabel1->setMaximumSize(QSize(48, 48));
00094 pixmapLabel1->setPixmap(QPixmap(QString::fromUtf8(":/BulmaCont32x32/images/png/i_arbolBalance.xpm")));
00095 pixmapLabel1->setScaledContents(true);
00096
00097 hboxLayout->addWidget(pixmapLabel1);
00098
00099 frame_3 = new QFrame(BalanceTreeBase);
00100 frame_3->setObjectName(QString::fromUtf8("frame_3"));
00101 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(7), static_cast<QSizePolicy::Policy>(7));
00102 sizePolicy1.setHorizontalStretch(0);
00103 sizePolicy1.setVerticalStretch(0);
00104 sizePolicy1.setHeightForWidth(frame_3->sizePolicy().hasHeightForWidth());
00105 frame_3->setSizePolicy(sizePolicy1);
00106 frame_3->setMaximumSize(QSize(16777215, 48));
00107 frame_3->setFrameShape(QFrame::StyledPanel);
00108 frame_3->setFrameShadow(QFrame::Raised);
00109 hboxLayout1 = new QHBoxLayout(frame_3);
00110 hboxLayout1->setSpacing(5);
00111 hboxLayout1->setMargin(5);
00112 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00113 mui_imprimir = new QToolButton(frame_3);
00114 mui_imprimir->setObjectName(QString::fromUtf8("mui_imprimir"));
00115 mui_imprimir->setMinimumSize(QSize(32, 32));
00116 mui_imprimir->setMaximumSize(QSize(32, 32));
00117 mui_imprimir->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_filePrint.xpm")));
00118 mui_imprimir->setIconSize(QSize(22, 22));
00119
00120 hboxLayout1->addWidget(mui_imprimir);
00121
00122 mui_filtrar = new QToolButton(frame_3);
00123 mui_filtrar->setObjectName(QString::fromUtf8("mui_filtrar"));
00124 mui_filtrar->setMinimumSize(QSize(32, 32));
00125 mui_filtrar->setMaximumSize(QSize(32, 32));
00126 mui_filtrar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_find.png")));
00127 mui_filtrar->setIconSize(QSize(22, 22));
00128 mui_filtrar->setCheckable(true);
00129 mui_filtrar->setChecked(true);
00130
00131 hboxLayout1->addWidget(mui_filtrar);
00132
00133 mui_actualizar = new QToolButton(frame_3);
00134 mui_actualizar->setObjectName(QString::fromUtf8("mui_actualizar"));
00135 mui_actualizar->setMinimumSize(QSize(32, 32));
00136 mui_actualizar->setMaximumSize(QSize(32, 32));
00137 mui_actualizar->setIcon(QIcon(QString::fromUtf8(":/Genericos32x32/images/png/i_reload.png")));
00138 mui_actualizar->setIconSize(QSize(22, 22));
00139 mui_actualizar->setCheckable(false);
00140 mui_actualizar->setChecked(false);
00141
00142 hboxLayout1->addWidget(mui_actualizar);
00143
00144 spacerItem = new QSpacerItem(421, 26, QSizePolicy::Expanding, QSizePolicy::Minimum);
00145
00146 hboxLayout1->addItem(spacerItem);
00147
00148
00149 hboxLayout->addWidget(frame_3);
00150
00151
00152 vboxLayout->addLayout(hboxLayout);
00153
00154 frame = new QFrame(BalanceTreeBase);
00155 frame->setObjectName(QString::fromUtf8("frame"));
00156 QSizePolicy sizePolicy2(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(1));
00157 sizePolicy2.setHorizontalStretch(0);
00158 sizePolicy2.setVerticalStretch(0);
00159 sizePolicy2.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
00160 frame->setSizePolicy(sizePolicy2);
00161 frame->setFrameShape(QFrame::StyledPanel);
00162 frame->setFrameShadow(QFrame::Raised);
00163 gridLayout = new QGridLayout(frame);
00164 gridLayout->setSpacing(5);
00165 gridLayout->setMargin(5);
00166 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00167 spacerItem1 = new QSpacerItem(174, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
00168
00169 gridLayout->addItem(spacerItem1, 0, 4, 1, 1);
00170
00171 m_codigofinal = new BusquedaCuenta(frame);
00172 m_codigofinal->setObjectName(QString::fromUtf8("m_codigofinal"));
00173 m_codigofinal->setMinimumSize(QSize(150, 0));
00174
00175 gridLayout->addWidget(m_codigofinal, 0, 3, 1, 1);
00176
00177 m_fechafinal1 = new BusquedaFecha(frame);
00178 m_fechafinal1->setObjectName(QString::fromUtf8("m_fechafinal1"));
00179 m_fechafinal1->setMinimumSize(QSize(150, 0));
00180
00181 gridLayout->addWidget(m_fechafinal1, 1, 3, 1, 1);
00182
00183 TextLabel1_2 = new QLabel(frame);
00184 TextLabel1_2->setObjectName(QString::fromUtf8("TextLabel1_2"));
00185 TextLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00186
00187 gridLayout->addWidget(TextLabel1_2, 0, 2, 1, 1);
00188
00189 TextLabel1_2_2_2 = new QLabel(frame);
00190 TextLabel1_2_2_2->setObjectName(QString::fromUtf8("TextLabel1_2_2_2"));
00191 TextLabel1_2_2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00192
00193 gridLayout->addWidget(TextLabel1_2_2_2, 1, 2, 1, 1);
00194
00195 TextLabel1_2_2 = new QLabel(frame);
00196 TextLabel1_2_2->setObjectName(QString::fromUtf8("TextLabel1_2_2"));
00197 TextLabel1_2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00198
00199 gridLayout->addWidget(TextLabel1_2_2, 1, 0, 1, 1);
00200
00201 m_fechainicial1 = new BusquedaFecha(frame);
00202 m_fechainicial1->setObjectName(QString::fromUtf8("m_fechainicial1"));
00203 m_fechainicial1->setMinimumSize(QSize(150, 0));
00204
00205 gridLayout->addWidget(m_fechainicial1, 1, 1, 1, 1);
00206
00207 m_codigoinicial = new BusquedaCuenta(frame);
00208 m_codigoinicial->setObjectName(QString::fromUtf8("m_codigoinicial"));
00209 m_codigoinicial->setMinimumSize(QSize(150, 0));
00210
00211 gridLayout->addWidget(m_codigoinicial, 0, 1, 1, 1);
00212
00213 TextLabel1 = new QLabel(frame);
00214 TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));
00215 TextLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00216
00217 gridLayout->addWidget(TextLabel1, 0, 0, 1, 1);
00218
00219 spacerItem2 = new QSpacerItem(161, 37, QSizePolicy::Expanding, QSizePolicy::Minimum);
00220
00221 gridLayout->addItem(spacerItem2, 2, 4, 1, 1);
00222
00223 spacerItem3 = new QSpacerItem(161, 36, QSizePolicy::Expanding, QSizePolicy::Minimum);
00224
00225 gridLayout->addItem(spacerItem3, 1, 4, 1, 1);
00226
00227 textLabel1_2 = new QLabel(frame);
00228 textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
00229 textLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00230
00231 gridLayout->addWidget(textLabel1_2, 2, 2, 1, 1);
00232
00233 textLabel1 = new QLabel(frame);
00234 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00235 textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00236
00237 gridLayout->addWidget(textLabel1, 2, 0, 1, 1);
00238
00239 combonivel = new QComboBox(frame);
00240 combonivel->setObjectName(QString::fromUtf8("combonivel"));
00241 combonivel->setMinimumSize(QSize(150, 0));
00242
00243 gridLayout->addWidget(combonivel, 2, 3, 1, 1);
00244
00245 mui_combocoste = new BusquedaCCoste(frame);
00246 mui_combocoste->setObjectName(QString::fromUtf8("mui_combocoste"));
00247 mui_combocoste->setMinimumSize(QSize(150, 0));
00248
00249 gridLayout->addWidget(mui_combocoste, 2, 1, 1, 1);
00250
00251
00252 vboxLayout->addWidget(frame);
00253
00254 listado = new QTreeWidget(BalanceTreeBase);
00255 listado->setObjectName(QString::fromUtf8("listado"));
00256
00257 vboxLayout->addWidget(listado);
00258
00259 hboxLayout2 = new QHBoxLayout();
00260 hboxLayout2->setSpacing(5);
00261 hboxLayout2->setMargin(0);
00262 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
00263 spacerItem4 = new QSpacerItem(16, 25, QSizePolicy::Expanding, QSizePolicy::Minimum);
00264
00265 hboxLayout2->addItem(spacerItem4);
00266
00267 TextLabel2 = new QLabel(BalanceTreeBase);
00268 TextLabel2->setObjectName(QString::fromUtf8("TextLabel2"));
00269 TextLabel2->setFrameShape(QFrame::NoFrame);
00270 TextLabel2->setFrameShadow(QFrame::Plain);
00271
00272 hboxLayout2->addWidget(TextLabel2);
00273
00274 totalsaldoant = new QLineEdit(BalanceTreeBase);
00275 totalsaldoant->setObjectName(QString::fromUtf8("totalsaldoant"));
00276 QPalette palette;
00277 QBrush brush(QColor(238, 238, 238, 255));
00278 brush.setStyle(Qt::SolidPattern);
00279 palette.setBrush(QPalette::Active, QPalette::Base, brush);
00280 QBrush brush1(QColor(238, 238, 238, 255));
00281 brush1.setStyle(Qt::SolidPattern);
00282 palette.setBrush(QPalette::Inactive, QPalette::Base, brush1);
00283 QBrush brush2(QColor(255, 255, 255, 255));
00284 brush2.setStyle(Qt::SolidPattern);
00285 palette.setBrush(QPalette::Disabled, QPalette::Base, brush2);
00286 totalsaldoant->setPalette(palette);
00287 QFont font;
00288 font.setPointSize(12);
00289 font.setBold(true);
00290 font.setWeight(75);
00291 totalsaldoant->setFont(font);
00292 totalsaldoant->setAlignment(Qt::AlignRight);
00293 totalsaldoant->setReadOnly(true);
00294
00295 hboxLayout2->addWidget(totalsaldoant);
00296
00297 TextLabel2_2 = new QLabel(BalanceTreeBase);
00298 TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
00299 TextLabel2_2->setFrameShape(QFrame::NoFrame);
00300 TextLabel2_2->setFrameShadow(QFrame::Plain);
00301
00302 hboxLayout2->addWidget(TextLabel2_2);
00303
00304 totaldebe = new QLineEdit(BalanceTreeBase);
00305 totaldebe->setObjectName(QString::fromUtf8("totaldebe"));
00306 QPalette palette1;
00307 QBrush brush3(QColor(238, 238, 238, 255));
00308 brush3.setStyle(Qt::SolidPattern);
00309 palette1.setBrush(QPalette::Active, QPalette::Base, brush3);
00310 QBrush brush4(QColor(238, 238, 238, 255));
00311 brush4.setStyle(Qt::SolidPattern);
00312 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush4);
00313 QBrush brush5(QColor(255, 255, 255, 255));
00314 brush5.setStyle(Qt::SolidPattern);
00315 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush5);
00316 totaldebe->setPalette(palette1);
00317 QFont font1;
00318 font1.setPointSize(12);
00319 font1.setBold(true);
00320 font1.setWeight(75);
00321 totaldebe->setFont(font1);
00322 totaldebe->setAlignment(Qt::AlignRight);
00323 totaldebe->setReadOnly(true);
00324
00325 hboxLayout2->addWidget(totaldebe);
00326
00327 TextLabel2_3 = new QLabel(BalanceTreeBase);
00328 TextLabel2_3->setObjectName(QString::fromUtf8("TextLabel2_3"));
00329 TextLabel2_3->setFrameShape(QFrame::NoFrame);
00330 TextLabel2_3->setFrameShadow(QFrame::Plain);
00331
00332 hboxLayout2->addWidget(TextLabel2_3);
00333
00334 totalhaber = new QLineEdit(BalanceTreeBase);
00335 totalhaber->setObjectName(QString::fromUtf8("totalhaber"));
00336 QPalette palette2;
00337 QBrush brush6(QColor(238, 238, 238, 255));
00338 brush6.setStyle(Qt::SolidPattern);
00339 palette2.setBrush(QPalette::Active, QPalette::Base, brush6);
00340 QBrush brush7(QColor(238, 238, 238, 255));
00341 brush7.setStyle(Qt::SolidPattern);
00342 palette2.setBrush(QPalette::Inactive, QPalette::Base, brush7);
00343 QBrush brush8(QColor(255, 255, 255, 255));
00344 brush8.setStyle(Qt::SolidPattern);
00345 palette2.setBrush(QPalette::Disabled, QPalette::Base, brush8);
00346 totalhaber->setPalette(palette2);
00347 QFont font2;
00348 font2.setPointSize(12);
00349 font2.setBold(true);
00350 font2.setWeight(75);
00351 totalhaber->setFont(font2);
00352 totalhaber->setAlignment(Qt::AlignRight);
00353 totalhaber->setReadOnly(true);
00354
00355 hboxLayout2->addWidget(totalhaber);
00356
00357 TextLabel2_4 = new QLabel(BalanceTreeBase);
00358 TextLabel2_4->setObjectName(QString::fromUtf8("TextLabel2_4"));
00359 TextLabel2_4->setFrameShape(QFrame::NoFrame);
00360 TextLabel2_4->setFrameShadow(QFrame::Plain);
00361
00362 hboxLayout2->addWidget(TextLabel2_4);
00363
00364 totalsaldo = new QLineEdit(BalanceTreeBase);
00365 totalsaldo->setObjectName(QString::fromUtf8("totalsaldo"));
00366 QPalette palette3;
00367 QBrush brush9(QColor(238, 238, 238, 255));
00368 brush9.setStyle(Qt::SolidPattern);
00369 palette3.setBrush(QPalette::Active, QPalette::Base, brush9);
00370 QBrush brush10(QColor(238, 238, 238, 255));
00371 brush10.setStyle(Qt::SolidPattern);
00372 palette3.setBrush(QPalette::Inactive, QPalette::Base, brush10);
00373 QBrush brush11(QColor(255, 255, 255, 255));
00374 brush11.setStyle(Qt::SolidPattern);
00375 palette3.setBrush(QPalette::Disabled, QPalette::Base, brush11);
00376 totalsaldo->setPalette(palette3);
00377 QFont font3;
00378 font3.setPointSize(12);
00379 font3.setBold(true);
00380 font3.setWeight(75);
00381 totalsaldo->setFont(font3);
00382 totalsaldo->setAlignment(Qt::AlignRight);
00383 totalsaldo->setReadOnly(true);
00384
00385 hboxLayout2->addWidget(totalsaldo);
00386
00387
00388 vboxLayout->addLayout(hboxLayout2);
00389
00390
00391 retranslateUi(BalanceTreeBase);
00392
00393 QSize size(690, 490);
00394 size = size.expandedTo(BalanceTreeBase->minimumSizeHint());
00395 BalanceTreeBase->resize(size);
00396
00397 QObject::connect(mui_filtrar, SIGNAL(toggled(bool)), frame, SLOT(setShown(bool)));
00398
00399 QMetaObject::connectSlotsByName(BalanceTreeBase);
00400 }
00401
00402 void retranslateUi(QWidget *BalanceTreeBase)
00403 {
00404 BalanceTreeBase->setWindowTitle(QApplication::translate("BalanceTreeBase", "Balance jerarquico de Cuentas", 0, QApplication::UnicodeUTF8));
00405 mui_imprimir->setToolTip(QApplication::translate("BalanceTreeBase", "Borrar albaran", 0, QApplication::UnicodeUTF8));
00406 mui_imprimir->setWhatsThis(QApplication::translate("BalanceTreeBase", "Borrar albaran", 0, QApplication::UnicodeUTF8));
00407 mui_imprimir->setText(QString());
00408 mui_filtrar->setToolTip(QApplication::translate("BalanceTreeBase", "Imprimir albaran", 0, QApplication::UnicodeUTF8));
00409 mui_filtrar->setWhatsThis(QApplication::translate("BalanceTreeBase", "Imprimir albaran", 0, QApplication::UnicodeUTF8));
00410 mui_filtrar->setText(QString());
00411 mui_actualizar->setToolTip(QApplication::translate("BalanceTreeBase", "Imprimir albaran", 0, QApplication::UnicodeUTF8));
00412 mui_actualizar->setWhatsThis(QApplication::translate("BalanceTreeBase", "Imprimir albaran", 0, QApplication::UnicodeUTF8));
00413 mui_actualizar->setText(QString());
00414 TextLabel1_2->setText(QApplication::translate("BalanceTreeBase", "Cuenta final:", 0, QApplication::UnicodeUTF8));
00415 TextLabel1_2_2_2->setText(QApplication::translate("BalanceTreeBase", "Fecha final:", 0, QApplication::UnicodeUTF8));
00416 TextLabel1_2_2->setText(QApplication::translate("BalanceTreeBase", "Fecha inicial:", 0, QApplication::UnicodeUTF8));
00417 TextLabel1->setText(QApplication::translate("BalanceTreeBase", "Cuenta inicial:", 0, QApplication::UnicodeUTF8));
00418 textLabel1_2->setText(QApplication::translate("BalanceTreeBase", "Nivel:", 0, QApplication::UnicodeUTF8));
00419 textLabel1->setText(QApplication::translate("BalanceTreeBase", "Centro de coste:", 0, QApplication::UnicodeUTF8));
00420 TextLabel2->setText(QApplication::translate("BalanceTreeBase", "Saldo anterior:", 0, QApplication::UnicodeUTF8));
00421 TextLabel2_2->setText(QApplication::translate("BalanceTreeBase", "Total Debe:", 0, QApplication::UnicodeUTF8));
00422 TextLabel2_3->setText(QApplication::translate("BalanceTreeBase", "Total Haber:", 0, QApplication::UnicodeUTF8));
00423 TextLabel2_4->setText(QApplication::translate("BalanceTreeBase", "Saldo:", 0, QApplication::UnicodeUTF8));
00424 Q_UNUSED(BalanceTreeBase);
00425 }
00426
00427 };
00428
00429 namespace Ui {
00430 class BalanceTreeBase: public Ui_BalanceTreeBase {};
00431 }
00432
00433 #endif // UI_BALANCETREEBASE_H