Last change
on this file since 0b59ba5 was
0b59ba5,
checked in by rudmanmrrod <rudman22@…>, 8 years ago
|
Documentados los archivos adicionales
|
-
Property mode set to
100755
|
File size:
1.2 KB
|
Rev | Line | |
---|
[0b59ba5] | 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 las variables exógenas |
---|
| 5 | @date 08/07/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> |
---|
[239e1ea] | 8 | */ |
---|
[9dd61b1] | 9 | #include "variableexogenawidget.h" |
---|
| 10 | |
---|
[0b59ba5] | 11 | /** |
---|
| 12 | @brief Clase principal que realiza la funcionalidad |
---|
| 13 | @date 08/07/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 | */ |
---|
[9dd61b1] | 19 | VariableExogenaWidget::VariableExogenaWidget(int number,QStringList lista,QWidget *parent) : |
---|
| 20 | QWidget(parent) |
---|
| 21 | { |
---|
| 22 | |
---|
| 23 | layoutAccountConf = new QHBoxLayout; |
---|
| 24 | |
---|
| 25 | this->setLayout(layoutAccountConf); |
---|
| 26 | |
---|
| 27 | accounListWidget = new QListWidget(this); |
---|
| 28 | accounListWidget->setFixedWidth(350); |
---|
| 29 | accounListWidget->setSelectionMode(QAbstractItemView::ExtendedSelection); |
---|
| 30 | accounListWidget->addItems(lista); |
---|
| 31 | accounListWidget->setObjectName(QString("accountlist %1").arg(number+1));//Nombre para el objeto Nombre de la Cuenta |
---|
| 32 | layoutAccountConf->addWidget(accounListWidget); |
---|
| 33 | |
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.