| 1234567891011121314151617181920212223242526272829303132333435363738 |
- /*
- * translations.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 <QDialog>
- #include "../lib/mapping/CMapHeader.h"
- namespace Ui {
- class Translations;
- }
- class Translations : public QDialog
- {
- Q_OBJECT
- public:
- explicit Translations(CMapHeader & mapHeader, QWidget *parent = nullptr);
- ~Translations();
- private slots:
- void on_languageSelect_currentIndexChanged(int index);
- void on_supportedCheck_toggled(bool checked);
- void on_translationsTable_itemChanged(QTableWidgetItem *item);
- private:
- Ui::Translations *ui;
- CMapHeader & mapHeader;
- };
|