source: mmcs/variablepnh.cpp @ 239e1ea

Last change on this file since 239e1ea was 239e1ea, checked in by rboet <rboet@…>, 9 years ago

Agregada licencia y documentacion, en la funcion de seleccion no se pueden seleccionar componentes/cuentas

  • Property mode set to 100644
File size: 638 bytes
Line 
1/*
2    realizado por Rodrigo Boet Septiembre/2015
3*/
4#include "variablepnh.h"
5
6variablePNH::variablePNH(int number, QStringList lista, QWidget *parent):
7    QWidget(parent)
8{
9    layoutAccountConf = new QHBoxLayout;
10
11    this->setLayout(layoutAccountConf);
12
13    accounListWidget = new QListWidget(this);
14    accounListWidget->setFixedWidth(350);
15    accounListWidget->setSelectionMode(QAbstractItemView::MultiSelection);
16    accounListWidget->addItems(lista);
17    accounListWidget->setObjectName(QString("accountlistPNH %1").arg(number+1));//Nombre para el objeto Nombre de la Cuenta
18    layoutAccountConf->addWidget(accounListWidget);
19}
Note: See TracBrowser for help on using the repository browser.