@@ -183,7 +183,7 int QHXYModelMapper::xRow() const | |||||
183 | void QHXYModelMapper::setXRow(int xRow) |
|
183 | void QHXYModelMapper::setXRow(int xRow) | |
184 | { |
|
184 | { | |
185 | if (xRow != xSection()) { |
|
185 | if (xRow != xSection()) { | |
186 |
|
|
186 | QXYModelMapper::setXSection(xRow); | |
187 | emit xRowChanged(); |
|
187 | emit xRowChanged(); | |
188 | } |
|
188 | } | |
189 | } |
|
189 | } | |
@@ -196,7 +196,7 int QHXYModelMapper::yRow() const | |||||
196 | void QHXYModelMapper::setYRow(int yRow) |
|
196 | void QHXYModelMapper::setYRow(int yRow) | |
197 | { |
|
197 | { | |
198 | if (yRow != ySection()) { |
|
198 | if (yRow != ySection()) { | |
199 |
|
|
199 | QXYModelMapper::setYSection(yRow); | |
200 | emit yRowChanged(); |
|
200 | emit yRowChanged(); | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } |
@@ -183,7 +183,7 int QVXYModelMapper::xColumn() const | |||||
183 | void QVXYModelMapper::setXColumn(int xColumn) |
|
183 | void QVXYModelMapper::setXColumn(int xColumn) | |
184 | { |
|
184 | { | |
185 | if (xColumn != xSection()) { |
|
185 | if (xColumn != xSection()) { | |
186 |
|
|
186 | QXYModelMapper::setXSection(xColumn); | |
187 | emit xColumnChanged(); |
|
187 | emit xColumnChanged(); | |
188 | } |
|
188 | } | |
189 | } |
|
189 | } | |
@@ -196,7 +196,7 int QVXYModelMapper::yColumn() const | |||||
196 | void QVXYModelMapper::setYColumn(int yColumn) |
|
196 | void QVXYModelMapper::setYColumn(int yColumn) | |
197 | { |
|
197 | { | |
198 | if (yColumn != ySection()) { |
|
198 | if (yColumn != ySection()) { | |
199 |
|
|
199 | QXYModelMapper::setYSection(yColumn); | |
200 | emit yColumnChanged(); |
|
200 | emit yColumnChanged(); | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } |
General Comments 0
You need to be logged in to leave comments.
Login now