Organize source files into src subdirectories (gui/forms, gui/widgets, models, utils); replace magic numbers with ElementType enumeration in formproduct.cpp and formbudget.cpp (TODO completed); move mainwindow and related files to src/gui/
This commit is contained in:
@@ -0,0 +1,960 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'formproduct.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_FORMPRODUCT_H
|
||||
#define UI_FORMPRODUCT_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QDateEdit>
|
||||
#include <QtWidgets/QDoubleSpinBox>
|
||||
#include <QtWidgets/QFrame>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QScrollArea>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QTabWidget>
|
||||
#include <QtWidgets/QTableView>
|
||||
#include <QtWidgets/QTextEdit>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include "avatarwidget.h"
|
||||
#include "qmtreeview.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_formProduct
|
||||
{
|
||||
public:
|
||||
QAction *actionValidate;
|
||||
QAction *actionSave;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QFrame *MainToolBar;
|
||||
QHBoxLayout *horizontalLayout_6;
|
||||
QToolButton *buttonSave;
|
||||
QToolButton *toolButton_9;
|
||||
QSpacerItem *horizontalSpacer_5;
|
||||
QToolButton *toolButton_10;
|
||||
QFrame *frameInfo;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QFrame *frame_2;
|
||||
QHBoxLayout *horizontalLayout_7;
|
||||
AvatarWidget *Logo;
|
||||
QWidget *widget;
|
||||
QGridLayout *gridLayout;
|
||||
QLabel *label_5;
|
||||
QComboBox *comboSell;
|
||||
QComboBox *comboBuy;
|
||||
QLabel *label_9;
|
||||
QLabel *label_7;
|
||||
QLineEdit *editCode;
|
||||
QLabel *label_6;
|
||||
QLineEdit *editTitle;
|
||||
QLabel *label_29;
|
||||
QComboBox *comboUnit;
|
||||
QCheckBox *checkState;
|
||||
QLabel *label_25;
|
||||
QComboBox *comboType2;
|
||||
QComboBox *comboType1;
|
||||
QTabWidget *tabWidget;
|
||||
QWidget *tabFile;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QScrollArea *scrollArea;
|
||||
QWidget *scrollAreaWidgetContents_4;
|
||||
QGridLayout *gridLayout_5;
|
||||
QWidget *widget_4;
|
||||
QHBoxLayout *horizontalLayout_5;
|
||||
QLabel *label_14;
|
||||
QDateEdit *editDischargeDate;
|
||||
QLabel *label_23;
|
||||
QDateEdit *editUpdateDate;
|
||||
QGroupBox *groupBox_4;
|
||||
QGridLayout *gridLayout_3;
|
||||
QLabel *label_18;
|
||||
QLabel *label_28;
|
||||
QLabel *label_16;
|
||||
QDoubleSpinBox *editPV;
|
||||
QLabel *label;
|
||||
QLabel *label_19;
|
||||
QDoubleSpinBox *editMargin;
|
||||
QLabel *label_13;
|
||||
QDoubleSpinBox *editPC;
|
||||
QComboBox *comboIVA;
|
||||
QLabel *label_17;
|
||||
QDoubleSpinBox *editDiscount;
|
||||
QDoubleSpinBox *editPVP;
|
||||
QDoubleSpinBox *editPVIVA;
|
||||
QLabel *label_15;
|
||||
QLabel *label_27;
|
||||
QGroupBox *groupBox_6;
|
||||
QGridLayout *gridLayout_4;
|
||||
QLabel *label_20;
|
||||
QDoubleSpinBox *editWidth;
|
||||
QLabel *label_22;
|
||||
QDoubleSpinBox *editWeight;
|
||||
QDoubleSpinBox *editHeight;
|
||||
QDoubleSpinBox *editLength;
|
||||
QLabel *label_21;
|
||||
QLabel *label_24;
|
||||
QSpacerItem *horizontalSpacer_3;
|
||||
QGroupBox *groupBox_5;
|
||||
QHBoxLayout *horizontalLayout_4;
|
||||
QTextEdit *editDescription;
|
||||
QSpacerItem *verticalSpacer_2;
|
||||
QWidget *tabAccount;
|
||||
QVBoxLayout *verticalLayout_4;
|
||||
QWidget *widget_2;
|
||||
QGridLayout *gridLayout_2;
|
||||
QLineEdit *lineEdit_7;
|
||||
QLabel *label_4;
|
||||
QLabel *label_2;
|
||||
QLineEdit *lineEdit_8;
|
||||
QLabel *label_10;
|
||||
QLabel *label_12;
|
||||
QLineEdit *lineEdit_5;
|
||||
QSpacerItem *horizontalSpacer_2;
|
||||
QLineEdit *lineEdit_4;
|
||||
QLabel *label_3;
|
||||
QLineEdit *lineEdit_6;
|
||||
QLabel *label_11;
|
||||
QLineEdit *lineEdit_3;
|
||||
QSpacerItem *horizontalSpacer_4;
|
||||
QSpacerItem *horizontalSpacer_6;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QWidget *tabCompose;
|
||||
QVBoxLayout *verticalLayout_3;
|
||||
QWidget *widgetContener;
|
||||
QVBoxLayout *verticalLayout_5;
|
||||
QFrame *frame;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QToolButton *toolButton;
|
||||
QToolButton *toolButton_2;
|
||||
QToolButton *toolButton_3;
|
||||
QToolButton *toolButton_4;
|
||||
QToolButton *toolButton_6;
|
||||
QToolButton *toolButton_5;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QMTreeView *treeView;
|
||||
QWidget *tabSupplier;
|
||||
QTableView *tableView;
|
||||
QWidget *tabNotes;
|
||||
|
||||
void setupUi(QWidget *formProduct)
|
||||
{
|
||||
if (formProduct->objectName().isEmpty())
|
||||
formProduct->setObjectName(QString::fromUtf8("formProduct"));
|
||||
formProduct->resize(927, 617);
|
||||
actionValidate = new QAction(formProduct);
|
||||
actionValidate->setObjectName(QString::fromUtf8("actionValidate"));
|
||||
actionSave = new QAction(formProduct);
|
||||
actionSave->setObjectName(QString::fromUtf8("actionSave"));
|
||||
verticalLayout = new QVBoxLayout(formProduct);
|
||||
verticalLayout->setSpacing(5);
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
||||
MainToolBar = new QFrame(formProduct);
|
||||
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);
|
||||
buttonSave = new QToolButton(MainToolBar);
|
||||
buttonSave->setObjectName(QString::fromUtf8("buttonSave"));
|
||||
|
||||
horizontalLayout_6->addWidget(buttonSave);
|
||||
|
||||
toolButton_9 = new QToolButton(MainToolBar);
|
||||
toolButton_9->setObjectName(QString::fromUtf8("toolButton_9"));
|
||||
|
||||
horizontalLayout_6->addWidget(toolButton_9);
|
||||
|
||||
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(formProduct);
|
||||
frameInfo->setObjectName(QString::fromUtf8("frameInfo"));
|
||||
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(frameInfo->sizePolicy().hasHeightForWidth());
|
||||
frameInfo->setSizePolicy(sizePolicy);
|
||||
frameInfo->setMinimumSize(QSize(650, 0));
|
||||
frameInfo->setFrameShape(QFrame::StyledPanel);
|
||||
frameInfo->setFrameShadow(QFrame::Raised);
|
||||
horizontalLayout_2 = new QHBoxLayout(frameInfo);
|
||||
horizontalLayout_2->setSpacing(10);
|
||||
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
|
||||
horizontalLayout_2->setContentsMargins(10, 10, 10, 10);
|
||||
frame_2 = new QFrame(frameInfo);
|
||||
frame_2->setObjectName(QString::fromUtf8("frame_2"));
|
||||
QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(frame_2->sizePolicy().hasHeightForWidth());
|
||||
frame_2->setSizePolicy(sizePolicy1);
|
||||
frame_2->setFrameShape(QFrame::StyledPanel);
|
||||
frame_2->setFrameShadow(QFrame::Raised);
|
||||
horizontalLayout_7 = new QHBoxLayout(frame_2);
|
||||
horizontalLayout_7->setSpacing(0);
|
||||
horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
|
||||
horizontalLayout_7->setContentsMargins(1, 1, 1, 1);
|
||||
Logo = new AvatarWidget(frame_2);
|
||||
Logo->setObjectName(QString::fromUtf8("Logo"));
|
||||
sizePolicy1.setHeightForWidth(Logo->sizePolicy().hasHeightForWidth());
|
||||
Logo->setSizePolicy(sizePolicy1);
|
||||
Logo->setMinimumSize(QSize(130, 130));
|
||||
|
||||
horizontalLayout_7->addWidget(Logo);
|
||||
|
||||
|
||||
horizontalLayout_2->addWidget(frame_2);
|
||||
|
||||
widget = new QWidget(frameInfo);
|
||||
widget->setObjectName(QString::fromUtf8("widget"));
|
||||
widget->setMinimumSize(QSize(400, 0));
|
||||
gridLayout = new QGridLayout(widget);
|
||||
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
||||
gridLayout->setHorizontalSpacing(10);
|
||||
gridLayout->setVerticalSpacing(5);
|
||||
gridLayout->setContentsMargins(0, 0, 0, 0);
|
||||
label_5 = new QLabel(widget);
|
||||
label_5->setObjectName(QString::fromUtf8("label_5"));
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
sizePolicy2.setVerticalStretch(0);
|
||||
sizePolicy2.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
||||
label_5->setSizePolicy(sizePolicy2);
|
||||
|
||||
gridLayout->addWidget(label_5, 0, 1, 1, 1);
|
||||
|
||||
comboSell = new QComboBox(widget);
|
||||
comboSell->addItem(QString());
|
||||
comboSell->addItem(QString());
|
||||
comboSell->setObjectName(QString::fromUtf8("comboSell"));
|
||||
sizePolicy1.setHeightForWidth(comboSell->sizePolicy().hasHeightForWidth());
|
||||
comboSell->setSizePolicy(sizePolicy1);
|
||||
comboSell->setMinimumSize(QSize(120, 0));
|
||||
comboSell->setMaximumSize(QSize(120, 16777215));
|
||||
|
||||
gridLayout->addWidget(comboSell, 5, 2, 1, 1);
|
||||
|
||||
comboBuy = new QComboBox(widget);
|
||||
comboBuy->addItem(QString());
|
||||
comboBuy->addItem(QString());
|
||||
comboBuy->setObjectName(QString::fromUtf8("comboBuy"));
|
||||
sizePolicy1.setHeightForWidth(comboBuy->sizePolicy().hasHeightForWidth());
|
||||
comboBuy->setSizePolicy(sizePolicy1);
|
||||
comboBuy->setMinimumSize(QSize(120, 0));
|
||||
comboBuy->setMaximumSize(QSize(120, 16777215));
|
||||
|
||||
gridLayout->addWidget(comboBuy, 6, 2, 1, 1);
|
||||
|
||||
label_9 = new QLabel(widget);
|
||||
label_9->setObjectName(QString::fromUtf8("label_9"));
|
||||
sizePolicy2.setHeightForWidth(label_9->sizePolicy().hasHeightForWidth());
|
||||
label_9->setSizePolicy(sizePolicy2);
|
||||
|
||||
gridLayout->addWidget(label_9, 6, 1, 1, 1);
|
||||
|
||||
label_7 = new QLabel(widget);
|
||||
label_7->setObjectName(QString::fromUtf8("label_7"));
|
||||
sizePolicy2.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
|
||||
label_7->setSizePolicy(sizePolicy2);
|
||||
|
||||
gridLayout->addWidget(label_7, 5, 1, 1, 1);
|
||||
|
||||
editCode = new QLineEdit(widget);
|
||||
editCode->setObjectName(QString::fromUtf8("editCode"));
|
||||
sizePolicy1.setHeightForWidth(editCode->sizePolicy().hasHeightForWidth());
|
||||
editCode->setSizePolicy(sizePolicy1);
|
||||
editCode->setMinimumSize(QSize(120, 0));
|
||||
editCode->setMaximumSize(QSize(120, 16777215));
|
||||
editCode->setMaxLength(20);
|
||||
editCode->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
|
||||
|
||||
gridLayout->addWidget(editCode, 0, 2, 1, 1);
|
||||
|
||||
label_6 = new QLabel(widget);
|
||||
label_6->setObjectName(QString::fromUtf8("label_6"));
|
||||
sizePolicy2.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
|
||||
label_6->setSizePolicy(sizePolicy2);
|
||||
|
||||
gridLayout->addWidget(label_6, 1, 1, 1, 1);
|
||||
|
||||
editTitle = new QLineEdit(widget);
|
||||
editTitle->setObjectName(QString::fromUtf8("editTitle"));
|
||||
editTitle->setMaxLength(128);
|
||||
|
||||
gridLayout->addWidget(editTitle, 1, 2, 1, 4);
|
||||
|
||||
label_29 = new QLabel(widget);
|
||||
label_29->setObjectName(QString::fromUtf8("label_29"));
|
||||
|
||||
gridLayout->addWidget(label_29, 5, 3, 1, 1);
|
||||
|
||||
comboUnit = new QComboBox(widget);
|
||||
comboUnit->setObjectName(QString::fromUtf8("comboUnit"));
|
||||
|
||||
gridLayout->addWidget(comboUnit, 5, 4, 1, 1);
|
||||
|
||||
checkState = new QCheckBox(widget);
|
||||
checkState->setObjectName(QString::fromUtf8("checkState"));
|
||||
checkState->setChecked(true);
|
||||
|
||||
gridLayout->addWidget(checkState, 5, 5, 1, 1);
|
||||
|
||||
label_25 = new QLabel(widget);
|
||||
label_25->setObjectName(QString::fromUtf8("label_25"));
|
||||
|
||||
gridLayout->addWidget(label_25, 0, 3, 1, 1);
|
||||
|
||||
comboType2 = new QComboBox(widget);
|
||||
comboType2->addItem(QString());
|
||||
comboType2->addItem(QString());
|
||||
comboType2->setObjectName(QString::fromUtf8("comboType2"));
|
||||
sizePolicy1.setHeightForWidth(comboType2->sizePolicy().hasHeightForWidth());
|
||||
comboType2->setSizePolicy(sizePolicy1);
|
||||
comboType2->setMinimumSize(QSize(120, 0));
|
||||
|
||||
gridLayout->addWidget(comboType2, 0, 4, 1, 1);
|
||||
|
||||
comboType1 = new QComboBox(widget);
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/resources/icons/box.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
comboType1->addItem(icon, QString());
|
||||
QIcon icon1;
|
||||
icon1.addFile(QString::fromUtf8(":/resources/icons/blocks.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
comboType1->addItem(icon1, QString());
|
||||
QIcon icon2;
|
||||
icon2.addFile(QString::fromUtf8(":/resources/icons/helmet.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
comboType1->addItem(icon2, QString());
|
||||
QIcon icon3;
|
||||
icon3.addFile(QString::fromUtf8(":/resources/icons/gear.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
comboType1->addItem(icon3, QString());
|
||||
comboType1->addItem(QString());
|
||||
comboType1->addItem(QString());
|
||||
comboType1->setObjectName(QString::fromUtf8("comboType1"));
|
||||
sizePolicy1.setHeightForWidth(comboType1->sizePolicy().hasHeightForWidth());
|
||||
comboType1->setSizePolicy(sizePolicy1);
|
||||
comboType1->setMinimumSize(QSize(120, 0));
|
||||
|
||||
gridLayout->addWidget(comboType1, 0, 5, 1, 1);
|
||||
|
||||
|
||||
horizontalLayout_2->addWidget(widget, 0, Qt::AlignLeft|Qt::AlignTop);
|
||||
|
||||
|
||||
verticalLayout->addWidget(frameInfo);
|
||||
|
||||
tabWidget = new QTabWidget(formProduct);
|
||||
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
|
||||
tabFile = new QWidget();
|
||||
tabFile->setObjectName(QString::fromUtf8("tabFile"));
|
||||
verticalLayout_2 = new QVBoxLayout(tabFile);
|
||||
verticalLayout_2->setSpacing(0);
|
||||
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
||||
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
|
||||
scrollArea = new QScrollArea(tabFile);
|
||||
scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
|
||||
scrollArea->setWidgetResizable(true);
|
||||
scrollAreaWidgetContents_4 = new QWidget();
|
||||
scrollAreaWidgetContents_4->setObjectName(QString::fromUtf8("scrollAreaWidgetContents_4"));
|
||||
scrollAreaWidgetContents_4->setGeometry(QRect(0, 0, 921, 554));
|
||||
gridLayout_5 = new QGridLayout(scrollAreaWidgetContents_4);
|
||||
gridLayout_5->setSpacing(10);
|
||||
gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
|
||||
gridLayout_5->setContentsMargins(10, 10, 10, 0);
|
||||
widget_4 = new QWidget(scrollAreaWidgetContents_4);
|
||||
widget_4->setObjectName(QString::fromUtf8("widget_4"));
|
||||
horizontalLayout_5 = new QHBoxLayout(widget_4);
|
||||
horizontalLayout_5->setSpacing(10);
|
||||
horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
|
||||
horizontalLayout_5->setContentsMargins(0, 0, 0, 0);
|
||||
label_14 = new QLabel(widget_4);
|
||||
label_14->setObjectName(QString::fromUtf8("label_14"));
|
||||
|
||||
horizontalLayout_5->addWidget(label_14);
|
||||
|
||||
editDischargeDate = new QDateEdit(widget_4);
|
||||
editDischargeDate->setObjectName(QString::fromUtf8("editDischargeDate"));
|
||||
editDischargeDate->setMinimumSize(QSize(120, 0));
|
||||
editDischargeDate->setAlignment(Qt::AlignCenter);
|
||||
editDischargeDate->setCalendarPopup(true);
|
||||
|
||||
horizontalLayout_5->addWidget(editDischargeDate);
|
||||
|
||||
label_23 = new QLabel(widget_4);
|
||||
label_23->setObjectName(QString::fromUtf8("label_23"));
|
||||
|
||||
horizontalLayout_5->addWidget(label_23);
|
||||
|
||||
editUpdateDate = new QDateEdit(widget_4);
|
||||
editUpdateDate->setObjectName(QString::fromUtf8("editUpdateDate"));
|
||||
editUpdateDate->setMinimumSize(QSize(120, 0));
|
||||
editUpdateDate->setAlignment(Qt::AlignCenter);
|
||||
editUpdateDate->setReadOnly(true);
|
||||
editUpdateDate->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
|
||||
horizontalLayout_5->addWidget(editUpdateDate);
|
||||
|
||||
|
||||
gridLayout_5->addWidget(widget_4, 0, 0, 1, 2);
|
||||
|
||||
groupBox_4 = new QGroupBox(scrollAreaWidgetContents_4);
|
||||
groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
|
||||
gridLayout_3 = new QGridLayout(groupBox_4);
|
||||
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
|
||||
gridLayout_3->setHorizontalSpacing(10);
|
||||
label_18 = new QLabel(groupBox_4);
|
||||
label_18->setObjectName(QString::fromUtf8("label_18"));
|
||||
|
||||
gridLayout_3->addWidget(label_18, 7, 0, 1, 1);
|
||||
|
||||
label_28 = new QLabel(groupBox_4);
|
||||
label_28->setObjectName(QString::fromUtf8("label_28"));
|
||||
|
||||
gridLayout_3->addWidget(label_28, 1, 0, 1, 1);
|
||||
|
||||
label_16 = new QLabel(groupBox_4);
|
||||
label_16->setObjectName(QString::fromUtf8("label_16"));
|
||||
|
||||
gridLayout_3->addWidget(label_16, 5, 0, 1, 1);
|
||||
|
||||
editPV = new QDoubleSpinBox(groupBox_4);
|
||||
editPV->setObjectName(QString::fromUtf8("editPV"));
|
||||
sizePolicy1.setHeightForWidth(editPV->sizePolicy().hasHeightForWidth());
|
||||
editPV->setSizePolicy(sizePolicy1);
|
||||
editPV->setMinimumSize(QSize(120, 0));
|
||||
editPV->setWrapping(true);
|
||||
editPV->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editPV->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editPV->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editPV, 6, 1, 1, 1);
|
||||
|
||||
label = new QLabel(groupBox_4);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
gridLayout_3->addWidget(label, 0, 0, 1, 1);
|
||||
|
||||
label_19 = new QLabel(groupBox_4);
|
||||
label_19->setObjectName(QString::fromUtf8("label_19"));
|
||||
|
||||
gridLayout_3->addWidget(label_19, 9, 0, 1, 1);
|
||||
|
||||
editMargin = new QDoubleSpinBox(groupBox_4);
|
||||
editMargin->setObjectName(QString::fromUtf8("editMargin"));
|
||||
sizePolicy1.setHeightForWidth(editMargin->sizePolicy().hasHeightForWidth());
|
||||
editMargin->setSizePolicy(sizePolicy1);
|
||||
editMargin->setMinimumSize(QSize(120, 0));
|
||||
editMargin->setWrapping(true);
|
||||
editMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editMargin->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editMargin->setMaximum(100.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editMargin, 5, 1, 1, 1);
|
||||
|
||||
label_13 = new QLabel(groupBox_4);
|
||||
label_13->setObjectName(QString::fromUtf8("label_13"));
|
||||
sizePolicy.setHeightForWidth(label_13->sizePolicy().hasHeightForWidth());
|
||||
label_13->setSizePolicy(sizePolicy);
|
||||
label_13->setMinimumSize(QSize(0, 1));
|
||||
label_13->setMaximumSize(QSize(16777215, 1));
|
||||
label_13->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);"));
|
||||
|
||||
gridLayout_3->addWidget(label_13, 8, 0, 1, 2);
|
||||
|
||||
editPC = new QDoubleSpinBox(groupBox_4);
|
||||
editPC->setObjectName(QString::fromUtf8("editPC"));
|
||||
sizePolicy1.setHeightForWidth(editPC->sizePolicy().hasHeightForWidth());
|
||||
editPC->setSizePolicy(sizePolicy1);
|
||||
editPC->setMinimumSize(QSize(120, 0));
|
||||
editPC->setWrapping(true);
|
||||
editPC->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editPC->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editPC->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editPC, 3, 1, 1, 1);
|
||||
|
||||
comboIVA = new QComboBox(groupBox_4);
|
||||
comboIVA->addItem(QString());
|
||||
comboIVA->addItem(QString());
|
||||
comboIVA->addItem(QString());
|
||||
comboIVA->addItem(QString());
|
||||
comboIVA->setObjectName(QString::fromUtf8("comboIVA"));
|
||||
comboIVA->setMinimumSize(QSize(120, 0));
|
||||
|
||||
gridLayout_3->addWidget(comboIVA, 7, 1, 1, 1);
|
||||
|
||||
label_17 = new QLabel(groupBox_4);
|
||||
label_17->setObjectName(QString::fromUtf8("label_17"));
|
||||
|
||||
gridLayout_3->addWidget(label_17, 6, 0, 1, 1);
|
||||
|
||||
editDiscount = new QDoubleSpinBox(groupBox_4);
|
||||
editDiscount->setObjectName(QString::fromUtf8("editDiscount"));
|
||||
editDiscount->setMinimumSize(QSize(120, 0));
|
||||
editDiscount->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editDiscount->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editDiscount->setMaximum(100.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editDiscount, 1, 1, 1, 1);
|
||||
|
||||
editPVP = new QDoubleSpinBox(groupBox_4);
|
||||
editPVP->setObjectName(QString::fromUtf8("editPVP"));
|
||||
editPVP->setMinimumSize(QSize(120, 0));
|
||||
editPVP->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editPVP->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editPVP->setKeyboardTracking(false);
|
||||
editPVP->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editPVP, 0, 1, 1, 1);
|
||||
|
||||
editPVIVA = new QDoubleSpinBox(groupBox_4);
|
||||
editPVIVA->setObjectName(QString::fromUtf8("editPVIVA"));
|
||||
sizePolicy1.setHeightForWidth(editPVIVA->sizePolicy().hasHeightForWidth());
|
||||
editPVIVA->setSizePolicy(sizePolicy1);
|
||||
editPVIVA->setMinimumSize(QSize(120, 0));
|
||||
editPVIVA->setWrapping(true);
|
||||
editPVIVA->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editPVIVA->setReadOnly(true);
|
||||
editPVIVA->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editPVIVA->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_3->addWidget(editPVIVA, 9, 1, 1, 1);
|
||||
|
||||
label_15 = new QLabel(groupBox_4);
|
||||
label_15->setObjectName(QString::fromUtf8("label_15"));
|
||||
|
||||
gridLayout_3->addWidget(label_15, 3, 0, 1, 1);
|
||||
|
||||
label_27 = new QLabel(groupBox_4);
|
||||
label_27->setObjectName(QString::fromUtf8("label_27"));
|
||||
sizePolicy.setHeightForWidth(label_27->sizePolicy().hasHeightForWidth());
|
||||
label_27->setSizePolicy(sizePolicy);
|
||||
label_27->setMaximumSize(QSize(16777215, 1));
|
||||
label_27->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);"));
|
||||
|
||||
gridLayout_3->addWidget(label_27, 2, 0, 1, 2);
|
||||
|
||||
|
||||
gridLayout_5->addWidget(groupBox_4, 1, 0, 1, 1);
|
||||
|
||||
groupBox_6 = new QGroupBox(scrollAreaWidgetContents_4);
|
||||
groupBox_6->setObjectName(QString::fromUtf8("groupBox_6"));
|
||||
gridLayout_4 = new QGridLayout(groupBox_6);
|
||||
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
|
||||
gridLayout_4->setHorizontalSpacing(10);
|
||||
label_20 = new QLabel(groupBox_6);
|
||||
label_20->setObjectName(QString::fromUtf8("label_20"));
|
||||
|
||||
gridLayout_4->addWidget(label_20, 4, 0, 1, 1);
|
||||
|
||||
editWidth = new QDoubleSpinBox(groupBox_6);
|
||||
editWidth->setObjectName(QString::fromUtf8("editWidth"));
|
||||
sizePolicy1.setHeightForWidth(editWidth->sizePolicy().hasHeightForWidth());
|
||||
editWidth->setSizePolicy(sizePolicy1);
|
||||
editWidth->setMinimumSize(QSize(120, 0));
|
||||
editWidth->setWrapping(true);
|
||||
editWidth->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editWidth->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editWidth->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_4->addWidget(editWidth, 0, 1, 1, 1);
|
||||
|
||||
label_22 = new QLabel(groupBox_6);
|
||||
label_22->setObjectName(QString::fromUtf8("label_22"));
|
||||
|
||||
gridLayout_4->addWidget(label_22, 2, 0, 1, 1);
|
||||
|
||||
editWeight = new QDoubleSpinBox(groupBox_6);
|
||||
editWeight->setObjectName(QString::fromUtf8("editWeight"));
|
||||
sizePolicy1.setHeightForWidth(editWeight->sizePolicy().hasHeightForWidth());
|
||||
editWeight->setSizePolicy(sizePolicy1);
|
||||
editWeight->setMinimumSize(QSize(120, 0));
|
||||
editWeight->setWrapping(true);
|
||||
editWeight->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editWeight->setReadOnly(true);
|
||||
editWeight->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editWeight->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_4->addWidget(editWeight, 4, 1, 1, 1);
|
||||
|
||||
editHeight = new QDoubleSpinBox(groupBox_6);
|
||||
editHeight->setObjectName(QString::fromUtf8("editHeight"));
|
||||
sizePolicy1.setHeightForWidth(editHeight->sizePolicy().hasHeightForWidth());
|
||||
editHeight->setSizePolicy(sizePolicy1);
|
||||
editHeight->setMinimumSize(QSize(120, 0));
|
||||
editHeight->setWrapping(true);
|
||||
editHeight->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editHeight->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editHeight->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_4->addWidget(editHeight, 2, 1, 1, 1);
|
||||
|
||||
editLength = new QDoubleSpinBox(groupBox_6);
|
||||
editLength->setObjectName(QString::fromUtf8("editLength"));
|
||||
sizePolicy1.setHeightForWidth(editLength->sizePolicy().hasHeightForWidth());
|
||||
editLength->setSizePolicy(sizePolicy1);
|
||||
editLength->setMinimumSize(QSize(120, 0));
|
||||
editLength->setWrapping(true);
|
||||
editLength->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
|
||||
editLength->setButtonSymbols(QAbstractSpinBox::NoButtons);
|
||||
editLength->setMaximum(999999999.000000000000000);
|
||||
|
||||
gridLayout_4->addWidget(editLength, 3, 1, 1, 1);
|
||||
|
||||
label_21 = new QLabel(groupBox_6);
|
||||
label_21->setObjectName(QString::fromUtf8("label_21"));
|
||||
|
||||
gridLayout_4->addWidget(label_21, 0, 0, 1, 1);
|
||||
|
||||
label_24 = new QLabel(groupBox_6);
|
||||
label_24->setObjectName(QString::fromUtf8("label_24"));
|
||||
|
||||
gridLayout_4->addWidget(label_24, 3, 0, 1, 1);
|
||||
|
||||
|
||||
gridLayout_5->addWidget(groupBox_6, 1, 1, 1, 1, Qt::AlignTop);
|
||||
|
||||
horizontalSpacer_3 = new QSpacerItem(165, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
gridLayout_5->addItem(horizontalSpacer_3, 1, 2, 1, 1);
|
||||
|
||||
groupBox_5 = new QGroupBox(scrollAreaWidgetContents_4);
|
||||
groupBox_5->setObjectName(QString::fromUtf8("groupBox_5"));
|
||||
horizontalLayout_4 = new QHBoxLayout(groupBox_5);
|
||||
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
||||
editDescription = new QTextEdit(groupBox_5);
|
||||
editDescription->setObjectName(QString::fromUtf8("editDescription"));
|
||||
|
||||
horizontalLayout_4->addWidget(editDescription);
|
||||
|
||||
|
||||
gridLayout_5->addWidget(groupBox_5, 2, 0, 1, 3);
|
||||
|
||||
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
gridLayout_5->addItem(verticalSpacer_2, 3, 0, 1, 1);
|
||||
|
||||
scrollArea->setWidget(scrollAreaWidgetContents_4);
|
||||
|
||||
verticalLayout_2->addWidget(scrollArea);
|
||||
|
||||
tabWidget->addTab(tabFile, QString());
|
||||
tabAccount = new QWidget();
|
||||
tabAccount->setObjectName(QString::fromUtf8("tabAccount"));
|
||||
verticalLayout_4 = new QVBoxLayout(tabAccount);
|
||||
verticalLayout_4->setSpacing(10);
|
||||
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
||||
verticalLayout_4->setContentsMargins(10, 10, 10, 0);
|
||||
widget_2 = new QWidget(tabAccount);
|
||||
widget_2->setObjectName(QString::fromUtf8("widget_2"));
|
||||
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);
|
||||
lineEdit_7 = new QLineEdit(widget_2);
|
||||
lineEdit_7->setObjectName(QString::fromUtf8("lineEdit_7"));
|
||||
lineEdit_7->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_7, 1, 3, 1, 1);
|
||||
|
||||
label_4 = new QLabel(widget_2);
|
||||
label_4->setObjectName(QString::fromUtf8("label_4"));
|
||||
|
||||
gridLayout_2->addWidget(label_4, 2, 0, 1, 1);
|
||||
|
||||
label_2 = new QLabel(widget_2);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
gridLayout_2->addWidget(label_2, 0, 0, 1, 1);
|
||||
|
||||
lineEdit_8 = new QLineEdit(widget_2);
|
||||
lineEdit_8->setObjectName(QString::fromUtf8("lineEdit_8"));
|
||||
lineEdit_8->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_8, 2, 3, 1, 1);
|
||||
|
||||
label_10 = new QLabel(widget_2);
|
||||
label_10->setObjectName(QString::fromUtf8("label_10"));
|
||||
|
||||
gridLayout_2->addWidget(label_10, 0, 2, 1, 1);
|
||||
|
||||
label_12 = new QLabel(widget_2);
|
||||
label_12->setObjectName(QString::fromUtf8("label_12"));
|
||||
|
||||
gridLayout_2->addWidget(label_12, 2, 2, 1, 1);
|
||||
|
||||
lineEdit_5 = new QLineEdit(widget_2);
|
||||
lineEdit_5->setObjectName(QString::fromUtf8("lineEdit_5"));
|
||||
lineEdit_5->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_5, 1, 1, 1, 1);
|
||||
|
||||
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
gridLayout_2->addItem(horizontalSpacer_2, 1, 6, 1, 1);
|
||||
|
||||
lineEdit_4 = new QLineEdit(widget_2);
|
||||
lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
|
||||
lineEdit_4->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_4, 0, 1, 1, 1);
|
||||
|
||||
label_3 = new QLabel(widget_2);
|
||||
label_3->setObjectName(QString::fromUtf8("label_3"));
|
||||
|
||||
gridLayout_2->addWidget(label_3, 1, 0, 1, 1);
|
||||
|
||||
lineEdit_6 = new QLineEdit(widget_2);
|
||||
lineEdit_6->setObjectName(QString::fromUtf8("lineEdit_6"));
|
||||
lineEdit_6->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_6, 2, 1, 1, 1);
|
||||
|
||||
label_11 = new QLabel(widget_2);
|
||||
label_11->setObjectName(QString::fromUtf8("label_11"));
|
||||
|
||||
gridLayout_2->addWidget(label_11, 1, 2, 1, 1);
|
||||
|
||||
lineEdit_3 = new QLineEdit(widget_2);
|
||||
lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
|
||||
lineEdit_3->setMinimumSize(QSize(150, 0));
|
||||
|
||||
gridLayout_2->addWidget(lineEdit_3, 0, 3, 1, 1);
|
||||
|
||||
horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
gridLayout_2->addItem(horizontalSpacer_4, 1, 4, 1, 1);
|
||||
|
||||
horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
gridLayout_2->addItem(horizontalSpacer_6, 1, 5, 1, 1);
|
||||
|
||||
|
||||
verticalLayout_4->addWidget(widget_2);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout_4->addItem(verticalSpacer);
|
||||
|
||||
tabWidget->addTab(tabAccount, QString());
|
||||
tabCompose = new QWidget();
|
||||
tabCompose->setObjectName(QString::fromUtf8("tabCompose"));
|
||||
verticalLayout_3 = new QVBoxLayout(tabCompose);
|
||||
verticalLayout_3->setSpacing(5);
|
||||
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
||||
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
|
||||
widgetContener = new QWidget(tabCompose);
|
||||
widgetContener->setObjectName(QString::fromUtf8("widgetContener"));
|
||||
verticalLayout_5 = new QVBoxLayout(widgetContener);
|
||||
verticalLayout_5->setSpacing(5);
|
||||
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
|
||||
verticalLayout_5->setContentsMargins(0, 0, 0, 0);
|
||||
frame = new QFrame(widgetContener);
|
||||
frame->setObjectName(QString::fromUtf8("frame"));
|
||||
frame->setFrameShape(QFrame::StyledPanel);
|
||||
frame->setFrameShadow(QFrame::Raised);
|
||||
horizontalLayout = new QHBoxLayout(frame);
|
||||
horizontalLayout->setSpacing(0);
|
||||
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
||||
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
||||
toolButton = new QToolButton(frame);
|
||||
toolButton->setObjectName(QString::fromUtf8("toolButton"));
|
||||
toolButton->setIcon(icon);
|
||||
|
||||
horizontalLayout->addWidget(toolButton);
|
||||
|
||||
toolButton_2 = new QToolButton(frame);
|
||||
toolButton_2->setObjectName(QString::fromUtf8("toolButton_2"));
|
||||
toolButton_2->setIcon(icon1);
|
||||
|
||||
horizontalLayout->addWidget(toolButton_2);
|
||||
|
||||
toolButton_3 = new QToolButton(frame);
|
||||
toolButton_3->setObjectName(QString::fromUtf8("toolButton_3"));
|
||||
toolButton_3->setIcon(icon3);
|
||||
|
||||
horizontalLayout->addWidget(toolButton_3);
|
||||
|
||||
toolButton_4 = new QToolButton(frame);
|
||||
toolButton_4->setObjectName(QString::fromUtf8("toolButton_4"));
|
||||
toolButton_4->setIcon(icon2);
|
||||
|
||||
horizontalLayout->addWidget(toolButton_4);
|
||||
|
||||
toolButton_6 = new QToolButton(frame);
|
||||
toolButton_6->setObjectName(QString::fromUtf8("toolButton_6"));
|
||||
|
||||
horizontalLayout->addWidget(toolButton_6);
|
||||
|
||||
toolButton_5 = new QToolButton(frame);
|
||||
toolButton_5->setObjectName(QString::fromUtf8("toolButton_5"));
|
||||
QIcon icon4;
|
||||
icon4.addFile(QString::fromUtf8(":/resources/icons/delete.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
toolButton_5->setIcon(icon4);
|
||||
|
||||
horizontalLayout->addWidget(toolButton_5);
|
||||
|
||||
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
||||
|
||||
horizontalLayout->addItem(horizontalSpacer);
|
||||
|
||||
|
||||
verticalLayout_5->addWidget(frame);
|
||||
|
||||
treeView = new QMTreeView(widgetContener);
|
||||
treeView->setObjectName(QString::fromUtf8("treeView"));
|
||||
treeView->setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed);
|
||||
|
||||
verticalLayout_5->addWidget(treeView);
|
||||
|
||||
|
||||
verticalLayout_3->addWidget(widgetContener);
|
||||
|
||||
tabWidget->addTab(tabCompose, QString());
|
||||
tabSupplier = new QWidget();
|
||||
tabSupplier->setObjectName(QString::fromUtf8("tabSupplier"));
|
||||
tableView = new QTableView(tabSupplier);
|
||||
tableView->setObjectName(QString::fromUtf8("tableView"));
|
||||
tableView->setGeometry(QRect(40, 40, 256, 192));
|
||||
tabWidget->addTab(tabSupplier, QString());
|
||||
tabNotes = new QWidget();
|
||||
tabNotes->setObjectName(QString::fromUtf8("tabNotes"));
|
||||
tabWidget->addTab(tabNotes, QString());
|
||||
|
||||
verticalLayout->addWidget(tabWidget);
|
||||
|
||||
|
||||
retranslateUi(formProduct);
|
||||
|
||||
tabWidget->setCurrentIndex(0);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(formProduct);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *formProduct)
|
||||
{
|
||||
formProduct->setWindowTitle(QCoreApplication::translate("formProduct", "Form", nullptr));
|
||||
actionValidate->setText(QCoreApplication::translate("formProduct", "Validate", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionValidate->setShortcut(QCoreApplication::translate("formProduct", "Shift+V", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
actionSave->setText(QCoreApplication::translate("formProduct", "Save", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
actionSave->setShortcut(QCoreApplication::translate("formProduct", "Ctrl+G", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
buttonSave->setText(QCoreApplication::translate("formProduct", "Guardar", nullptr));
|
||||
toolButton_9->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_10->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
Logo->setText(QCoreApplication::translate("formProduct", "TextLabel", nullptr));
|
||||
label_5->setText(QCoreApplication::translate("formProduct", "C\303\263digo", nullptr));
|
||||
comboSell->setItemText(0, QCoreApplication::translate("formProduct", "En venta", nullptr));
|
||||
comboSell->setItemText(1, QCoreApplication::translate("formProduct", "Fuera de venta", nullptr));
|
||||
|
||||
comboBuy->setItemText(0, QCoreApplication::translate("formProduct", "En compra", nullptr));
|
||||
comboBuy->setItemText(1, QCoreApplication::translate("formProduct", "Fuera de compra", nullptr));
|
||||
|
||||
label_9->setText(QCoreApplication::translate("formProduct", "Estado de compra", nullptr));
|
||||
label_7->setText(QCoreApplication::translate("formProduct", "Estado de venta", nullptr));
|
||||
label_6->setText(QCoreApplication::translate("formProduct", "Etiqueta", nullptr));
|
||||
label_29->setText(QCoreApplication::translate("formProduct", "Unidad", nullptr));
|
||||
checkState->setText(QCoreApplication::translate("formProduct", "Activo", nullptr));
|
||||
label_25->setText(QCoreApplication::translate("formProduct", "Tipo", nullptr));
|
||||
comboType2->setItemText(0, QCoreApplication::translate("formProduct", "Servicio", nullptr));
|
||||
comboType2->setItemText(1, QCoreApplication::translate("formProduct", "Producto", nullptr));
|
||||
|
||||
comboType1->setItemText(0, QCoreApplication::translate("formProduct", "Elemento compuesto", nullptr));
|
||||
comboType1->setItemText(1, QCoreApplication::translate("formProduct", "Material", nullptr));
|
||||
comboType1->setItemText(2, QCoreApplication::translate("formProduct", "Mano de obra", nullptr));
|
||||
comboType1->setItemText(3, QCoreApplication::translate("formProduct", "Maquinaria", nullptr));
|
||||
comboType1->setItemText(4, QCoreApplication::translate("formProduct", "Subcontratados", nullptr));
|
||||
comboType1->setItemText(5, QCoreApplication::translate("formProduct", "Otro", nullptr));
|
||||
|
||||
label_14->setText(QCoreApplication::translate("formProduct", "Fecha de alta", nullptr));
|
||||
editDischargeDate->setDisplayFormat(QCoreApplication::translate("formProduct", "dd/MM/yyyy", nullptr));
|
||||
label_23->setText(QCoreApplication::translate("formProduct", "Fecha de la \303\272ltima actualizaci\303\263n", nullptr));
|
||||
editUpdateDate->setDisplayFormat(QCoreApplication::translate("formProduct", "dd/MM/yyyy", nullptr));
|
||||
groupBox_4->setTitle(QCoreApplication::translate("formProduct", "Precio", nullptr));
|
||||
label_18->setText(QCoreApplication::translate("formProduct", "I.V.A.", nullptr));
|
||||
label_28->setText(QCoreApplication::translate("formProduct", "Descuento", nullptr));
|
||||
label_16->setText(QCoreApplication::translate("formProduct", "Margen", nullptr));
|
||||
editPV->setSuffix(QCoreApplication::translate("formProduct", " \342\202\254", nullptr));
|
||||
label->setText(QCoreApplication::translate("formProduct", "Precio Venta al P\303\272blico ", nullptr));
|
||||
label_19->setText(QCoreApplication::translate("formProduct", "Precio de Venta con I.V.A.", nullptr));
|
||||
editMargin->setSuffix(QCoreApplication::translate("formProduct", " %", nullptr));
|
||||
label_13->setText(QString());
|
||||
editPC->setSuffix(QCoreApplication::translate("formProduct", " \342\202\254", nullptr));
|
||||
comboIVA->setItemText(0, QCoreApplication::translate("formProduct", "21%", nullptr));
|
||||
comboIVA->setItemText(1, QCoreApplication::translate("formProduct", "10%", nullptr));
|
||||
comboIVA->setItemText(2, QCoreApplication::translate("formProduct", "4%", nullptr));
|
||||
comboIVA->setItemText(3, QCoreApplication::translate("formProduct", "Exento", nullptr));
|
||||
|
||||
label_17->setText(QCoreApplication::translate("formProduct", "Precio de Venta", nullptr));
|
||||
editDiscount->setSuffix(QCoreApplication::translate("formProduct", " %", nullptr));
|
||||
editPVP->setSuffix(QCoreApplication::translate("formProduct", " \342\202\254", nullptr));
|
||||
editPVIVA->setSuffix(QCoreApplication::translate("formProduct", " \342\202\254", nullptr));
|
||||
label_15->setText(QCoreApplication::translate("formProduct", "Precio de compra", nullptr));
|
||||
label_27->setText(QString());
|
||||
groupBox_6->setTitle(QCoreApplication::translate("formProduct", "Propiedades f\303\255sicas", nullptr));
|
||||
label_20->setText(QCoreApplication::translate("formProduct", "Peso (Kg)", nullptr));
|
||||
label_22->setText(QCoreApplication::translate("formProduct", "Alto (mm)", nullptr));
|
||||
label_21->setText(QCoreApplication::translate("formProduct", "Ancho (mm)", nullptr));
|
||||
label_24->setText(QCoreApplication::translate("formProduct", "Largo (mm)", nullptr));
|
||||
groupBox_5->setTitle(QCoreApplication::translate("formProduct", "Descripci\303\263n", nullptr));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tabFile), QCoreApplication::translate("formProduct", "Ficha", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable venta de exportaci\303\263n", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable ventas", nullptr));
|
||||
label_10->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable compras", nullptr));
|
||||
label_12->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable compra de importaci\303\263n", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable venta intercomunitaria", nullptr));
|
||||
label_11->setText(QCoreApplication::translate("formProduct", "C\303\263digo contable compras intercomunitaria", nullptr));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tabAccount), QCoreApplication::translate("formProduct", "Contabilidad", nullptr));
|
||||
toolButton->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_2->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_3->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_4->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_6->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
toolButton_5->setText(QCoreApplication::translate("formProduct", "...", nullptr));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tabCompose), QCoreApplication::translate("formProduct", "Composici\303\263n", nullptr));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tabSupplier), QCoreApplication::translate("formProduct", "Proveedores", nullptr));
|
||||
tabWidget->setTabText(tabWidget->indexOf(tabNotes), QCoreApplication::translate("formProduct", "Notas", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class formProduct: public Ui_formProduct {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_FORMPRODUCT_H
|
||||
Reference in New Issue
Block a user