Printing: don't name color templates with confusing numbers

Use the color_palette enum instead.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Gehad elrobey 2015-07-26 19:57:57 +02:00 committed by Lubomir I. Ivanov
parent d41d79b549
commit ed5afc510e
3 changed files with 16 additions and 10 deletions

View file

@ -46,6 +46,12 @@ struct template_options {
extern template_options::color_palette_struct almond_colors, blueshades_colors, custom_colors;
enum color_palette {
ALMOND,
BLUESHADES,
CUSTOM
};
// should be based on a custom QPrintDialog class
class PrintOptions : public QWidget {
Q_OBJECT