cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstMultiTask
mtsQtCommandSelector.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4
/*
5
6
Author(s): Praneeth Sadda
7
Created on: 2012-05-14
8
9
(C) Copyright 2012-2026 Johns Hopkins University (JHU), All Rights Reserved.
10
11
--- begin cisst license - do not edit ---
12
13
This software is provided "as is" under an open source license, with
14
no warranty. The complete license can be found in license.txt and
15
http://www.cisst.org/cisst/license.txt.
16
17
--- end cisst license ---
18
19
*/
20
21
#ifndef _mtsQtCommandSelector_h
22
#define _mtsQtCommandSelector_h
23
24
#include <QTreeWidget>
25
26
#include <
cisstMultiTask/mtsManagerLocal.h
>
27
28
// Always include last
29
#include <
cisstMultiTask/mtsExportQt.h
>
30
31
class
mtsQtCommandSelector
:
public
QTreeWidget {
32
Q_OBJECT;
33
34
public
:
35
mtsQtCommandSelector
(
mtsManagerLocal
* componentManager, QWidget* parent = 0);
36
37
private
slots:
38
void
CurrentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous);
39
void
ItemActivated(QTreeWidgetItem* item,
int
column);
40
41
public
slots:
42
void
Refresh
(
void
);
43
44
signals:
45
void
CommandSelected
(QString command);
46
47
private
:
48
void
BuildTree(
mtsManagerLocal
* componentManager);
49
50
mtsManagerLocal
* LocalManager;
51
};
52
53
#endif
mtsManagerLocal
Definition
mtsManagerLocal.h:52
mtsQtCommandSelector::mtsQtCommandSelector
mtsQtCommandSelector(mtsManagerLocal *componentManager, QWidget *parent=0)
mtsQtCommandSelector::Refresh
void Refresh(void)
mtsQtCommandSelector::CommandSelected
void CommandSelected(QString command)
mtsExportQt.h
Rules of exporting.
mtsManagerLocal.h
Declaration of Local Component Manager.
Generated by
1.18.0