mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-07-23 21:48:21 +00:00
more delegates - Start work on BitSet
This commit is contained in:
parent
d8c375c8ca
commit
879d86206c
9 changed files with 163 additions and 3 deletions
|
@ -85,6 +85,8 @@ void MainWindow::QTOZW_Ready() {
|
|||
this->ui->configView->verticalHeader()->hide();
|
||||
this->ui->configView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
this->ui->configView->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
this->ui->configView->setEditTriggers(QAbstractItemView::AllEditTriggers);
|
||||
|
||||
|
||||
this->ui->configView->setItemDelegateForColumn(QTOZW_ValueIds::ValueIdColumns::Value, delegate);
|
||||
|
||||
|
@ -99,6 +101,8 @@ void MainWindow::QTOZW_Ready() {
|
|||
this->ui->systemView->verticalHeader()->hide();
|
||||
this->ui->systemView->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||
this->ui->systemView->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||
this->ui->systemView->setEditTriggers(QAbstractItemView::AllEditTriggers);
|
||||
|
||||
|
||||
this->ui->systemView->setItemDelegateForColumn(QTOZW_ValueIds::ValueIdColumns::Value, delegate);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue