Lector de precio desarrollado en Qt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

300 lines
12 KiB

2 months ago
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'principal.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.7.1
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_PRINCIPAL_H
  9. #define UI_PRINCIPAL_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QAction>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QButtonGroup>
  14. #include <QtWidgets/QFrame>
  15. #include <QtWidgets/QGridLayout>
  16. #include <QtWidgets/QHBoxLayout>
  17. #include <QtWidgets/QHeaderView>
  18. #include <QtWidgets/QLabel>
  19. #include <QtWidgets/QMainWindow>
  20. #include <QtWidgets/QSpacerItem>
  21. #include <QtWidgets/QStatusBar>
  22. #include <QtWidgets/QToolBar>
  23. #include <QtWidgets/QVBoxLayout>
  24. #include <QtWidgets/QWidget>
  25. QT_BEGIN_NAMESPACE
  26. class Ui_Principal
  27. {
  28. public:
  29. QWidget *centralWidget;
  30. QGridLayout *gridLayout_2;
  31. QFrame *frame_barra;
  32. QVBoxLayout *verticalLayout_2;
  33. QVBoxLayout *verticalLayout;
  34. QLabel *label_codbar;
  35. QHBoxLayout *horizontalLayout;
  36. QLabel *label_codart;
  37. QSpacerItem *horizontalSpacer;
  38. QLabel *label_logo_mca;
  39. QLabel *label_principal;
  40. QSpacerItem *verticalSpacer;
  41. QLabel *label_prom_valida;
  42. QGridLayout *gridLayout_3;
  43. QLabel *label_ofe;
  44. QLabel *label_precio;
  45. QLabel *label_despnorm;
  46. QLabel *label_despofe;
  47. QLabel *label_desc;
  48. QLabel *label_imagen;
  49. QFrame *frame_titulo;
  50. QGridLayout *gridLayout;
  51. QHBoxLayout *horizontalLayout_5;
  52. QLabel *label_titulo;
  53. QSpacerItem *horizontalSpacer_3;
  54. QLabel *label_maxi;
  55. QSpacerItem *verticalSpacer_3;
  56. QLabel *label_promo;
  57. QLabel *label_status;
  58. QSpacerItem *verticalSpacer_2;
  59. QLabel *label_desc2;
  60. QToolBar *mainToolBar;
  61. QStatusBar *statusBar;
  62. void setupUi(QMainWindow *Principal)
  63. {
  64. if (Principal->objectName().isEmpty())
  65. Principal->setObjectName(QStringLiteral("Principal"));
  66. Principal->resize(521, 637);
  67. centralWidget = new QWidget(Principal);
  68. centralWidget->setObjectName(QStringLiteral("centralWidget"));
  69. gridLayout_2 = new QGridLayout(centralWidget);
  70. gridLayout_2->setSpacing(6);
  71. gridLayout_2->setContentsMargins(11, 11, 11, 11);
  72. gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
  73. frame_barra = new QFrame(centralWidget);
  74. frame_barra->setObjectName(QStringLiteral("frame_barra"));
  75. frame_barra->setStyleSheet(QStringLiteral(""));
  76. frame_barra->setFrameShape(QFrame::StyledPanel);
  77. frame_barra->setFrameShadow(QFrame::Sunken);
  78. verticalLayout_2 = new QVBoxLayout(frame_barra);
  79. verticalLayout_2->setSpacing(6);
  80. verticalLayout_2->setContentsMargins(11, 11, 11, 11);
  81. verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
  82. verticalLayout = new QVBoxLayout();
  83. verticalLayout->setSpacing(6);
  84. verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
  85. verticalLayout->setContentsMargins(-1, 0, -1, -1);
  86. label_codbar = new QLabel(frame_barra);
  87. label_codbar->setObjectName(QStringLiteral("label_codbar"));
  88. label_codbar->setStyleSheet(QStringLiteral(""));
  89. label_codbar->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
  90. verticalLayout->addWidget(label_codbar);
  91. horizontalLayout = new QHBoxLayout();
  92. horizontalLayout->setSpacing(6);
  93. horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
  94. horizontalLayout->setContentsMargins(-1, 0, -1, -1);
  95. label_codart = new QLabel(frame_barra);
  96. label_codart->setObjectName(QStringLiteral("label_codart"));
  97. label_codart->setStyleSheet(QStringLiteral(""));
  98. label_codart->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
  99. horizontalLayout->addWidget(label_codart);
  100. horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  101. horizontalLayout->addItem(horizontalSpacer);
  102. label_logo_mca = new QLabel(frame_barra);
  103. label_logo_mca->setObjectName(QStringLiteral("label_logo_mca"));
  104. label_logo_mca->setFocusPolicy(Qt::StrongFocus);
  105. label_logo_mca->setPixmap(QPixmap(QString::fromUtf8(":/Recursos/180.png")));
  106. label_logo_mca->setScaledContents(false);
  107. horizontalLayout->addWidget(label_logo_mca);
  108. verticalLayout->addLayout(horizontalLayout);
  109. verticalLayout_2->addLayout(verticalLayout);
  110. gridLayout_2->addWidget(frame_barra, 35, 0, 1, 1);
  111. label_principal = new QLabel(centralWidget);
  112. label_principal->setObjectName(QStringLiteral("label_principal"));
  113. label_principal->setAlignment(Qt::AlignCenter);
  114. gridLayout_2->addWidget(label_principal, 6, 0, 1, 1);
  115. verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  116. gridLayout_2->addItem(verticalSpacer, 2, 0, 1, 1);
  117. label_prom_valida = new QLabel(centralWidget);
  118. label_prom_valida->setObjectName(QStringLiteral("label_prom_valida"));
  119. label_prom_valida->setStyleSheet(QStringLiteral(""));
  120. label_prom_valida->setAlignment(Qt::AlignCenter);
  121. gridLayout_2->addWidget(label_prom_valida, 11, 0, 1, 1);
  122. gridLayout_3 = new QGridLayout();
  123. gridLayout_3->setSpacing(0);
  124. gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
  125. gridLayout_3->setSizeConstraint(QLayout::SetNoConstraint);
  126. gridLayout_3->setContentsMargins(-1, 0, -1, -1);
  127. label_ofe = new QLabel(centralWidget);
  128. label_ofe->setObjectName(QStringLiteral("label_ofe"));
  129. label_ofe->setAlignment(Qt::AlignCenter);
  130. gridLayout_3->addWidget(label_ofe, 0, 1, 1, 1);
  131. label_precio = new QLabel(centralWidget);
  132. label_precio->setObjectName(QStringLiteral("label_precio"));
  133. label_precio->setStyleSheet(QStringLiteral(""));
  134. label_precio->setAlignment(Qt::AlignCenter);
  135. gridLayout_3->addWidget(label_precio, 0, 0, 1, 1);
  136. label_despnorm = new QLabel(centralWidget);
  137. label_despnorm->setObjectName(QStringLiteral("label_despnorm"));
  138. label_despnorm->setAlignment(Qt::AlignCenter);
  139. gridLayout_3->addWidget(label_despnorm, 1, 0, 1, 1);
  140. label_despofe = new QLabel(centralWidget);
  141. label_despofe->setObjectName(QStringLiteral("label_despofe"));
  142. label_despofe->setAlignment(Qt::AlignCenter);
  143. gridLayout_3->addWidget(label_despofe, 1, 1, 1, 1);
  144. gridLayout_2->addLayout(gridLayout_3, 8, 0, 1, 1);
  145. label_desc = new QLabel(centralWidget);
  146. label_desc->setObjectName(QStringLiteral("label_desc"));
  147. label_desc->setStyleSheet(QStringLiteral(""));
  148. label_desc->setAlignment(Qt::AlignCenter);
  149. gridLayout_2->addWidget(label_desc, 4, 0, 1, 1);
  150. label_imagen = new QLabel(centralWidget);
  151. label_imagen->setObjectName(QStringLiteral("label_imagen"));
  152. label_imagen->setPixmap(QPixmap(QString::fromUtf8(":/Recursos/scanner_250.png")));
  153. label_imagen->setAlignment(Qt::AlignCenter);
  154. gridLayout_2->addWidget(label_imagen, 7, 0, 1, 1);
  155. frame_titulo = new QFrame(centralWidget);
  156. frame_titulo->setObjectName(QStringLiteral("frame_titulo"));
  157. frame_titulo->setFrameShape(QFrame::StyledPanel);
  158. frame_titulo->setFrameShadow(QFrame::Raised);
  159. gridLayout = new QGridLayout(frame_titulo);
  160. gridLayout->setSpacing(6);
  161. gridLayout->setContentsMargins(11, 11, 11, 11);
  162. gridLayout->setObjectName(QStringLiteral("gridLayout"));
  163. horizontalLayout_5 = new QHBoxLayout();
  164. horizontalLayout_5->setSpacing(6);
  165. horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
  166. horizontalLayout_5->setContentsMargins(-1, 0, -1, -1);
  167. label_titulo = new QLabel(frame_titulo);
  168. label_titulo->setObjectName(QStringLiteral("label_titulo"));
  169. label_titulo->setStyleSheet(QStringLiteral(""));
  170. label_titulo->setAlignment(Qt::AlignCenter);
  171. horizontalLayout_5->addWidget(label_titulo);
  172. horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  173. horizontalLayout_5->addItem(horizontalSpacer_3);
  174. label_maxi = new QLabel(frame_titulo);
  175. label_maxi->setObjectName(QStringLiteral("label_maxi"));
  176. label_maxi->setPixmap(QPixmap(QString::fromUtf8(":/Recursos/chico_emanuel_logo.png")));
  177. label_maxi->setAlignment(Qt::AlignCenter);
  178. horizontalLayout_5->addWidget(label_maxi);
  179. gridLayout->addLayout(horizontalLayout_5, 2, 0, 1, 1);
  180. gridLayout_2->addWidget(frame_titulo, 1, 0, 1, 1);
  181. verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  182. gridLayout_2->addItem(verticalSpacer_3, 12, 0, 1, 1);
  183. label_promo = new QLabel(centralWidget);
  184. label_promo->setObjectName(QStringLiteral("label_promo"));
  185. label_promo->setStyleSheet(QStringLiteral(""));
  186. label_promo->setAlignment(Qt::AlignCenter);
  187. gridLayout_2->addWidget(label_promo, 10, 0, 1, 1);
  188. label_status = new QLabel(centralWidget);
  189. label_status->setObjectName(QStringLiteral("label_status"));
  190. label_status->setStyleSheet(QStringLiteral(""));
  191. label_status->setAlignment(Qt::AlignCenter);
  192. gridLayout_2->addWidget(label_status, 3, 0, 1, 1);
  193. verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  194. gridLayout_2->addItem(verticalSpacer_2, 9, 0, 1, 1);
  195. label_desc2 = new QLabel(centralWidget);
  196. label_desc2->setObjectName(QStringLiteral("label_desc2"));
  197. label_desc2->setAlignment(Qt::AlignCenter);
  198. gridLayout_2->addWidget(label_desc2, 5, 0, 1, 1);
  199. Principal->setCentralWidget(centralWidget);
  200. mainToolBar = new QToolBar(Principal);
  201. mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
  202. Principal->addToolBar(Qt::TopToolBarArea, mainToolBar);
  203. statusBar = new QStatusBar(Principal);
  204. statusBar->setObjectName(QStringLiteral("statusBar"));
  205. Principal->setStatusBar(statusBar);
  206. retranslateUi(Principal);
  207. QMetaObject::connectSlotsByName(Principal);
  208. } // setupUi
  209. void retranslateUi(QMainWindow *Principal)
  210. {
  211. Principal->setWindowTitle(QApplication::translate("Principal", "Mcanet", Q_NULLPTR));
  212. label_codbar->setText(QApplication::translate("Principal", "C\303\263digo de barras", Q_NULLPTR));
  213. label_codart->setText(QApplication::translate("Principal", "C\303\263digo interno", Q_NULLPTR));
  214. label_logo_mca->setText(QString());
  215. label_principal->setText(QApplication::translate("Principal", "Principal", Q_NULLPTR));
  216. label_prom_valida->setText(QApplication::translate("Principal", "Promo valida d h", Q_NULLPTR));
  217. label_ofe->setText(QApplication::translate("Principal", "Oferta", Q_NULLPTR));
  218. label_precio->setText(QApplication::translate("Principal", "Precio", Q_NULLPTR));
  219. label_despnorm->setText(QApplication::translate("Principal", "Precio normal", Q_NULLPTR));
  220. label_despofe->setText(QApplication::translate("Principal", "Precio Oferta", Q_NULLPTR));
  221. label_desc->setText(QApplication::translate("Principal", "Descripci\303\263n", Q_NULLPTR));
  222. label_imagen->setText(QString());
  223. label_titulo->setText(QApplication::translate("Principal", "Consulta de precios", Q_NULLPTR));
  224. label_maxi->setText(QString());
  225. label_promo->setText(QApplication::translate("Principal", "Promo", Q_NULLPTR));
  226. label_status->setText(QApplication::translate("Principal", "Estado", Q_NULLPTR));
  227. label_desc2->setText(QApplication::translate("Principal", "Descripci\303\263n 2", Q_NULLPTR));
  228. } // retranslateUi
  229. };
  230. namespace Ui {
  231. class Principal: public Ui_Principal {};
  232. } // namespace Ui
  233. QT_END_NAMESPACE
  234. #endif // UI_PRINCIPAL_H