Last change
on this file since fd48152 was
0b59ba5,
checked in by rudmanmrrod <rudman22@…>, 8 years ago
|
Documentados los archivos adicionales
|
-
Property mode set to
100755
|
File size:
1.2 KB
|
Line | |
---|
1 | /** |
---|
2 | Sistema de Manejo de Matrices de Contabilidad Social, desarrollado a partir de Mayo de 2015. |
---|
3 | @file variableexogenawidget.cpp |
---|
4 | @brief Clases y métodos del widget que permite manipular los precios no homogéneos |
---|
5 | @date 20/09/2015 |
---|
6 | @author Rodrigo Boet |
---|
7 | @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> |
---|
8 | */ |
---|
9 | #include "variablepnh.h" |
---|
10 | |
---|
11 | /** |
---|
12 | @brief Clase principal que realiza la funcionalidad |
---|
13 | @date 20/09/2015 |
---|
14 | @author Rodrigo Boet |
---|
15 | @param <number> Recibe el número de widget a tratar |
---|
16 | @param <lista> Recibe la lista con los elementos |
---|
17 | @param <parent> Recibe el widget que será el padre |
---|
18 | */ |
---|
19 | variablePNH::variablePNH(int number, QStringList lista, QWidget *parent): |
---|
20 | QWidget(parent) |
---|
21 | { |
---|
22 | layoutAccountConf = new QHBoxLayout; |
---|
23 | |
---|
24 | this->setLayout(layoutAccountConf); |
---|
25 | |
---|
26 | accounListWidget = new QListWidget(this); |
---|
27 | accounListWidget->setFixedWidth(350); |
---|
28 | accounListWidget->setSelectionMode(QAbstractItemView::MultiSelection); |
---|
29 | accounListWidget->addItems(lista); |
---|
30 | accounListWidget->setObjectName(QString("accountlistPNH %1").arg(number+1));//Nombre para el objeto Nombre de la Cuenta |
---|
31 | layoutAccountConf->addWidget(accounListWidget); |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.