mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Adding apply/discard/reset functionality to settings dialog
This commit is contained in:
parent
a6974e31a2
commit
87f611e026
10 changed files with 276 additions and 13 deletions
34
scwx-qt/source/scwx/qt/settings/settings_interface_base.cpp
Normal file
34
scwx-qt/source/scwx/qt/settings/settings_interface_base.cpp
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#include <scwx/qt/settings/settings_interface_base.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
namespace qt
|
||||
{
|
||||
namespace settings
|
||||
{
|
||||
|
||||
static const std::string logPrefix_ =
|
||||
"scwx::qt::settings::settings_interface_base";
|
||||
|
||||
class SettingsInterfaceBase::Impl
|
||||
{
|
||||
public:
|
||||
explicit Impl() {}
|
||||
~Impl() {}
|
||||
};
|
||||
|
||||
SettingsInterfaceBase::SettingsInterfaceBase() : p(std::make_unique<Impl>()) {}
|
||||
|
||||
SettingsInterfaceBase::~SettingsInterfaceBase() = default;
|
||||
|
||||
SettingsInterfaceBase::SettingsInterfaceBase(SettingsInterfaceBase&&) noexcept =
|
||||
default;
|
||||
|
||||
SettingsInterfaceBase&
|
||||
SettingsInterfaceBase::operator=(SettingsInterfaceBase&&) noexcept = default;
|
||||
|
||||
} // namespace settings
|
||||
} // namespace qt
|
||||
} // namespace scwx
|
||||
Loading…
Add table
Add a link
Reference in a new issue