diff options
author | Stijn Buys <ingar@osirion.org> | 2013-08-03 09:31:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-08-03 09:31:17 +0000 |
commit | d7f292f0abbffb24dc683d754a2ab4b8b2938cc0 (patch) | |
tree | ab84004b8ab38916803ac39feea84f111b59df73 /src/sudokuwidget.h | |
parent | 850441d72ad73e6bcf3570e3f62287c28eaead31 (diff) |
Adds an option to mark cells with a unique solution.
Diffstat (limited to 'src/sudokuwidget.h')
-rw-r--r-- | src/sudokuwidget.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sudokuwidget.h b/src/sudokuwidget.h index 9ca6098..fb13234 100644 --- a/src/sudokuwidget.h +++ b/src/sudokuwidget.h @@ -30,7 +30,15 @@ public: * @brief return the default size hint for this widget * */ virtual QSize sizeHint() const; - + + inline const bool showHintUnique() const + { + return m_showHintUnique; + } + + void setShowHintUnique(const bool hintunique = true); + + protected: /** * @brief handle paint events @@ -44,6 +52,7 @@ protected: private: QLineEdit * sudokuwidget_value[9][9]; + bool m_showHintUnique; private slots: void verify(); |