add dynamic language change support
add "en" ts
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user