[rkward-cvs] SF.net SVN: rkward:[2941] trunk/rkward/rkward/settings/ rksettingsmoduleoutput.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Jul 5 17:23:16 UTC 2010


Revision: 2941
          http://rkward.svn.sourceforge.net/rkward/?rev=2941&view=rev
Author:   tfry
Date:     2010-07-05 17:23:16 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
Separate the history settings, graphically.
Increase the allowable ranges. We should use sensible defaults for those users who don't care, but for those who do, we should be careful not to impose too strict limits.

Modified Paths:
--------------
    trunk/rkward/rkward/settings/rksettingsmoduleoutput.cpp

Modified: trunk/rkward/rkward/settings/rksettingsmoduleoutput.cpp
===================================================================
--- trunk/rkward/rkward/settings/rksettingsmoduleoutput.cpp	2010-07-05 11:28:44 UTC (rev 2940)
+++ trunk/rkward/rkward/settings/rksettingsmoduleoutput.cpp	2010-07-05 17:23:16 UTC (rev 2941)
@@ -90,13 +90,17 @@
 	connect (graphics_width_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged (int)));
 	connect (graphics_height_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged (int)));
 
+	main_vbox->addWidget (group);
+
+	group = new QGroupBox (i18n ("Screen device history"), this);
+	group_layout = new QVBoxLayout (group);
 	h_layout = new QHBoxLayout (group);
 	group_layout->addLayout (h_layout);
 	h_layout->addWidget (new QLabel (i18n ("History length:"), group));
-	h_layout->addWidget (graphics_hist_max_length_box = new KIntSpinBox (2, 25, 1, graphics_hist_max_length, group));
+	h_layout->addWidget (graphics_hist_max_length_box = new KIntSpinBox (1, 200, 1, graphics_hist_max_length, group));
 	h_layout->addSpacing (2*RKGlobals::spacingHint ());
 	h_layout->addWidget (new QLabel (i18n ("History size:"), group));
-	h_layout->addWidget (graphics_hist_max_plotsize_box = new KIntSpinBox (4, 2048, 4, graphics_hist_max_plotsize, group)); // in KB
+	h_layout->addWidget (graphics_hist_max_plotsize_box = new KIntSpinBox (4, 20000, 4, graphics_hist_max_plotsize, group)); // in KB
 	h_layout->addWidget (new QLabel (i18n ("KiB"), group));
 	h_layout->addStretch ();
 	connect (graphics_hist_max_length_box, SIGNAL (valueChanged (int)), this, SLOT (boxChanged (int)));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list