LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
backendselector.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include <memory>
12 #include <QWidget>
13 #include "dbconfig.h"
14 
15 namespace Ui
16 {
17  class BackendSelector;
18 };
19 
20 namespace LC::Util
21 {
22  class BaseSettingsManager;
23 
62  class UTIL_DB_API BackendSelector : public QWidget
63  {
64  Q_OBJECT
65 
66  std::unique_ptr<Ui::BackendSelector> Ui_;
67  BaseSettingsManager *Manager_;
68  public:
78  explicit BackendSelector (BaseSettingsManager *manager, QWidget *parent = nullptr);
79  ~BackendSelector () override;
80  private:
81  void FillUI ();
82  public slots:
88  void accept ();
89 
95  void reject ();
96  };
97 }
UTIL_DB_API
#define UTIL_DB_API
Definition: dbconfig.h:16
dbconfig.h
LC::Util
Definition: icoreproxy.h:33
LC::Util::BackendSelector
A common dialog to select storage backend.
Definition: backendselector.h:62
Ui
Definition: backendselector.h:15