File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
quickevent/app/quickevent/plugins/Event/src Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ EventConfig::EventConfig(QObject *parent)
3636 : QObject(parent)
3737{
3838}
39+
3940QVariant EventConfig::value (const QStringList &path, const QVariant &default_value) const
4041{
4142 // QF_ASSERT(knownKeys().contains(key), "Key " + key + " is not known key!", return QVariant());
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ class EventConfig : public QObject
3434 explicit EventConfig (QObject *parent = nullptr );
3535public:
3636 QVariantMap values () const {return m_data;}
37- // void setValues(const QVariantMap &vals);
3837 QVariant value (const QStringList &path, const QVariant &default_value = QVariant()) const ;
3938 QVariant value (const QString &path, const QVariant &default_value = QVariant()) const {return value (path.split (' .' ), default_value);}
4039 void setValue (const QStringList &path, const QVariant &val);
Original file line number Diff line number Diff line change 66 <rect >
77 <x >0</x >
88 <y >0</y >
9- <width >400 </width >
10- <height >675 </height >
9+ <width >469 </width >
10+ <height >805 </height >
1111 </rect >
1212 </property >
1313 <property name =" windowTitle" >
169169 </item >
170170 <item row =" 9" column =" 1" >
171171 <widget class =" QSpinBox" name =" ed_handicapLength" >
172+ <property name =" specialValueText" >
173+ <string >No handicap</string >
174+ </property >
172175 <property name =" suffix" >
173176 <string > min</string >
174177 </property >
175178 <property name =" minimum" >
176- <number >1 </number >
179+ <number >0 </number >
177180 </property >
178181 <property name =" maximum" >
179182 <number >99999</number >
182185 <number >10</number >
183186 </property >
184187 <property name =" value" >
185- <number >50 </number >
188+ <number >0 </number >
186189 </property >
187190 </widget >
188191 </item >
383386source - ORIS-> Event-> Information-> Event key</string >
384387 </property >
385388 <property name =" alignment" >
386- <set >Qt::AlignCenter</set >
389+ <set >Qt::AlignmentFlag:: AlignCenter</set >
387390 </property >
388391 </widget >
389392 </item >
@@ -404,7 +407,7 @@ source - ORIS->Event->Information->Event key</string>
404407 <item row =" 1" column =" 1" >
405408 <widget class =" QLineEdit" name =" ed_orisImportId" >
406409 <property name =" alignment" >
407- <set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
410+ <set >Qt::AlignmentFlag:: AlignRight|Qt::AlignmentFlag:: AlignTrailing|Qt::AlignmentFlag ::AlignVCenter</set >
408411 </property >
409412 <property name =" readOnly" >
410413 <bool >true</bool >
You can’t perform that action at this time.
0 commit comments