Computer Assited Medical Intervention Tool Kit
version 4.0
modeling
components
physicalmodel
AtomDCWidget.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* $CAMITK_LICENCE_BEGIN$
3
*
4
* CamiTK - Computer Assisted Medical Intervention ToolKit
5
* (c) 2001-2016 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
6
*
7
* Visit http://camitk.imag.fr for more information
8
*
9
* This file is part of CamiTK.
10
*
11
* CamiTK is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License version 3
13
* only, as published by the Free Software Foundation.
14
*
15
* CamiTK is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License version 3 for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22
*
23
* $CAMITK_LICENCE_END$
24
****************************************************************************/
25
26
27
#ifndef AtomDCWidget_H
28
#define AtomDCWidget_H
29
30
#include <QWidget>
31
32
class
QLabel;
33
34
class
QTableWidget;
35
36
class
QListWidgetItem;
37
38
class
AtomDC
;
39
40
//***************************************************************************
57
class
AtomDCWidget
:
public
QWidget {
58
Q_OBJECT
59
60
public
:
61
63
AtomDCWidget
(
AtomDC
*, QWidget* parent = 0);
64
~AtomDCWidget
() {}
65
67
void
updateProperties
(
AtomDC
*);
68
69
public
slots:
70
void
usedInTableClicked
(
int
,
int
);
71
72
private
:
74
AtomDC
*
myDC
;
75
76
QLabel*
infoLabel
;
77
QTableWidget*
usedInTable
;
78
};
79
80
81
#endif
AtomDCWidget::updateProperties
void updateProperties(AtomDC *)
change the currently managed AtomDC and update the value of the properties
Definition:
AtomDCWidget.cpp:90
AtomDCWidget
The class AtomDCWidget defines a widget controling the properties of an instance of an AtomDC...
Definition:
AtomDCWidget.h:57
AtomDCWidget::AtomDCWidget
AtomDCWidget(AtomDC *, QWidget *parent=0)
Default construtor.
Definition:
AtomDCWidget.cpp:51
AtomDCWidget::infoLabel
QLabel * infoLabel
Definition:
AtomDCWidget.h:76
AtomDCWidget::usedInTableClicked
void usedInTableClicked(int, int)
Definition:
AtomDCWidget.cpp:148
AtomDC
The manager of the Atom data.
Definition:
AtomDC.h:74
AtomDCWidget::~AtomDCWidget
~AtomDCWidget()
Definition:
AtomDCWidget.h:64
AtomDCWidget::myDC
AtomDC * myDC
the currently selected atom's AtomDC
Definition:
AtomDCWidget.h:74
AtomDCWidget::usedInTable
QTableWidget * usedInTable
Definition:
AtomDCWidget.h:77
Generated by
1.8.13