mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-01 19:51:31 +03:00
Turn off translation for object properties ability has been added to the object inspector
This commit is contained in:
@@ -56,7 +56,7 @@ namespace LimeReport{
|
||||
virtual QVariant propertyValue() const;
|
||||
virtual void setPropertyValue(QVariant value);
|
||||
virtual QString propertyName() const {return m_name;}
|
||||
virtual QString displayName() const {return m_displayName;}
|
||||
virtual QString displayName() const;
|
||||
virtual QString displayValue() const;
|
||||
virtual QIcon iconValue() const{return QIcon();}
|
||||
virtual bool isHaveChildren() const {return m_childItems.count()>0;}
|
||||
@@ -90,6 +90,8 @@ namespace LimeReport{
|
||||
void setModelIndex(const QModelIndex& index){m_index=index;}
|
||||
QModelIndex modelIndex(){return m_index;}
|
||||
bool isClass(){return m_isClass;}
|
||||
bool isTranslateProperty() const;
|
||||
void setTranslateProperty(bool translatePropperty);
|
||||
#ifdef INSPECT_BASEDESIGN
|
||||
private slots:
|
||||
void slotPropertyChanged(const QString& name, QVariant, QVariant newValue);
|
||||
@@ -120,6 +122,7 @@ namespace LimeReport{
|
||||
QModelIndex m_index;
|
||||
bool m_isClass;
|
||||
bool m_changingValue;
|
||||
bool m_translatePropperty;
|
||||
};
|
||||
|
||||
typedef QPair<QString,QString> APropIdent;
|
||||
|
Reference in New Issue
Block a user