- QAction * action;
-
- if (type == RS2::ActionSelectAll)
- {
- action = new QAction(tr("Select &All"), parent);
- action->setShortcut(Qt::CTRL + Qt::Key_A);
-// action = new QAction(tr("Select All"), tr("Select &All"),
-// CTRL+Key_A, parent);
- action->setStatusTip(tr("Selects all Entities"));
- }
- else
- {
- action = new QAction(tr("Deselect &all"), parent);
- action->setShortcut(Qt::CTRL + Qt::Key_K);
-// action = new QAction(tr("Deselect all"), tr("Deselect &all"),
-// CTRL+Key_K, parent);
- action->setStatusTip(tr("Deselects all Entities"));
- }
-
- return action;