rusificationwidget.h 706 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef RUSIFICATIONWIDGET_H
  2. #define RUSIFICATIONWIDGET_H
  3. #include <QWidget>
  4. #include <QTimer>
  5. namespace Ui {
  6. class RusificationWidget;
  7. }
  8. class LegacyApp;
  9. class RusificationWidget : public QWidget
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit RusificationWidget(LegacyApp *_app, QWidget *parent = 0);
  14. ~RusificationWidget();
  15. private:
  16. void hideAllImportWidgets();
  17. private slots:
  18. void on_database_import_radiobutton_common_clicked();
  19. void on_file_import_radiobutton_common_clicked();
  20. void on_textfragment_import_radiobutton_common_clicked();
  21. void updateUI();
  22. private:
  23. Ui::RusificationWidget *ui;
  24. LegacyApp *app;
  25. QTimer ui_update_timer;
  26. };
  27. #endif // RUSIFICATIONWIDGET_H