itom
Loading...
Searching...
No Matches
widgetPropGeneralLanguage.h
1/* ********************************************************************
2 itom software
3 URL: http://www.uni-stuttgart.de/ito
4 Copyright (C) 2023, Institut für Technische Optik (ITO),
5 Universität Stuttgart, Germany
6
7 This file is part of itom.
8
9 itom is free software; you can redistribute it and/or modify it
10 under the terms of the GNU Library General Public Licence as published by
11 the Free Software Foundation; either version 2 of the Licence, or (at
12 your option) any later version.
13
14 itom is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17 General Public Licence for more details.
18
19 You should have received a copy of the GNU Library General Public License
20 along with itom. If not, see <http://www.gnu.org/licenses/>.
21*********************************************************************** */
22
23#ifndef WIDGETPROPGENERALLANGUAGE_H
24#define WIDGETPROPGENERALLANGUAGE_H
25
26#include "abstractPropertyPageWidget.h"
27
28#include <qlistwidget.h>
29
30#include <qwidget.h>
31
32#include "ui_widgetPropGeneralLanguage.h"
33
34namespace ito
35{
36
38{
39 Q_OBJECT
40
41public:
42 WidgetPropGeneralLanguage(QWidget *parent = NULL);
44
45 void readSettings();
46 void writeSettings();
47
48protected:
49
50private:
51 QString textFromLocale(const QLocale& locale) const;
52 Ui::WidgetPropGeneralLanguage ui;
53 QString m_operatingSystemLocale;
54 QStringList m_allLocals;
55
56signals:
57
58public slots:
59
60private slots:
61 void on_comboLocale_currentIndexChanged(int index);
62 void on_checkOmitGroupSeparator_toggled(bool checked);
63};
64
65} //end namespace ito
66
67#endif
Definition abstractPropertyPageWidget.h:33
Definition widgetPropGeneralLanguage.h:38
void writeSettings()
Definition widgetPropGeneralLanguage.cpp:192
void readSettings()
Definition widgetPropGeneralLanguage.cpp:123
Definition apiFunctionsGraph.cpp:40