19 #ifndef INC_C4ConsoleQtLocalizeOverview
20 #define INC_C4ConsoleQtLocalizeOverview
27 #include "ui_C4ConsoleQtLocalizeOverview.h"
29 class C4ConsoleQtLocalizeOverviewDlg :
public QDialog
33 Ui::LocalizeOverviewDialog ui;
34 std::vector<C4PropertyCollection::Entry> lang_strings;
35 std::map<QString, int32_t> lang2col;
36 std::vector<QString> col2lang;
37 bool is_refreshing{
false };
47 C4ConsoleQtLocalizeOverviewDlg(
class QMainWindow *parent_window);
50 int32_t GetColumnByLanguage(
const char *lang)
const;
51 int32_t AddLanguageColumn(
const char *lang_id,
const char *lang_name);
52 void SetTableItem(int32_t row, int32_t col, TableItemType item_type,
const QString &
text);
53 void reject()
override;
58 void OnTableItemChanged(QTableWidgetItem *item);