1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
vcmi/launcher/aboutProject/aboutproject_moc.h

54 lines
1.0 KiB
C++
Raw Normal View History

2023-06-30 14:24:43 +02:00
/*
* aboutproject_moc.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
#include "../StdInc.h"
namespace Ui
{
class AboutProjectView;
}
class CModListView;
class AboutProjectView : public QWidget
{
Q_OBJECT
void changeEvent(QEvent *event) override;
/// Hides a widget and expands second widgets to take place of first widget in layout
void hideAndStretchWidget(QGridLayout * layout, QWidget * toHide, QWidget * toStretch);
2023-06-30 14:24:43 +02:00
public:
explicit AboutProjectView(QWidget * parent = nullptr);
2023-06-30 14:24:43 +02:00
private slots:
void on_updatesButton_clicked();
void on_openGameDataDir_clicked();
void on_openUserDataDir_clicked();
void on_openTempDir_clicked();
void on_pushButtonDiscord_clicked();
void on_pushButtonGithub_clicked();
2023-07-03 13:30:13 +02:00
void on_pushButtonHomepage_clicked();
void on_pushButtonBugreport_clicked();
void on_openConfigDir_clicked();
2023-06-30 14:24:43 +02:00
private:
Ui::AboutProjectView * ui;
};