0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 00:54:39 +03:00

typo fixed

This commit is contained in:
Arin Alexander 2018-05-22 11:13:36 +03:00
parent 98cf12984e
commit 77f26a846b
5 changed files with 11 additions and 8 deletions

View File

@ -507,7 +507,7 @@ QObject *ProxyDesc::elementAt(const QString &collectionName, int index)
ProxyHolder::ProxyHolder(ProxyDesc* desc, DataSourceManager* dataManager) ProxyHolder::ProxyHolder(ProxyDesc* desc, DataSourceManager* dataManager)
:m_model(0), m_desc(desc), m_lastError(""), m_mode(IDataSource::RENDER_MODE), :m_model(0), m_desc(desc), m_lastError(""), m_mode(IDataSource::RENDER_MODE),
m_invalid(false), m_dataManger(dataManager) m_invalid(false), m_dataManager(dataManager)
{} {}
QString ProxyHolder::masterDatasource() QString ProxyHolder::masterDatasource()

View File

@ -337,7 +337,7 @@ public:
void invalidate(IDataSource::DatasourceMode mode, bool dbWillBeClosed = false); void invalidate(IDataSource::DatasourceMode mode, bool dbWillBeClosed = false);
void update(){} void update(){}
void clearErrors(){m_lastError = "";} void clearErrors(){m_lastError = "";}
DataSourceManager* dataManager() const {return m_dataManger;} DataSourceManager* dataManager() const {return m_dataManager;}
private slots: private slots:
void slotChildModelDestoroyed(); void slotChildModelDestoroyed();
private: private:
@ -347,7 +347,7 @@ private:
QString m_lastError; QString m_lastError;
IDataSource::DatasourceMode m_mode; IDataSource::DatasourceMode m_mode;
bool m_invalid; bool m_invalid;
DataSourceManager* m_dataManger; DataSourceManager* m_dataManager;
}; };
class ModelToDataSource : public QObject, public IDataSource{ class ModelToDataSource : public QObject, public IDataSource{

View File

@ -262,7 +262,7 @@ bool ScriptEngineManager::addFunction(const JSFunctionDesc &functionDescriber)
return false; return false;
} }
} else { } else {
m_lastError = tr("Function manger with name \"%1\" already exists!"); m_lastError = tr("Function manager with name \"%1\" already exists!");
return false; return false;
} }

View File

@ -232,10 +232,10 @@ public:
const QString& functionCategory, const QString& functionCategory,
const QString& functionDescription, const QString& functionDescription,
const QString& functionManagerName, const QString& functionManagerName,
QObject* functionManger, QObject* functionManager,
const QString& functionScriptWrapper const QString& functionScriptWrapper
): m_name(functionName), m_category(functionCategory), m_description(functionDescription), ): m_name(functionName), m_category(functionCategory), m_description(functionDescription),
m_managerName(functionManagerName), m_manager(functionManger), m_scriptWrapper(functionScriptWrapper) m_managerName(functionManagerName), m_manager(functionManager), m_scriptWrapper(functionScriptWrapper)
{} {}
QString name() const; QString name() const;
void setName(const QString &name); void setName(const QString &name);

View File

@ -7,11 +7,11 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>397</width> <width>397</width>
<height>378</height> <height>345</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum"> <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -20,6 +20,9 @@
<string>Designer setting</string> <string>Designer setting</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_3"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item> <item>
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">