add dynamic language change support

add "en" ts
This commit is contained in:
2020-05-25 16:59:19 +03:00
parent 69b0ee9d1a
commit c1fa375145
50 changed files with 1965 additions and 206 deletions

View File

@@ -72,7 +72,7 @@ namespace Ui {
}
class QAD_EXPORT DrawTools: public QObject
class QAD_EXPORT DrawTools: public QWidget
{
Q_OBJECT
Q_PROPERTY(bool resizeHandlesEnabled READ isResizeHandlesEnabled WRITE setResizeHandlesEnabled)
@@ -92,8 +92,9 @@ public:
protected:
bool eventFilter(QObject * o, QEvent * e);
void changeEvent(QEvent * e);
QAction * newAction(const QString & text, const QIcon & icon, int type);
QAction * newAction(const QIcon & icon, int type);
void setToolButtonsEnabled(bool pen, bool brush, bool wid_hei);
void blockPropSignals(bool block_);
void actionAlignTrigger(bool vert, Qt::AlignmentFlag value);
@@ -150,6 +151,8 @@ signals:
void itemEdited(QGraphicsItem * item);
void itemZChanged(QGraphicsItem * item);
private:
void retranslate();
};