Buttons functionality
This commit is contained in:
parent
67e63561c4
commit
6b2dacb28f
4 changed files with 50 additions and 0 deletions
|
|
@ -66,6 +66,15 @@ const QList<Line> &GridPreview::getLines() const
|
|||
return lines;
|
||||
}
|
||||
|
||||
void GridPreview::clear()
|
||||
{
|
||||
lines.clear();
|
||||
width = 5;
|
||||
height = 5;
|
||||
|
||||
emit updatedContents();
|
||||
}
|
||||
|
||||
const Line &GridPreview::getLine(int index) const
|
||||
{
|
||||
return lines.at(index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue