This repository has been archived on 2020-04-18. You can view files and clone it, but cannot push or open issues or pull requests.
FediPotato/gui/src/dialog_about.hpp

42 lines
883 B
C++

#ifndef FEDIPOTATO_GUI_DIALOG_ABOUT_HPP
#define FEDIPOTATO_GUI_DIALOG_ABOUT_HPP
#include "../ui/ui_dialog_about.h"
#include <QDialog>
#include <QLabel>
namespace FediPotato
{
class DialogAbout : public QDialog, private Ui::DialogAbout
{
public:
//! Default constructor
explicit DialogAbout(QDialog *parent = nullptr);
//! Copy constructor
DialogAbout(const DialogAbout &other) = delete;
//! Move constructor
DialogAbout(DialogAbout &&other) noexcept = delete;
//! Destructor
~DialogAbout() noexcept override = default;
//! Copy assignment operator
DialogAbout& operator=(const DialogAbout &other) = delete;
//! Move assignment operator
DialogAbout& operator=(DialogAbout &&other) noexcept = delete;
public:
private:
void display_authors() const;
};
} // namespace FediPotato
#endif // FEDIPOTATO_GUI_DIALOG_ABOUT_HPP