mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
56 lines
1.1 KiB
C++
56 lines
1.1 KiB
C++
/*
|
|
* 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);
|
|
|
|
public:
|
|
explicit AboutProjectView(QWidget * parent = nullptr);
|
|
|
|
private slots:
|
|
void on_updatesButton_clicked();
|
|
|
|
void on_openGameDataDir_clicked();
|
|
|
|
void on_openUserDataDir_clicked();
|
|
|
|
void on_openTempDir_clicked();
|
|
|
|
void on_pushButtonDiscord_clicked();
|
|
|
|
void on_pushButtonSlack_clicked();
|
|
|
|
void on_pushButtonGithub_clicked();
|
|
|
|
void on_pushButtonHomepage_clicked();
|
|
|
|
void on_pushButtonBugreport_clicked();
|
|
|
|
void on_openConfigDir_clicked();
|
|
|
|
private:
|
|
Ui::AboutProjectView * ui;
|
|
};
|