FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
qttools
gui
measurement_system_preferences.h
Go to the documentation of this file.
1
/****************************************************************************
2
** FougTools
3
** Copyright Fougue (30 Mar. 2015)
4
** contact@fougue.pro
5
**
6
** This software is a computer program whose purpose is to provide utility
7
** tools for the C++ language and the Qt toolkit.
8
**
9
** This software is governed by the CeCILL-C license under French law and
10
** abiding by the rules of distribution of free software. You can use,
11
** modify and/ or redistribute the software under the terms of the CeCILL-C
12
** license as circulated by CEA, CNRS and INRIA at the following URL
13
** "http://www.cecill.info".
14
****************************************************************************/
15
16
#pragma once
17
18
#include "
gui.h
"
19
#include "
abstract_length_editor.h
"
20
21
namespace
qtgui
{
22
23
class
QTTOOLS_GUI_EXPORT
MeasurementSystemPreferences
24
{
25
public
:
26
MeasurementSystemPreferences
();
27
MeasurementSystemPreferences
(
28
AbstractLengthEditor::MetricUnit
metUnit,
29
AbstractLengthEditor::ImperialUnit
impUnit);
30
31
AbstractLengthEditor::MetricUnit
metricUnit()
const
;
32
void
setMetricUnit(
AbstractLengthEditor::MetricUnit
unit);
33
34
AbstractLengthEditor::ImperialUnit
imperialUnit()
const
;
35
void
setImperialUnit(
AbstractLengthEditor::ImperialUnit
unit);
36
37
private
:
38
AbstractLengthEditor::MetricUnit
m_metricUnit;
39
AbstractLengthEditor::ImperialUnit
m_imperialUnit;
40
};
41
42
}
// namespace qtgui
qtgui::AbstractLengthEditor::ImperialUnit
ImperialUnit
Definition:
abstract_length_editor.h:35
abstract_length_editor.h
qtgui
Definition:
abstract_length_editor.cpp:20
qtgui::MeasurementSystemPreferences
Definition:
measurement_system_preferences.h:23
qtgui::AbstractLengthEditor::MetricUnit
MetricUnit
Definition:
abstract_length_editor.h:27
QTTOOLS_GUI_EXPORT
#define QTTOOLS_GUI_EXPORT
Definition:
gui.h:27
gui.h
Generated on Thu Jun 23 2016 17:55:08 for FougTools by
1.8.8