mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e1dda8df63
commit
ed09b80c12
2 changed files with 23 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue