| 349 | } |
| 350 | |
| 351 | TileEditor::TileEditor(QWidget* parent) : |
| 352 | QVBox(parent), |
| 353 | editor(this), |
| 354 | palette(this) |
| 355 | { |
| 356 | connect( &palette, SIGNAL(pick(QRgb)), |
| 357 | &editor, SLOT(setColor(QRgb)) ); |
| 358 | connect( &editor, SIGNAL(pick(QRgb)), |
| 359 | &palette, SLOT(setColor(QRgb)) ); |
| 360 | connect( &editor, SIGNAL(edited(const QImage&)), |
| 361 | this, SIGNAL(edited(const QImage&)) ); |
| 362 | } |
| 363 | |
| 364 | void TileEditor::edit(const QImage& i) |
| 365 | { |
nothing calls this directly
no outgoing calls
no test coverage detected