swift
src
gui
components
dbcountrycomponent.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6
#ifndef SWIFT_GUI_COMPONENTS_DBCOUNTRYCOMPONENT_H
7
#define SWIFT_GUI_COMPONENTS_DBCOUNTRYCOMPONENT_H
8
9
#include <QFrame>
10
#include <QObject>
11
#include <QScopedPointer>
12
13
#include "
gui/enablefordockwidgetinfoarea.h
"
14
#include "
gui/enableforviewbasedindicator.h
"
15
#include "
gui/swiftguiexport.h
"
16
#include "
misc/network/entityflags.h
"
17
18
class
QWidget;
19
20
namespace
Ui
21
{
22
class
CDbCountryComponent;
23
}
24
namespace
swift::gui::components
25
{
29
class
SWIFT_GUI_EXPORT
CDbCountryComponent
:
30
public
QFrame,
31
public
CEnableForDockWidgetInfoArea
,
32
public
swift::gui::CEnableForViewBasedIndicator
33
{
34
Q_OBJECT
35
36
public
:
38
explicit
CDbCountryComponent
(QWidget *parent =
nullptr
);
39
41
virtual
~
CDbCountryComponent
()
override
;
42
43
private
:
45
void
onCountriesRead(swift::misc::network::CEntityFlags::Entity entity,
46
swift::misc::network::CEntityFlags::ReadState
readState,
int
count,
const
QUrl &url);
47
49
void
onReload();
50
51
private
:
52
QScopedPointer<Ui::CDbCountryComponent> ui;
53
};
54
55
}
// namespace swift::gui::components
56
57
#endif
// SWIFT_GUI_COMPONENTS_DBCOUNTRYCOMPONENT_H
swift::gui::CEnableForDockWidgetInfoArea
Helper class: If a component is residing in an dockable widget. This class provides access to its inf...
Definition:
enablefordockwidgetinfoarea.h:23
swift::gui::CEnableForViewBasedIndicator
Hand over indication task to an embedded view.
Definition:
enableforviewbasedindicator.h:19
swift::gui::components::CDbCountryComponent
The countries.
Definition:
dbcountrycomponent.h:33
swift::misc::network::CEntityFlags::ReadState
ReadState
State of operation.
Definition:
entityflags.h:61
enablefordockwidgetinfoarea.h
enableforviewbasedindicator.h
entityflags.h
swift::gui::components
High level reusable GUI components.
Definition:
aboutdialog.cpp:13
swiftguiexport.h
SWIFT_GUI_EXPORT
#define SWIFT_GUI_EXPORT
Export a class or function from the library.
Definition:
swiftguiexport.h:19
Generated on Mon Mar 24 2025 16:42:19 for swift by
1.9.1