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/window_main.hpp

45 lines
927 B
C++

#ifndef FEDIPOTATO_GUI_WINDOW_MAIN_HPP
#define FEDIPOTATO_GUI_WINDOW_MAIN_HPP
#include "../ui/ui_window_main.h"
#include <QMainWindow>
#include <QLabel>
namespace FediPotato
{
class WindowMain : public QMainWindow, private Ui::WindowMain
{
Q_OBJECT
public:
//! Default constructor
explicit WindowMain(QMainWindow *parent = nullptr);
//! Copy constructor
WindowMain(const WindowMain &other) = delete;
//! Move constructor
WindowMain(WindowMain &&other) noexcept = delete;
//! Destructor
~WindowMain() noexcept override = default;
//! Copy assignment operator
WindowMain& operator=(const WindowMain &other) = delete;
//! Move assignment operator
WindowMain& operator=(WindowMain &&other) noexcept = delete;
public:
private slots:
static void show_about();
static void open_website();
};
} // namespace FediPotato
#endif // FEDIPOTATO_GUI_WINDOW_MAIN_HPP