blob: c684e18d40dc97ba74aca323992533c2dac65660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef LOCALESELECTOR_H
#define LOCALESELECTOR_H
#include <QComboBox>
class LocaleSelector : public QComboBox
{
Q_OBJECT
public:
LocaleSelector(QWidget *parent = nullptr);
signals:
void localeSelected(const QLocale &locale);
private slots:
void emitLocaleSelected(int index);
};
#endif //LOCALESELECTOR_H
|