+
+void Window::fullScreenMode ()
+{
+ showFullScreen();
+}
+
+void Window::lessCells ()
+{
+ int s = field->getSize() - 1;
+
+ field->setSize(s);
+ more->setEnabled(true);
+
+ if (!s)
+ less->setEnabled(false);
+}
+
+void Window::moreCells ()
+{
+ int s = field->getSize() + 1;
+
+ field->setSize(s);
+ less->setEnabled(true);
+
+ if (s == Field::NUM_SIZES - 1)
+ more->setEnabled(false);
+}
+
+void Window::colorScheme ()
+{
+ QAction *action = static_cast<typeof(action)>(QObject::sender());
+
+ ColorScheme::setScheme(ColorScheme::getNextColorScheme());
+
+ field->update();
+ colorButtons->update();
+
+ action->setText(ColorScheme::getSchemeName(
+ ColorScheme::getNextColorScheme()));
+}
+
+void Window::help ()
+{
+ QMessageBox box;
+ box.setWindowTitle("Color Flood");
+ box.setText(tr("The object of the game is to turn a board into one single color. Number of moves is limited. You start from top-left corner with one cell already flooded.\nGood luck!"));
+ box.exec();
+}