feat: Add MPPS propertys to PatientInformation
This commit is contained in:
@@ -210,6 +210,13 @@ void SelectFormWidget::initTableView(QLayout *contentLayout)
|
||||
mPatTable->setSortingEnabled(true); // enable sortingEnabled
|
||||
mPatTable->setModel((QAbstractItemModel*) mModel);
|
||||
mPatTable->hideColumn(0);
|
||||
mPatTable->hideColumn(7);
|
||||
mPatTable->hideColumn(8);
|
||||
mPatTable->hideColumn(9);
|
||||
mPatTable->hideColumn(10);
|
||||
mPatTable->hideColumn(11);
|
||||
mPatTable->hideColumn(12);
|
||||
|
||||
mPatTable->show();
|
||||
|
||||
mPatTable->setColumnWidth(1, 250);
|
||||
@@ -218,7 +225,6 @@ void SelectFormWidget::initTableView(QLayout *contentLayout)
|
||||
mPatTable->setColumnWidth(4, 120);
|
||||
mPatTable->setColumnWidth(5, 80);
|
||||
mPatTable->setColumnWidth(6, 120);
|
||||
mPatTable->setColumnHidden(7, true);
|
||||
contentLayout->addWidget(mPatTable);
|
||||
//table current row selection changing event
|
||||
connect(mPatTable, &SlideTableView::currentRowChanged, [=](int row) {
|
||||
|
||||
Reference in New Issue
Block a user