Mod info, with less HTML!

And responding to keyboard events too.
This commit is contained in:
Petr Mrázek
2013-10-09 02:03:02 +02:00
parent 36edf6cbc6
commit 6bc9df84d9
7 changed files with 168 additions and 207 deletions

View File

@@ -18,14 +18,15 @@
#include <QFrame>
#include "logic/Mod.h"
namespace Ui {
namespace Ui
{
class MCModInfoFrame;
}
class MCModInfoFrame : public QFrame
{
Q_OBJECT
public:
explicit MCModInfoFrame(QWidget *parent = 0);
~MCModInfoFrame();
@@ -36,9 +37,9 @@ public:
void setCredits(QString credits);
void setWebsite(QString website);
void updateWithMod(Mod &m);
void clear();
private:
Ui::MCModInfoFrame *ui;
};
void handleModInfoUpdate(Mod &m, MCModInfoFrame *frame);