31 #include <QScrollArea>
58 explicit GridWidget(
int rowCount = 100,
int columnCount =100,QWidget *parent = 0);
106 void switchOn(
int x,
int y,
const QColor& color);
238 void Dot(
int x,
int y, QColor colorSelected);
257 void RowMajorFill(
int x,
int y, QColor colorClicked, QColor toolColor);
276 void ColMajorFill(
int x,
int y, QColor colorClicked, QColor toolColor);
295 void DiagonalLeft(
int x,
int y, QColor colorClicked, QColor toolColor);
314 void DiagonalRight(
int x,
int y, QColor colorClicked, QColor toolColor);
331 void square(
int x,
int y, QColor toolColor,
int toolSize);
348 void triangle(
int x,
int y, QColor toolColor,
int toolSize);
365 void circle(
int x,
int y, QColor toolColor,
int toolSize);
402 void drawGrid(QPaintDevice * device);
429 void cellClicked(QPoint pos);
431 void canUndo(
bool can);
433 void canRedo(
bool can);