itom
Loading...
Searching...
No Matches
dialogScriptCharsetEncoding.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
#pragma once
24
25
#include <qdialog.h>
26
#include <qstring.h>
27
28
#include "../helper/IOHelper.h"
29
30
#include "ui_dialogScriptCharsetEncoding.h"
31
32
namespace
ito
33
{
34
35
class
DialogScriptCharsetEncoding
:
public
QDialog
36
{
37
Q_OBJECT
38
39
public
:
40
DialogScriptCharsetEncoding
(
const
IOHelper::CharsetEncodingItem
¤tEncoding,
bool
enableReload, QWidget *parent);
41
~DialogScriptCharsetEncoding
() {}
42
43
IOHelper::CharsetEncodingItem
getSaveCharsetEncoding()
const
;
44
45
private
:
46
Ui::DialogCharsetEncoding ui;
47
48
private
slots:
49
void
on_btnReloadFile_clicked();
50
void
on_btnAddPythonEncodingComment_clicked();
51
52
Q_SIGNALS:
53
void
addPythonEncodingComment(
const
QString &encoding);
54
void
reloadWithEncoding(
const
IOHelper::CharsetEncodingItem
&item);
55
};
56
57
}
//end namespace ito
ito::DialogScriptCharsetEncoding
Definition
dialogScriptCharsetEncoding.h:36
ito
Definition
apiFunctionsGraph.cpp:40
ito::IOHelper::CharsetEncodingItem
Definition
IOHelper.h:81
itom
Qitom
ui
dialogScriptCharsetEncoding.h
Generated on Tue Nov 12 2024 10:43:15 for itom by
1.12.0