S
Size: a a a
A
S
AT
TextField { Component.onCompleted: filedialog.fileUrls[0] = "" ; onTextChanged: filedialog.fileUrls[0] = text; }
AT
W
QTableWidgetItem *test = new QTableWidgetItem(listA.at(x));
QWidget *checkBoxWidget = new QWidget();
QCheckBox *checkBox = new QCheckBox();
QHBoxLayout *layoutCheckBox = new QHBoxLayout(checkBoxWidget); // создаём слой с привязкой к виджету
layoutCheckBox->addWidget(checkBox); // Устанавливаем чекбокс в слой
layoutCheckBox->setAlignment(Qt::AlignCenter);
layoutCheckBox->setContentsMargins(0,0,0,0);
checkBoxWidget->setLayout(layoutCheckBox);
ui->tableWidget->setCellWidget(row, 0, checkBoxWidget);
ui->tableWidget->setItem(row, x+1, test);
S
TextField { Component.onCompleted: filedialog.fileUrls[0] = "" ; onTextChanged: filedialog.fileUrls[0] = text; }
W
AS
AS
m
QTableWidgetItem *test = new QTableWidgetItem(listA.at(x));
QWidget *checkBoxWidget = new QWidget();
QCheckBox *checkBox = new QCheckBox();
QHBoxLayout *layoutCheckBox = new QHBoxLayout(checkBoxWidget); // создаём слой с привязкой к виджету
layoutCheckBox->addWidget(checkBox); // Устанавливаем чекбокс в слой
layoutCheckBox->setAlignment(Qt::AlignCenter);
layoutCheckBox->setContentsMargins(0,0,0,0);
checkBoxWidget->setLayout(layoutCheckBox);
ui->tableWidget->setCellWidget(row, 0, checkBoxWidget);
ui->tableWidget->setItem(row, x+1, test);
IZ
IZ
AT
S
W
ДБ
ДБ
ДБ