Mercurial > hg > svgui
comparison widgets/ModelDataTableDialog.cpp @ 1535:873ff035364c
Tidy / debug
author | Chris Cannam |
---|---|
date | Mon, 14 Oct 2019 14:20:02 +0100 |
parents | 9bf8aa2916e9 |
children | 5a215033b853 |
comparison
equal
deleted
inserted
replaced
1534:bfd8b22fd67c | 1535:873ff035364c |
---|---|
72 action->setStatusTip(tr("Delete the selected item or items")); | 72 action->setStatusTip(tr("Delete the selected item or items")); |
73 connect(action, SIGNAL(triggered()), this, SLOT(deleteRows())); | 73 connect(action, SIGNAL(triggered()), this, SLOT(deleteRows())); |
74 toolbar->addAction(action); | 74 toolbar->addAction(action); |
75 | 75 |
76 CommandHistory::getInstance()->registerToolbar(toolbar); | 76 CommandHistory::getInstance()->registerToolbar(toolbar); |
77 | |
78 /* | |
79 action = new QAction(il.load("dataedit"), tr("Edit Selected Item"), this); | |
80 action->setShortcut(tr("Edit")); | |
81 action->setStatusTip(tr("Edit the selected item")); | |
82 connect(action, SIGNAL(triggered()), this, SLOT(editRow())); | |
83 toolbar->addAction(action); | |
84 */ | |
85 | 77 |
86 QFrame *mainFrame = new QFrame; | 78 QFrame *mainFrame = new QFrame; |
87 setCentralWidget(mainFrame); | 79 setCentralWidget(mainFrame); |
88 | 80 |
89 QGridLayout *grid = new QGridLayout; | 81 QGridLayout *grid = new QGridLayout; |