NorMIT-nav
22.09
An IGT application
cxLabeledLineEditWidget.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
13
#ifndef CXLABELEDLINEEDITWIDGET_H_
14
#define CXLABELEDLINEEDITWIDGET_H_
15
16
#include "cxResourceWidgetsExport.h"
17
18
#include <QWidget>
19
#include <QSlider>
20
#include <QLineEdit>
21
#include <QLabel>
22
#include <QGridLayout>
23
#include "
cxStringPropertyBase.h
"
24
#include "
cxOptimizedUpdateWidget.h
"
25
26
namespace
cx
27
{
28
35
class
cxResourceWidgets_EXPORT
LabeledLineEditWidget
:
public
OptimizedUpdateWidget
36
{
37
Q_OBJECT
38
public
:
39
LabeledLineEditWidget
(QWidget* parent,
StringPropertyBasePtr
, QGridLayout* gridLayout = 0,
int
row = 0);
40
private
slots:
41
virtual
void
prePaintEvent();
42
void
editingFinished();
43
private
:
44
QLabel* mLabel;
45
QLineEdit* mLine;
46
StringPropertyBasePtr
mData;
47
};
48
49
}
// namespace cx
50
51
#endif
/* CXLABELEDLINEEDITWIDGET_H_ */
cxOptimizedUpdateWidget.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::LabeledLineEditWidget
Composite widget for string edit.
Definition:
cxLabeledLineEditWidget.h:35
cx::OptimizedUpdateWidget
Interface for all classes following the modified/prepaint paradigm.
Definition:
cxOptimizedUpdateWidget.h:41
cxStringPropertyBase.h
cx::StringPropertyBasePtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
Definition:
cxIGTLinkStreamerService.h:20
CX
source
resource
widgets
cxLabeledLineEditWidget.h
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17