983 lines
42 KiB
C++
983 lines
42 KiB
C++
|
|
/********************************************************************************
|
||
|
|
** Form generated from reading UI file 'formbudget.ui'
|
||
|
|
**
|
||
|
|
** Created by: Qt User Interface Compiler version 5.15.13
|
||
|
|
**
|
||
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||
|
|
********************************************************************************/
|
||
|
|
|
||
|
|
#ifndef UI_FORMBUDGET_H
|
||
|
|
#define UI_FORMBUDGET_H
|
||
|
|
|
||
|
|
#include <QtCore/QVariant>
|
||
|
|
#include <QtGui/QIcon>
|
||
|
|
#include <QtWidgets/QApplication>
|
||
|
|
#include <QtWidgets/QComboBox>
|
||
|
|
#include <QtWidgets/QDateEdit>
|
||
|
|
#include <QtWidgets/QFrame>
|
||
|
|
#include <QtWidgets/QGridLayout>
|
||
|
|
#include <QtWidgets/QHBoxLayout>
|
||
|
|
#include <QtWidgets/QHeaderView>
|
||
|
|
#include <QtWidgets/QLabel>
|
||
|
|
#include <QtWidgets/QLineEdit>
|
||
|
|
#include <QtWidgets/QPushButton>
|
||
|
|
#include <QtWidgets/QScrollArea>
|
||
|
|
#include <QtWidgets/QSpacerItem>
|
||
|
|
#include <QtWidgets/QTabWidget>
|
||
|
|
#include <QtWidgets/QToolButton>
|
||
|
|
#include <QtWidgets/QVBoxLayout>
|
||
|
|
#include <QtWidgets/QWidget>
|
||
|
|
#include "qmtreeview.h"
|
||
|
|
|
||
|
|
QT_BEGIN_NAMESPACE
|
||
|
|
|
||
|
|
class Ui_formBudget
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
QVBoxLayout *verticalLayout;
|
||
|
|
QFrame *MainToolBar;
|
||
|
|
QHBoxLayout *horizontalLayout_6;
|
||
|
|
QToolButton *buttonValidate;
|
||
|
|
QToolButton *buttonSave;
|
||
|
|
QWidget *ToolbarLines;
|
||
|
|
QHBoxLayout *horizontalLayout_4;
|
||
|
|
QWidget *widget_10;
|
||
|
|
QHBoxLayout *horizontalLayout_9;
|
||
|
|
QToolButton *buttonInsertChild;
|
||
|
|
QToolButton *buttonInsertRow;
|
||
|
|
QToolButton *buttonMaterials;
|
||
|
|
QToolButton *buttoMachinary;
|
||
|
|
QToolButton *buttonManpower;
|
||
|
|
QToolButton *buttonPercent;
|
||
|
|
QWidget *widget_11;
|
||
|
|
QHBoxLayout *horizontalLayout_10;
|
||
|
|
QToolButton *toolButton_4;
|
||
|
|
QToolButton *buttonRemoveRow;
|
||
|
|
QSpacerItem *horizontalSpacer_5;
|
||
|
|
QToolButton *toolButton_10;
|
||
|
|
QFrame *frameInfo;
|
||
|
|
QHBoxLayout *horizontalLayout_2;
|
||
|
|
QWidget *widget;
|
||
|
|
QGridLayout *gridLayout;
|
||
|
|
QLabel *label_8;
|
||
|
|
QLineEdit *editCode;
|
||
|
|
QLineEdit *editProjectName;
|
||
|
|
QLabel *label_23;
|
||
|
|
QComboBox *comboState;
|
||
|
|
QLineEdit *editTitle;
|
||
|
|
QLabel *label_9;
|
||
|
|
QLabel *label_7;
|
||
|
|
QLabel *label_10;
|
||
|
|
QComboBox *editClientCode;
|
||
|
|
QLabel *label_5;
|
||
|
|
QLabel *label_6;
|
||
|
|
QComboBox *editProjectCode;
|
||
|
|
QLineEdit *editClientName;
|
||
|
|
QSpacerItem *horizontalSpacer_3;
|
||
|
|
QWidget *widget_4;
|
||
|
|
QHBoxLayout *horizontalLayout_5;
|
||
|
|
QLabel *label_24;
|
||
|
|
QComboBox *editVersion;
|
||
|
|
QPushButton *pushButton;
|
||
|
|
QPushButton *pushButton_2;
|
||
|
|
QTabWidget *tabWidget;
|
||
|
|
QWidget *tabFile;
|
||
|
|
QWidget *widget_2;
|
||
|
|
QGridLayout *gridLayout_2;
|
||
|
|
QLabel *label_15;
|
||
|
|
QLabel *label_14;
|
||
|
|
QLineEdit *lineEdit_8;
|
||
|
|
QLabel *label_25;
|
||
|
|
QLabel *label_11;
|
||
|
|
QLineEdit *lineEdit_9;
|
||
|
|
QDateEdit *editdateCreated;
|
||
|
|
QDateEdit *editdateUpdate;
|
||
|
|
QDateEdit *editdateValidUntill;
|
||
|
|
QDateEdit *editdateValidUntill_2;
|
||
|
|
QLabel *label_12;
|
||
|
|
QLabel *edit;
|
||
|
|
QWidget *tabBudget;
|
||
|
|
QVBoxLayout *verticalLayout_2;
|
||
|
|
QMTreeView *treeView;
|
||
|
|
QFrame *frame_3;
|
||
|
|
QHBoxLayout *horizontalLayout;
|
||
|
|
QLabel *label;
|
||
|
|
QSpacerItem *horizontalSpacer;
|
||
|
|
QLabel *label_2;
|
||
|
|
QLineEdit *editCost;
|
||
|
|
QLabel *label_3;
|
||
|
|
QLineEdit *editPrice;
|
||
|
|
QLabel *label_4;
|
||
|
|
QLineEdit *editProfit;
|
||
|
|
QWidget *tabSumary;
|
||
|
|
QWidget *widget_3;
|
||
|
|
QGridLayout *gridLayout_3;
|
||
|
|
QLineEdit *lineEdit_13;
|
||
|
|
QLineEdit *lineEdit_16;
|
||
|
|
QLabel *label_19;
|
||
|
|
QLineEdit *lineEdit_6;
|
||
|
|
QLabel *label_17;
|
||
|
|
QLineEdit *lineEdit_10;
|
||
|
|
QLabel *label_20;
|
||
|
|
QLabel *label_22;
|
||
|
|
QLineEdit *lineEdit_12;
|
||
|
|
QLineEdit *lineEdit_15;
|
||
|
|
QLineEdit *lineEdit_11;
|
||
|
|
QLabel *label_18;
|
||
|
|
QLabel *label_16;
|
||
|
|
QLineEdit *lineEdit_5;
|
||
|
|
QLabel *label_21;
|
||
|
|
QLineEdit *lineEdit_14;
|
||
|
|
QLabel *separatorLine;
|
||
|
|
QLabel *separatorLine_2;
|
||
|
|
QWidget *tabContacts;
|
||
|
|
QWidget *tabNotes;
|
||
|
|
QVBoxLayout *verticalLayout_3;
|
||
|
|
QScrollArea *scrollArea;
|
||
|
|
QWidget *scrollAreaWidgetContents;
|
||
|
|
QVBoxLayout *verticalLayout_6;
|
||
|
|
QFrame *frameTable;
|
||
|
|
QVBoxLayout *verticalLayout_4;
|
||
|
|
QLabel *Title;
|
||
|
|
QWidget *Content;
|
||
|
|
QVBoxLayout *verticalLayout_7;
|
||
|
|
QWidget *textNotePrivate;
|
||
|
|
QFrame *frameTable_2;
|
||
|
|
QVBoxLayout *verticalLayout_5;
|
||
|
|
QLabel *Title_2;
|
||
|
|
QWidget *Content_2;
|
||
|
|
QVBoxLayout *verticalLayout_8;
|
||
|
|
QWidget *textNotePublic;
|
||
|
|
QSpacerItem *verticalSpacer;
|
||
|
|
|
||
|
|
void setupUi(QWidget *formBudget)
|
||
|
|
{
|
||
|
|
if (formBudget->objectName().isEmpty())
|
||
|
|
formBudget->setObjectName(QString::fromUtf8("formBudget"));
|
||
|
|
formBudget->resize(1070, 573);
|
||
|
|
verticalLayout = new QVBoxLayout(formBudget);
|
||
|
|
verticalLayout->setSpacing(5);
|
||
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||
|
|
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
|
MainToolBar = new QFrame(formBudget);
|
||
|
|
MainToolBar->setObjectName(QString::fromUtf8("MainToolBar"));
|
||
|
|
MainToolBar->setFrameShape(QFrame::StyledPanel);
|
||
|
|
MainToolBar->setFrameShadow(QFrame::Raised);
|
||
|
|
horizontalLayout_6 = new QHBoxLayout(MainToolBar);
|
||
|
|
horizontalLayout_6->setSpacing(5);
|
||
|
|
horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
|
||
|
|
horizontalLayout_6->setContentsMargins(0, 0, 0, 0);
|
||
|
|
buttonValidate = new QToolButton(MainToolBar);
|
||
|
|
buttonValidate->setObjectName(QString::fromUtf8("buttonValidate"));
|
||
|
|
QIcon icon;
|
||
|
|
icon.addFile(QString::fromUtf8(":/resources/icons/tick.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonValidate->setIcon(icon);
|
||
|
|
buttonValidate->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
|
|
||
|
|
horizontalLayout_6->addWidget(buttonValidate);
|
||
|
|
|
||
|
|
buttonSave = new QToolButton(MainToolBar);
|
||
|
|
buttonSave->setObjectName(QString::fromUtf8("buttonSave"));
|
||
|
|
QIcon icon1;
|
||
|
|
icon1.addFile(QString::fromUtf8(":/resources/icons/save.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonSave->setIcon(icon1);
|
||
|
|
buttonSave->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||
|
|
|
||
|
|
horizontalLayout_6->addWidget(buttonSave);
|
||
|
|
|
||
|
|
ToolbarLines = new QWidget(MainToolBar);
|
||
|
|
ToolbarLines->setObjectName(QString::fromUtf8("ToolbarLines"));
|
||
|
|
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||
|
|
sizePolicy.setHorizontalStretch(0);
|
||
|
|
sizePolicy.setVerticalStretch(0);
|
||
|
|
sizePolicy.setHeightForWidth(ToolbarLines->sizePolicy().hasHeightForWidth());
|
||
|
|
ToolbarLines->setSizePolicy(sizePolicy);
|
||
|
|
horizontalLayout_4 = new QHBoxLayout(ToolbarLines);
|
||
|
|
horizontalLayout_4->setSpacing(5);
|
||
|
|
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||
|
|
horizontalLayout_4->setContentsMargins(10, 0, 0, 0);
|
||
|
|
widget_10 = new QWidget(ToolbarLines);
|
||
|
|
widget_10->setObjectName(QString::fromUtf8("widget_10"));
|
||
|
|
horizontalLayout_9 = new QHBoxLayout(widget_10);
|
||
|
|
horizontalLayout_9->setSpacing(0);
|
||
|
|
horizontalLayout_9->setObjectName(QString::fromUtf8("horizontalLayout_9"));
|
||
|
|
horizontalLayout_9->setContentsMargins(0, 0, 0, 0);
|
||
|
|
buttonInsertChild = new QToolButton(widget_10);
|
||
|
|
buttonInsertChild->setObjectName(QString::fromUtf8("buttonInsertChild"));
|
||
|
|
QIcon icon2;
|
||
|
|
icon2.addFile(QString::fromUtf8(":/resources/icons/box.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonInsertChild->setIcon(icon2);
|
||
|
|
buttonInsertChild->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttonInsertChild);
|
||
|
|
|
||
|
|
buttonInsertRow = new QToolButton(widget_10);
|
||
|
|
buttonInsertRow->setObjectName(QString::fromUtf8("buttonInsertRow"));
|
||
|
|
QIcon icon3;
|
||
|
|
icon3.addFile(QString::fromUtf8(":/resources/icons/insert.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonInsertRow->setIcon(icon3);
|
||
|
|
buttonInsertRow->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttonInsertRow);
|
||
|
|
|
||
|
|
buttonMaterials = new QToolButton(widget_10);
|
||
|
|
buttonMaterials->setObjectName(QString::fromUtf8("buttonMaterials"));
|
||
|
|
QIcon icon4;
|
||
|
|
icon4.addFile(QString::fromUtf8(":/resources/icons/blocks.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonMaterials->setIcon(icon4);
|
||
|
|
buttonMaterials->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttonMaterials);
|
||
|
|
|
||
|
|
buttoMachinary = new QToolButton(widget_10);
|
||
|
|
buttoMachinary->setObjectName(QString::fromUtf8("buttoMachinary"));
|
||
|
|
QIcon icon5;
|
||
|
|
icon5.addFile(QString::fromUtf8(":/resources/icons/gear.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttoMachinary->setIcon(icon5);
|
||
|
|
buttoMachinary->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttoMachinary);
|
||
|
|
|
||
|
|
buttonManpower = new QToolButton(widget_10);
|
||
|
|
buttonManpower->setObjectName(QString::fromUtf8("buttonManpower"));
|
||
|
|
QIcon icon6;
|
||
|
|
icon6.addFile(QString::fromUtf8(":/resources/icons/helmet.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonManpower->setIcon(icon6);
|
||
|
|
buttonManpower->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttonManpower);
|
||
|
|
|
||
|
|
buttonPercent = new QToolButton(widget_10);
|
||
|
|
buttonPercent->setObjectName(QString::fromUtf8("buttonPercent"));
|
||
|
|
QIcon icon7;
|
||
|
|
icon7.addFile(QString::fromUtf8(":/resources/icons/percentage.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonPercent->setIcon(icon7);
|
||
|
|
buttonPercent->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_9->addWidget(buttonPercent);
|
||
|
|
|
||
|
|
|
||
|
|
horizontalLayout_4->addWidget(widget_10);
|
||
|
|
|
||
|
|
widget_11 = new QWidget(ToolbarLines);
|
||
|
|
widget_11->setObjectName(QString::fromUtf8("widget_11"));
|
||
|
|
horizontalLayout_10 = new QHBoxLayout(widget_11);
|
||
|
|
horizontalLayout_10->setSpacing(0);
|
||
|
|
horizontalLayout_10->setObjectName(QString::fromUtf8("horizontalLayout_10"));
|
||
|
|
horizontalLayout_10->setContentsMargins(0, 0, 0, 0);
|
||
|
|
toolButton_4 = new QToolButton(widget_11);
|
||
|
|
toolButton_4->setObjectName(QString::fromUtf8("toolButton_4"));
|
||
|
|
QIcon icon8;
|
||
|
|
icon8.addFile(QString::fromUtf8(":/resources/icons/duplicate.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
toolButton_4->setIcon(icon8);
|
||
|
|
toolButton_4->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_10->addWidget(toolButton_4);
|
||
|
|
|
||
|
|
buttonRemoveRow = new QToolButton(widget_11);
|
||
|
|
buttonRemoveRow->setObjectName(QString::fromUtf8("buttonRemoveRow"));
|
||
|
|
QIcon icon9;
|
||
|
|
icon9.addFile(QString::fromUtf8(":/resources/icons/delete.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||
|
|
buttonRemoveRow->setIcon(icon9);
|
||
|
|
buttonRemoveRow->setIconSize(QSize(20, 20));
|
||
|
|
|
||
|
|
horizontalLayout_10->addWidget(buttonRemoveRow);
|
||
|
|
|
||
|
|
|
||
|
|
horizontalLayout_4->addWidget(widget_11);
|
||
|
|
|
||
|
|
|
||
|
|
horizontalLayout_6->addWidget(ToolbarLines);
|
||
|
|
|
||
|
|
horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
|
||
|
|
horizontalLayout_6->addItem(horizontalSpacer_5);
|
||
|
|
|
||
|
|
toolButton_10 = new QToolButton(MainToolBar);
|
||
|
|
toolButton_10->setObjectName(QString::fromUtf8("toolButton_10"));
|
||
|
|
|
||
|
|
horizontalLayout_6->addWidget(toolButton_10);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout->addWidget(MainToolBar);
|
||
|
|
|
||
|
|
frameInfo = new QFrame(formBudget);
|
||
|
|
frameInfo->setObjectName(QString::fromUtf8("frameInfo"));
|
||
|
|
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||
|
|
sizePolicy1.setHorizontalStretch(0);
|
||
|
|
sizePolicy1.setVerticalStretch(0);
|
||
|
|
sizePolicy1.setHeightForWidth(frameInfo->sizePolicy().hasHeightForWidth());
|
||
|
|
frameInfo->setSizePolicy(sizePolicy1);
|
||
|
|
frameInfo->setMinimumSize(QSize(650, 0));
|
||
|
|
frameInfo->setFrameShape(QFrame::StyledPanel);
|
||
|
|
frameInfo->setFrameShadow(QFrame::Raised);
|
||
|
|
horizontalLayout_2 = new QHBoxLayout(frameInfo);
|
||
|
|
horizontalLayout_2->setSpacing(5);
|
||
|
|
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||
|
|
horizontalLayout_2->setContentsMargins(10, 10, 10, 10);
|
||
|
|
widget = new QWidget(frameInfo);
|
||
|
|
widget->setObjectName(QString::fromUtf8("widget"));
|
||
|
|
gridLayout = new QGridLayout(widget);
|
||
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||
|
|
gridLayout->setHorizontalSpacing(10);
|
||
|
|
gridLayout->setVerticalSpacing(5);
|
||
|
|
gridLayout->setContentsMargins(0, 0, 0, 0);
|
||
|
|
label_8 = new QLabel(widget);
|
||
|
|
label_8->setObjectName(QString::fromUtf8("label_8"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_8, 1, 2, 1, 1);
|
||
|
|
|
||
|
|
editCode = new QLineEdit(widget);
|
||
|
|
editCode->setObjectName(QString::fromUtf8("editCode"));
|
||
|
|
sizePolicy.setHeightForWidth(editCode->sizePolicy().hasHeightForWidth());
|
||
|
|
editCode->setSizePolicy(sizePolicy);
|
||
|
|
editCode->setMinimumSize(QSize(150, 0));
|
||
|
|
editCode->setMaximumSize(QSize(120, 16777215));
|
||
|
|
editCode->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||
|
|
editCode->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout->addWidget(editCode, 0, 1, 1, 1);
|
||
|
|
|
||
|
|
editProjectName = new QLineEdit(widget);
|
||
|
|
editProjectName->setObjectName(QString::fromUtf8("editProjectName"));
|
||
|
|
editProjectName->setMinimumSize(QSize(500, 0));
|
||
|
|
editProjectName->setMaxLength(128);
|
||
|
|
editProjectName->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout->addWidget(editProjectName, 2, 3, 1, 1);
|
||
|
|
|
||
|
|
label_23 = new QLabel(widget);
|
||
|
|
label_23->setObjectName(QString::fromUtf8("label_23"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_23, 0, 4, 1, 1);
|
||
|
|
|
||
|
|
comboState = new QComboBox(widget);
|
||
|
|
comboState->addItem(QString());
|
||
|
|
comboState->addItem(QString());
|
||
|
|
comboState->addItem(QString());
|
||
|
|
comboState->addItem(QString());
|
||
|
|
comboState->addItem(QString());
|
||
|
|
comboState->setObjectName(QString::fromUtf8("comboState"));
|
||
|
|
comboState->setEnabled(false);
|
||
|
|
sizePolicy.setHeightForWidth(comboState->sizePolicy().hasHeightForWidth());
|
||
|
|
comboState->setSizePolicy(sizePolicy);
|
||
|
|
comboState->setMinimumSize(QSize(120, 0));
|
||
|
|
comboState->setMaximumSize(QSize(120, 16777215));
|
||
|
|
|
||
|
|
gridLayout->addWidget(comboState, 0, 5, 1, 1);
|
||
|
|
|
||
|
|
editTitle = new QLineEdit(widget);
|
||
|
|
editTitle->setObjectName(QString::fromUtf8("editTitle"));
|
||
|
|
editTitle->setMinimumSize(QSize(500, 0));
|
||
|
|
|
||
|
|
gridLayout->addWidget(editTitle, 0, 3, 1, 1);
|
||
|
|
|
||
|
|
label_9 = new QLabel(widget);
|
||
|
|
label_9->setObjectName(QString::fromUtf8("label_9"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_9, 2, 0, 1, 1);
|
||
|
|
|
||
|
|
label_7 = new QLabel(widget);
|
||
|
|
label_7->setObjectName(QString::fromUtf8("label_7"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_7, 1, 0, 1, 1);
|
||
|
|
|
||
|
|
label_10 = new QLabel(widget);
|
||
|
|
label_10->setObjectName(QString::fromUtf8("label_10"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_10, 2, 2, 1, 1);
|
||
|
|
|
||
|
|
editClientCode = new QComboBox(widget);
|
||
|
|
editClientCode->setObjectName(QString::fromUtf8("editClientCode"));
|
||
|
|
sizePolicy.setHeightForWidth(editClientCode->sizePolicy().hasHeightForWidth());
|
||
|
|
editClientCode->setSizePolicy(sizePolicy);
|
||
|
|
editClientCode->setMinimumSize(QSize(150, 0));
|
||
|
|
editClientCode->setMaximumSize(QSize(120, 16777215));
|
||
|
|
editClientCode->setEditable(true);
|
||
|
|
|
||
|
|
gridLayout->addWidget(editClientCode, 1, 1, 1, 1);
|
||
|
|
|
||
|
|
label_5 = new QLabel(widget);
|
||
|
|
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_5, 0, 0, 1, 1);
|
||
|
|
|
||
|
|
label_6 = new QLabel(widget);
|
||
|
|
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||
|
|
|
||
|
|
gridLayout->addWidget(label_6, 0, 2, 1, 1);
|
||
|
|
|
||
|
|
editProjectCode = new QComboBox(widget);
|
||
|
|
editProjectCode->setObjectName(QString::fromUtf8("editProjectCode"));
|
||
|
|
sizePolicy.setHeightForWidth(editProjectCode->sizePolicy().hasHeightForWidth());
|
||
|
|
editProjectCode->setSizePolicy(sizePolicy);
|
||
|
|
editProjectCode->setMinimumSize(QSize(150, 0));
|
||
|
|
editProjectCode->setMaximumSize(QSize(120, 16777215));
|
||
|
|
editProjectCode->setEditable(true);
|
||
|
|
|
||
|
|
gridLayout->addWidget(editProjectCode, 2, 1, 1, 1);
|
||
|
|
|
||
|
|
editClientName = new QLineEdit(widget);
|
||
|
|
editClientName->setObjectName(QString::fromUtf8("editClientName"));
|
||
|
|
editClientName->setMinimumSize(QSize(500, 0));
|
||
|
|
editClientName->setMaxLength(128);
|
||
|
|
editClientName->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout->addWidget(editClientName, 1, 3, 1, 1);
|
||
|
|
|
||
|
|
horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
|
||
|
|
gridLayout->addItem(horizontalSpacer_3, 0, 6, 3, 1);
|
||
|
|
|
||
|
|
widget_4 = new QWidget(widget);
|
||
|
|
widget_4->setObjectName(QString::fromUtf8("widget_4"));
|
||
|
|
widget_4->setEnabled(false);
|
||
|
|
horizontalLayout_5 = new QHBoxLayout(widget_4);
|
||
|
|
horizontalLayout_5->setSpacing(0);
|
||
|
|
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
|
||
|
|
horizontalLayout_5->setContentsMargins(0, 0, 0, 0);
|
||
|
|
label_24 = new QLabel(widget_4);
|
||
|
|
label_24->setObjectName(QString::fromUtf8("label_24"));
|
||
|
|
|
||
|
|
horizontalLayout_5->addWidget(label_24);
|
||
|
|
|
||
|
|
editVersion = new QComboBox(widget_4);
|
||
|
|
editVersion->addItem(QString());
|
||
|
|
editVersion->setObjectName(QString::fromUtf8("editVersion"));
|
||
|
|
|
||
|
|
horizontalLayout_5->addWidget(editVersion);
|
||
|
|
|
||
|
|
pushButton = new QPushButton(widget_4);
|
||
|
|
pushButton->setObjectName(QString::fromUtf8("pushButton"));
|
||
|
|
sizePolicy.setHeightForWidth(pushButton->sizePolicy().hasHeightForWidth());
|
||
|
|
pushButton->setSizePolicy(sizePolicy);
|
||
|
|
pushButton->setIcon(icon);
|
||
|
|
|
||
|
|
horizontalLayout_5->addWidget(pushButton);
|
||
|
|
|
||
|
|
pushButton_2 = new QPushButton(widget_4);
|
||
|
|
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
|
||
|
|
sizePolicy.setHeightForWidth(pushButton_2->sizePolicy().hasHeightForWidth());
|
||
|
|
pushButton_2->setSizePolicy(sizePolicy);
|
||
|
|
pushButton_2->setIcon(icon);
|
||
|
|
|
||
|
|
horizontalLayout_5->addWidget(pushButton_2);
|
||
|
|
|
||
|
|
|
||
|
|
gridLayout->addWidget(widget_4, 2, 4, 1, 2);
|
||
|
|
|
||
|
|
|
||
|
|
horizontalLayout_2->addWidget(widget);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout->addWidget(frameInfo);
|
||
|
|
|
||
|
|
tabWidget = new QTabWidget(formBudget);
|
||
|
|
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
|
||
|
|
tabFile = new QWidget();
|
||
|
|
tabFile->setObjectName(QString::fromUtf8("tabFile"));
|
||
|
|
widget_2 = new QWidget(tabFile);
|
||
|
|
widget_2->setObjectName(QString::fromUtf8("widget_2"));
|
||
|
|
widget_2->setGeometry(QRect(10, 10, 771, 201));
|
||
|
|
gridLayout_2 = new QGridLayout(widget_2);
|
||
|
|
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
|
||
|
|
gridLayout_2->setHorizontalSpacing(10);
|
||
|
|
gridLayout_2->setVerticalSpacing(5);
|
||
|
|
gridLayout_2->setContentsMargins(0, 0, 0, 0);
|
||
|
|
label_15 = new QLabel(widget_2);
|
||
|
|
label_15->setObjectName(QString::fromUtf8("label_15"));
|
||
|
|
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
|
||
|
|
sizePolicy2.setHorizontalStretch(0);
|
||
|
|
sizePolicy2.setVerticalStretch(0);
|
||
|
|
sizePolicy2.setHeightForWidth(label_15->sizePolicy().hasHeightForWidth());
|
||
|
|
label_15->setSizePolicy(sizePolicy2);
|
||
|
|
label_15->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(label_15, 4, 0, 1, 1);
|
||
|
|
|
||
|
|
label_14 = new QLabel(widget_2);
|
||
|
|
label_14->setObjectName(QString::fromUtf8("label_14"));
|
||
|
|
sizePolicy2.setHeightForWidth(label_14->sizePolicy().hasHeightForWidth());
|
||
|
|
label_14->setSizePolicy(sizePolicy2);
|
||
|
|
label_14->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(label_14, 3, 0, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_8 = new QLineEdit(widget_2);
|
||
|
|
lineEdit_8->setObjectName(QString::fromUtf8("lineEdit_8"));
|
||
|
|
sizePolicy.setHeightForWidth(lineEdit_8->sizePolicy().hasHeightForWidth());
|
||
|
|
lineEdit_8->setSizePolicy(sizePolicy);
|
||
|
|
lineEdit_8->setMinimumSize(QSize(120, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(lineEdit_8, 3, 2, 1, 1);
|
||
|
|
|
||
|
|
label_25 = new QLabel(widget_2);
|
||
|
|
label_25->setObjectName(QString::fromUtf8("label_25"));
|
||
|
|
sizePolicy2.setHeightForWidth(label_25->sizePolicy().hasHeightForWidth());
|
||
|
|
label_25->setSizePolicy(sizePolicy2);
|
||
|
|
label_25->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(label_25, 0, 3, 1, 1);
|
||
|
|
|
||
|
|
label_11 = new QLabel(widget_2);
|
||
|
|
label_11->setObjectName(QString::fromUtf8("label_11"));
|
||
|
|
sizePolicy2.setHeightForWidth(label_11->sizePolicy().hasHeightForWidth());
|
||
|
|
label_11->setSizePolicy(sizePolicy2);
|
||
|
|
label_11->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(label_11, 0, 0, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_9 = new QLineEdit(widget_2);
|
||
|
|
lineEdit_9->setObjectName(QString::fromUtf8("lineEdit_9"));
|
||
|
|
sizePolicy.setHeightForWidth(lineEdit_9->sizePolicy().hasHeightForWidth());
|
||
|
|
lineEdit_9->setSizePolicy(sizePolicy);
|
||
|
|
lineEdit_9->setMinimumSize(QSize(120, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(lineEdit_9, 4, 2, 1, 1);
|
||
|
|
|
||
|
|
editdateCreated = new QDateEdit(widget_2);
|
||
|
|
editdateCreated->setObjectName(QString::fromUtf8("editdateCreated"));
|
||
|
|
sizePolicy.setHeightForWidth(editdateCreated->sizePolicy().hasHeightForWidth());
|
||
|
|
editdateCreated->setSizePolicy(sizePolicy);
|
||
|
|
editdateCreated->setMinimumSize(QSize(120, 0));
|
||
|
|
editdateCreated->setCalendarPopup(true);
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(editdateCreated, 0, 2, 1, 1);
|
||
|
|
|
||
|
|
editdateUpdate = new QDateEdit(widget_2);
|
||
|
|
editdateUpdate->setObjectName(QString::fromUtf8("editdateUpdate"));
|
||
|
|
sizePolicy.setHeightForWidth(editdateUpdate->sizePolicy().hasHeightForWidth());
|
||
|
|
editdateUpdate->setSizePolicy(sizePolicy);
|
||
|
|
editdateUpdate->setMinimumSize(QSize(120, 0));
|
||
|
|
editdateUpdate->setAlignment(Qt::AlignCenter);
|
||
|
|
editdateUpdate->setReadOnly(true);
|
||
|
|
editdateUpdate->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(editdateUpdate, 0, 4, 1, 1);
|
||
|
|
|
||
|
|
editdateValidUntill = new QDateEdit(widget_2);
|
||
|
|
editdateValidUntill->setObjectName(QString::fromUtf8("editdateValidUntill"));
|
||
|
|
sizePolicy.setHeightForWidth(editdateValidUntill->sizePolicy().hasHeightForWidth());
|
||
|
|
editdateValidUntill->setSizePolicy(sizePolicy);
|
||
|
|
editdateValidUntill->setMinimumSize(QSize(120, 0));
|
||
|
|
editdateValidUntill->setCalendarPopup(true);
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(editdateValidUntill, 1, 4, 1, 1);
|
||
|
|
|
||
|
|
editdateValidUntill_2 = new QDateEdit(widget_2);
|
||
|
|
editdateValidUntill_2->setObjectName(QString::fromUtf8("editdateValidUntill_2"));
|
||
|
|
sizePolicy.setHeightForWidth(editdateValidUntill_2->sizePolicy().hasHeightForWidth());
|
||
|
|
editdateValidUntill_2->setSizePolicy(sizePolicy);
|
||
|
|
editdateValidUntill_2->setMinimumSize(QSize(120, 0));
|
||
|
|
editdateValidUntill_2->setCalendarPopup(true);
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(editdateValidUntill_2, 1, 2, 1, 1);
|
||
|
|
|
||
|
|
label_12 = new QLabel(widget_2);
|
||
|
|
label_12->setObjectName(QString::fromUtf8("label_12"));
|
||
|
|
sizePolicy2.setHeightForWidth(label_12->sizePolicy().hasHeightForWidth());
|
||
|
|
label_12->setSizePolicy(sizePolicy2);
|
||
|
|
label_12->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(label_12, 1, 3, 1, 1);
|
||
|
|
|
||
|
|
edit = new QLabel(widget_2);
|
||
|
|
edit->setObjectName(QString::fromUtf8("edit"));
|
||
|
|
sizePolicy2.setHeightForWidth(edit->sizePolicy().hasHeightForWidth());
|
||
|
|
edit->setSizePolicy(sizePolicy2);
|
||
|
|
edit->setMinimumSize(QSize(80, 0));
|
||
|
|
|
||
|
|
gridLayout_2->addWidget(edit, 1, 0, 1, 1);
|
||
|
|
|
||
|
|
tabWidget->addTab(tabFile, QString());
|
||
|
|
tabBudget = new QWidget();
|
||
|
|
tabBudget->setObjectName(QString::fromUtf8("tabBudget"));
|
||
|
|
verticalLayout_2 = new QVBoxLayout(tabBudget);
|
||
|
|
verticalLayout_2->setSpacing(2);
|
||
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||
|
|
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
|
||
|
|
treeView = new QMTreeView(tabBudget);
|
||
|
|
treeView->setObjectName(QString::fromUtf8("treeView"));
|
||
|
|
treeView->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed);
|
||
|
|
treeView->setTabKeyNavigation(true);
|
||
|
|
treeView->setAlternatingRowColors(true);
|
||
|
|
treeView->setSelectionBehavior(QAbstractItemView::SelectItems);
|
||
|
|
treeView->setIconSize(QSize(20, 20));
|
||
|
|
treeView->setAnimated(true);
|
||
|
|
|
||
|
|
verticalLayout_2->addWidget(treeView);
|
||
|
|
|
||
|
|
frame_3 = new QFrame(tabBudget);
|
||
|
|
frame_3->setObjectName(QString::fromUtf8("frame_3"));
|
||
|
|
frame_3->setFrameShape(QFrame::StyledPanel);
|
||
|
|
frame_3->setFrameShadow(QFrame::Raised);
|
||
|
|
horizontalLayout = new QHBoxLayout(frame_3);
|
||
|
|
horizontalLayout->setSpacing(10);
|
||
|
|
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||
|
|
label = new QLabel(frame_3);
|
||
|
|
label->setObjectName(QString::fromUtf8("label"));
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(label);
|
||
|
|
|
||
|
|
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||
|
|
|
||
|
|
horizontalLayout->addItem(horizontalSpacer);
|
||
|
|
|
||
|
|
label_2 = new QLabel(frame_3);
|
||
|
|
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(label_2);
|
||
|
|
|
||
|
|
editCost = new QLineEdit(frame_3);
|
||
|
|
editCost->setObjectName(QString::fromUtf8("editCost"));
|
||
|
|
sizePolicy.setHeightForWidth(editCost->sizePolicy().hasHeightForWidth());
|
||
|
|
editCost->setSizePolicy(sizePolicy);
|
||
|
|
editCost->setMinimumSize(QSize(100, 0));
|
||
|
|
editCost->setReadOnly(true);
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(editCost);
|
||
|
|
|
||
|
|
label_3 = new QLabel(frame_3);
|
||
|
|
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(label_3);
|
||
|
|
|
||
|
|
editPrice = new QLineEdit(frame_3);
|
||
|
|
editPrice->setObjectName(QString::fromUtf8("editPrice"));
|
||
|
|
sizePolicy.setHeightForWidth(editPrice->sizePolicy().hasHeightForWidth());
|
||
|
|
editPrice->setSizePolicy(sizePolicy);
|
||
|
|
editPrice->setMinimumSize(QSize(100, 0));
|
||
|
|
editPrice->setReadOnly(true);
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(editPrice);
|
||
|
|
|
||
|
|
label_4 = new QLabel(frame_3);
|
||
|
|
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(label_4);
|
||
|
|
|
||
|
|
editProfit = new QLineEdit(frame_3);
|
||
|
|
editProfit->setObjectName(QString::fromUtf8("editProfit"));
|
||
|
|
sizePolicy.setHeightForWidth(editProfit->sizePolicy().hasHeightForWidth());
|
||
|
|
editProfit->setSizePolicy(sizePolicy);
|
||
|
|
editProfit->setMinimumSize(QSize(100, 0));
|
||
|
|
editProfit->setReadOnly(true);
|
||
|
|
|
||
|
|
horizontalLayout->addWidget(editProfit);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout_2->addWidget(frame_3);
|
||
|
|
|
||
|
|
tabWidget->addTab(tabBudget, QString());
|
||
|
|
tabSumary = new QWidget();
|
||
|
|
tabSumary->setObjectName(QString::fromUtf8("tabSumary"));
|
||
|
|
widget_3 = new QWidget(tabSumary);
|
||
|
|
widget_3->setObjectName(QString::fromUtf8("widget_3"));
|
||
|
|
widget_3->setGeometry(QRect(10, 10, 451, 131));
|
||
|
|
gridLayout_3 = new QGridLayout(widget_3);
|
||
|
|
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||
|
|
gridLayout_3->setHorizontalSpacing(0);
|
||
|
|
gridLayout_3->setVerticalSpacing(5);
|
||
|
|
gridLayout_3->setContentsMargins(2, 2, 2, 2);
|
||
|
|
lineEdit_13 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_13->setObjectName(QString::fromUtf8("lineEdit_13"));
|
||
|
|
lineEdit_13->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_13, 3, 3, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_16 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_16->setObjectName(QString::fromUtf8("lineEdit_16"));
|
||
|
|
lineEdit_16->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_16, 5, 3, 1, 1);
|
||
|
|
|
||
|
|
label_19 = new QLabel(widget_3);
|
||
|
|
label_19->setObjectName(QString::fromUtf8("label_19"));
|
||
|
|
label_19->setMinimumSize(QSize(80, 25));
|
||
|
|
label_19->setStyleSheet(QString::fromUtf8("background-color: rgb(191, 191, 191);"));
|
||
|
|
label_19->setAlignment(Qt::AlignCenter);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_19, 0, 3, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_6 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_6->setObjectName(QString::fromUtf8("lineEdit_6"));
|
||
|
|
lineEdit_6->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_6, 1, 2, 1, 1);
|
||
|
|
|
||
|
|
label_17 = new QLabel(widget_3);
|
||
|
|
label_17->setObjectName(QString::fromUtf8("label_17"));
|
||
|
|
label_17->setMinimumSize(QSize(80, 25));
|
||
|
|
label_17->setStyleSheet(QString::fromUtf8("background-color: rgb(191, 191, 191);"));
|
||
|
|
label_17->setAlignment(Qt::AlignCenter);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_17, 0, 1, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_10 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_10->setObjectName(QString::fromUtf8("lineEdit_10"));
|
||
|
|
lineEdit_10->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_10, 1, 3, 1, 1);
|
||
|
|
|
||
|
|
label_20 = new QLabel(widget_3);
|
||
|
|
label_20->setObjectName(QString::fromUtf8("label_20"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_20, 1, 0, 1, 1);
|
||
|
|
|
||
|
|
label_22 = new QLabel(widget_3);
|
||
|
|
label_22->setObjectName(QString::fromUtf8("label_22"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_22, 5, 0, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_12 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_12->setObjectName(QString::fromUtf8("lineEdit_12"));
|
||
|
|
lineEdit_12->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_12, 3, 2, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_15 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_15->setObjectName(QString::fromUtf8("lineEdit_15"));
|
||
|
|
lineEdit_15->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_15, 5, 2, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_11 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_11->setObjectName(QString::fromUtf8("lineEdit_11"));
|
||
|
|
lineEdit_11->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_11, 3, 1, 1, 1);
|
||
|
|
|
||
|
|
label_18 = new QLabel(widget_3);
|
||
|
|
label_18->setObjectName(QString::fromUtf8("label_18"));
|
||
|
|
label_18->setMinimumSize(QSize(80, 25));
|
||
|
|
label_18->setStyleSheet(QString::fromUtf8("background-color: rgb(191, 191, 191);"));
|
||
|
|
label_18->setAlignment(Qt::AlignCenter);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_18, 0, 2, 1, 1);
|
||
|
|
|
||
|
|
label_16 = new QLabel(widget_3);
|
||
|
|
label_16->setObjectName(QString::fromUtf8("label_16"));
|
||
|
|
label_16->setMinimumSize(QSize(80, 25));
|
||
|
|
label_16->setStyleSheet(QString::fromUtf8("background-color: rgb(191, 191, 191);"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_16, 0, 0, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_5 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_5->setObjectName(QString::fromUtf8("lineEdit_5"));
|
||
|
|
lineEdit_5->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_5, 1, 1, 1, 1);
|
||
|
|
|
||
|
|
label_21 = new QLabel(widget_3);
|
||
|
|
label_21->setObjectName(QString::fromUtf8("label_21"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(label_21, 3, 0, 1, 1);
|
||
|
|
|
||
|
|
lineEdit_14 = new QLineEdit(widget_3);
|
||
|
|
lineEdit_14->setObjectName(QString::fromUtf8("lineEdit_14"));
|
||
|
|
lineEdit_14->setReadOnly(true);
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(lineEdit_14, 5, 1, 1, 1);
|
||
|
|
|
||
|
|
separatorLine = new QLabel(widget_3);
|
||
|
|
separatorLine->setObjectName(QString::fromUtf8("separatorLine"));
|
||
|
|
separatorLine->setMinimumSize(QSize(0, 1));
|
||
|
|
separatorLine->setMaximumSize(QSize(16777215, 1));
|
||
|
|
separatorLine->setStyleSheet(QString::fromUtf8("border: 1px solid rgba(0, 0, 0, 0.05);"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(separatorLine, 2, 0, 1, 4);
|
||
|
|
|
||
|
|
separatorLine_2 = new QLabel(widget_3);
|
||
|
|
separatorLine_2->setObjectName(QString::fromUtf8("separatorLine_2"));
|
||
|
|
separatorLine_2->setMinimumSize(QSize(0, 1));
|
||
|
|
separatorLine_2->setMaximumSize(QSize(16777215, 1));
|
||
|
|
separatorLine_2->setStyleSheet(QString::fromUtf8("border: 1px solid rgba(0, 0, 0, 0.05);"));
|
||
|
|
|
||
|
|
gridLayout_3->addWidget(separatorLine_2, 4, 0, 1, 4);
|
||
|
|
|
||
|
|
tabWidget->addTab(tabSumary, QString());
|
||
|
|
tabContacts = new QWidget();
|
||
|
|
tabContacts->setObjectName(QString::fromUtf8("tabContacts"));
|
||
|
|
tabWidget->addTab(tabContacts, QString());
|
||
|
|
tabNotes = new QWidget();
|
||
|
|
tabNotes->setObjectName(QString::fromUtf8("tabNotes"));
|
||
|
|
verticalLayout_3 = new QVBoxLayout(tabNotes);
|
||
|
|
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
||
|
|
scrollArea = new QScrollArea(tabNotes);
|
||
|
|
scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
|
||
|
|
scrollArea->setWidgetResizable(true);
|
||
|
|
scrollAreaWidgetContents = new QWidget();
|
||
|
|
scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
|
||
|
|
scrollAreaWidgetContents->setGeometry(QRect(0, 0, 1019, 430));
|
||
|
|
verticalLayout_6 = new QVBoxLayout(scrollAreaWidgetContents);
|
||
|
|
verticalLayout_6->setSpacing(10);
|
||
|
|
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
|
||
|
|
verticalLayout_6->setContentsMargins(0, 0, 0, 10);
|
||
|
|
frameTable = new QFrame(scrollAreaWidgetContents);
|
||
|
|
frameTable->setObjectName(QString::fromUtf8("frameTable"));
|
||
|
|
sizePolicy1.setHeightForWidth(frameTable->sizePolicy().hasHeightForWidth());
|
||
|
|
frameTable->setSizePolicy(sizePolicy1);
|
||
|
|
frameTable->setMinimumSize(QSize(0, 200));
|
||
|
|
frameTable->setFrameShape(QFrame::StyledPanel);
|
||
|
|
frameTable->setFrameShadow(QFrame::Raised);
|
||
|
|
verticalLayout_4 = new QVBoxLayout(frameTable);
|
||
|
|
verticalLayout_4->setSpacing(5);
|
||
|
|
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
||
|
|
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
|
||
|
|
Title = new QLabel(frameTable);
|
||
|
|
Title->setObjectName(QString::fromUtf8("Title"));
|
||
|
|
Title->setMinimumSize(QSize(0, 20));
|
||
|
|
Title->setMaximumSize(QSize(16777215, 20));
|
||
|
|
Title->setStyleSheet(QString::fromUtf8("background-color: rgb(124, 124, 124);\n"
|
||
|
|
"color: rgb(255, 255, 255);"));
|
||
|
|
|
||
|
|
verticalLayout_4->addWidget(Title);
|
||
|
|
|
||
|
|
Content = new QWidget(frameTable);
|
||
|
|
Content->setObjectName(QString::fromUtf8("Content"));
|
||
|
|
verticalLayout_7 = new QVBoxLayout(Content);
|
||
|
|
verticalLayout_7->setSpacing(0);
|
||
|
|
verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
|
||
|
|
verticalLayout_7->setContentsMargins(0, 0, 0, 0);
|
||
|
|
textNotePrivate = new QWidget(Content);
|
||
|
|
textNotePrivate->setObjectName(QString::fromUtf8("textNotePrivate"));
|
||
|
|
|
||
|
|
verticalLayout_7->addWidget(textNotePrivate);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout_4->addWidget(Content);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout_6->addWidget(frameTable);
|
||
|
|
|
||
|
|
frameTable_2 = new QFrame(scrollAreaWidgetContents);
|
||
|
|
frameTable_2->setObjectName(QString::fromUtf8("frameTable_2"));
|
||
|
|
sizePolicy1.setHeightForWidth(frameTable_2->sizePolicy().hasHeightForWidth());
|
||
|
|
frameTable_2->setSizePolicy(sizePolicy1);
|
||
|
|
frameTable_2->setMinimumSize(QSize(0, 200));
|
||
|
|
frameTable_2->setFrameShape(QFrame::StyledPanel);
|
||
|
|
frameTable_2->setFrameShadow(QFrame::Raised);
|
||
|
|
verticalLayout_5 = new QVBoxLayout(frameTable_2);
|
||
|
|
verticalLayout_5->setSpacing(5);
|
||
|
|
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
|
||
|
|
verticalLayout_5->setContentsMargins(0, 0, 0, 0);
|
||
|
|
Title_2 = new QLabel(frameTable_2);
|
||
|
|
Title_2->setObjectName(QString::fromUtf8("Title_2"));
|
||
|
|
Title_2->setMinimumSize(QSize(0, 20));
|
||
|
|
Title_2->setMaximumSize(QSize(16777215, 20));
|
||
|
|
Title_2->setStyleSheet(QString::fromUtf8("background-color: rgb(124, 124, 124);\n"
|
||
|
|
"color: rgb(255, 255, 255);"));
|
||
|
|
|
||
|
|
verticalLayout_5->addWidget(Title_2);
|
||
|
|
|
||
|
|
Content_2 = new QWidget(frameTable_2);
|
||
|
|
Content_2->setObjectName(QString::fromUtf8("Content_2"));
|
||
|
|
verticalLayout_8 = new QVBoxLayout(Content_2);
|
||
|
|
verticalLayout_8->setSpacing(0);
|
||
|
|
verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
|
||
|
|
verticalLayout_8->setContentsMargins(0, 0, 0, 0);
|
||
|
|
textNotePublic = new QWidget(Content_2);
|
||
|
|
textNotePublic->setObjectName(QString::fromUtf8("textNotePublic"));
|
||
|
|
|
||
|
|
verticalLayout_8->addWidget(textNotePublic);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout_5->addWidget(Content_2);
|
||
|
|
|
||
|
|
|
||
|
|
verticalLayout_6->addWidget(frameTable_2);
|
||
|
|
|
||
|
|
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||
|
|
|
||
|
|
verticalLayout_6->addItem(verticalSpacer);
|
||
|
|
|
||
|
|
scrollArea->setWidget(scrollAreaWidgetContents);
|
||
|
|
|
||
|
|
verticalLayout_3->addWidget(scrollArea);
|
||
|
|
|
||
|
|
tabWidget->addTab(tabNotes, QString());
|
||
|
|
|
||
|
|
verticalLayout->addWidget(tabWidget);
|
||
|
|
|
||
|
|
|
||
|
|
retranslateUi(formBudget);
|
||
|
|
|
||
|
|
tabWidget->setCurrentIndex(1);
|
||
|
|
|
||
|
|
|
||
|
|
QMetaObject::connectSlotsByName(formBudget);
|
||
|
|
} // setupUi
|
||
|
|
|
||
|
|
void retranslateUi(QWidget *formBudget)
|
||
|
|
{
|
||
|
|
formBudget->setWindowTitle(QCoreApplication::translate("formBudget", "Form", nullptr));
|
||
|
|
buttonValidate->setText(QCoreApplication::translate("formBudget", "Validar", nullptr));
|
||
|
|
buttonSave->setText(QCoreApplication::translate("formBudget", "Guardar", nullptr));
|
||
|
|
buttonInsertChild->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
buttonInsertRow->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
buttonMaterials->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
buttoMachinary->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
buttonPercent->setText(QString());
|
||
|
|
toolButton_4->setText(QString());
|
||
|
|
buttonRemoveRow->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
toolButton_10->setText(QCoreApplication::translate("formBudget", "...", nullptr));
|
||
|
|
label_8->setText(QCoreApplication::translate("formBudget", "Nombre", nullptr));
|
||
|
|
label_23->setText(QCoreApplication::translate("formBudget", "Estado", nullptr));
|
||
|
|
comboState->setItemText(0, QCoreApplication::translate("formBudget", "Borrador", nullptr));
|
||
|
|
comboState->setItemText(1, QCoreApplication::translate("formBudget", "Enviado", nullptr));
|
||
|
|
comboState->setItemText(2, QCoreApplication::translate("formBudget", "En revisi\303\263n", nullptr));
|
||
|
|
comboState->setItemText(3, QCoreApplication::translate("formBudget", "Aprobado", nullptr));
|
||
|
|
comboState->setItemText(4, QCoreApplication::translate("formBudget", "Rechazado", nullptr));
|
||
|
|
|
||
|
|
label_9->setText(QCoreApplication::translate("formBudget", "Proyecto", nullptr));
|
||
|
|
label_7->setText(QCoreApplication::translate("formBudget", "Cliente", nullptr));
|
||
|
|
label_10->setText(QCoreApplication::translate("formBudget", "Nombre", nullptr));
|
||
|
|
label_5->setText(QCoreApplication::translate("formBudget", "C\303\263digo", nullptr));
|
||
|
|
label_6->setText(QCoreApplication::translate("formBudget", "T\303\255tulo", nullptr));
|
||
|
|
label_24->setText(QCoreApplication::translate("formBudget", "Versi\303\263n", nullptr));
|
||
|
|
editVersion->setItemText(0, QCoreApplication::translate("formBudget", "0", nullptr));
|
||
|
|
|
||
|
|
pushButton->setText(QString());
|
||
|
|
pushButton_2->setText(QString());
|
||
|
|
label_15->setText(QCoreApplication::translate("formBudget", "Tipo de Pago", nullptr));
|
||
|
|
label_14->setText(QCoreApplication::translate("formBudget", "Condificiones de pago", nullptr));
|
||
|
|
label_25->setText(QCoreApplication::translate("formBudget", "Fecha de modificaci\303\263n", nullptr));
|
||
|
|
label_11->setText(QCoreApplication::translate("formBudget", "Fecha", nullptr));
|
||
|
|
editdateCreated->setDisplayFormat(QCoreApplication::translate("formBudget", "dd/MM/yyyy", nullptr));
|
||
|
|
editdateUpdate->setDisplayFormat(QCoreApplication::translate("formBudget", "dd/MM/yyyy", nullptr));
|
||
|
|
editdateValidUntill->setDisplayFormat(QCoreApplication::translate("formBudget", "dd/MM/yyyy", nullptr));
|
||
|
|
editdateValidUntill_2->setDisplayFormat(QCoreApplication::translate("formBudget", "dd/MM/yyyy", nullptr));
|
||
|
|
label_12->setText(QCoreApplication::translate("formBudget", "Fecha fin de validez", nullptr));
|
||
|
|
edit->setText(QCoreApplication::translate("formBudget", "Fecha de env\303\255o", nullptr));
|
||
|
|
tabWidget->setTabText(tabWidget->indexOf(tabFile), QCoreApplication::translate("formBudget", "Ficha", nullptr));
|
||
|
|
label->setText(QCoreApplication::translate("formBudget", "Totales", nullptr));
|
||
|
|
label_2->setText(QCoreApplication::translate("formBudget", "Coste", nullptr));
|
||
|
|
label_3->setText(QCoreApplication::translate("formBudget", "Previo venta", nullptr));
|
||
|
|
label_4->setText(QCoreApplication::translate("formBudget", "Margen", nullptr));
|
||
|
|
tabWidget->setTabText(tabWidget->indexOf(tabBudget), QCoreApplication::translate("formBudget", "Presupuesto", nullptr));
|
||
|
|
label_19->setText(QCoreApplication::translate("formBudget", "Margen", nullptr));
|
||
|
|
label_17->setText(QCoreApplication::translate("formBudget", "Precio de venta", nullptr));
|
||
|
|
label_20->setText(QCoreApplication::translate("formBudget", "Productos", nullptr));
|
||
|
|
label_22->setText(QCoreApplication::translate("formBudget", "Total", nullptr));
|
||
|
|
label_18->setText(QCoreApplication::translate("formBudget", "Precio de Compra", nullptr));
|
||
|
|
label_16->setText(QCoreApplication::translate("formBudget", " Descripci\303\263n", nullptr));
|
||
|
|
label_21->setText(QCoreApplication::translate("formBudget", "Servicios", nullptr));
|
||
|
|
separatorLine->setText(QString());
|
||
|
|
separatorLine_2->setText(QString());
|
||
|
|
tabWidget->setTabText(tabWidget->indexOf(tabSumary), QCoreApplication::translate("formBudget", "Resumen", nullptr));
|
||
|
|
tabWidget->setTabText(tabWidget->indexOf(tabContacts), QCoreApplication::translate("formBudget", "Contactos", nullptr));
|
||
|
|
Title->setText(QCoreApplication::translate("formBudget", "Nota Privada", nullptr));
|
||
|
|
Title_2->setText(QCoreApplication::translate("formBudget", "Nota P\303\272blica", nullptr));
|
||
|
|
tabWidget->setTabText(tabWidget->indexOf(tabNotes), QCoreApplication::translate("formBudget", "Notas", nullptr));
|
||
|
|
} // retranslateUi
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class formBudget: public Ui_formBudget {};
|
||
|
|
} // namespace Ui
|
||
|
|
|
||
|
|
QT_END_NAMESPACE
|
||
|
|
|
||
|
|
#endif // UI_FORMBUDGET_H
|