Added color selection icon

Tue, 19 Mar 2013 17:09:07 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 19 Mar 2013 17:09:07 +0200
changeset 33
3e0cca764fd6
parent 32
5d22b7ecf110
child 34
d99006de6261

Added color selection icon

gldraw.h file | annotate | diff | comparison | revisions
icons/colorselect.png file | annotate | diff | comparison | revisions
zz_configDialog.cpp file | annotate | diff | comparison | revisions
--- a/gldraw.h	Tue Mar 19 16:36:08 2013 +0200
+++ b/gldraw.h	Tue Mar 19 17:09:07 2013 +0200
@@ -30,7 +30,7 @@
 	renderer (QWidget* parent = nullptr);
 	void hardRefresh ();
 	void compileObjects ();
-    void setBackground ();
+	void setBackground ();
 	
 	double fRotX, fRotY, fRotZ;
 	QPoint lastPos;
Binary file icons/colorselect.png has changed
--- a/zz_configDialog.cpp	Tue Mar 19 16:36:08 2013 +0200
+++ b/zz_configDialog.cpp	Tue Mar 19 17:09:07 2013 +0200
@@ -91,6 +91,7 @@
 // =============================================================================
 void ConfigDialog::slot_setGLBackground () {
 	QColorDialog dlg (QColor (gl_bgcolor.value.chars()));
+	dlg.setWindowIcon (QIcon ("icons/colorselect.png"));
 	
 	if (dlg.exec ()) {
 		uchar r = dlg.currentColor ().red (),

mercurial