Printing: save custom color palette to QSettings

- save custom colors to QSettings.
- load custom colors from QSettings.
- set almond color palette as default palette.

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-12 06:42:50 +02:00 committed by Lubomir I. Ivanov
parent e1dda8df63
commit ed09b80c12
2 changed files with 23 additions and 3 deletions

View file

@ -49,7 +49,7 @@ struct template_options {
}
};
extern template_options::color_palette_struct almond_colors;
extern template_options::color_palette_struct almond_colors, custom_colors;
// should be based on a custom QPrintDialog class
class PrintOptions : public QWidget {