[us-commits] r2770 - trunk/programs/us_xpn_viewer

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Sun May 19 12:17:42 MDT 2019


Author: demeler
Date: 2019-05-19 18:17:41 +0000 (Sun, 19 May 2019)
New Revision: 2770

Modified:
   trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
Log:
changed from 2 to 3 multipliers for counters to better deal with runs with more than 100 scans/triple.



Modified: trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp
===================================================================
--- trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-05-18 20:56:17 UTC (rev 2769)
+++ trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp	2019-05-19 18:17:41 UTC (rev 2770)
@@ -336,8 +336,8 @@
    QLabel*      lb_scanctl  = us_banner( tr( "Scan Control" ) );
    QLabel*      lb_from     = us_label( tr( "From:" ) );
    QLabel*      lb_to       = us_label( tr( "To:" ) );
-                ct_from     = us_counter( 2, 0, 500, 1 );
-                ct_to       = us_counter( 2, 0, 500, 1 );
+                ct_from     = us_counter( 3, 0, 500, 1 );
+                ct_to       = us_counter( 3, 0, 500, 1 );
                 pb_exclude  = us_pushbutton( tr( "Exclude Scan Range" ) );
                 pb_include  = us_pushbutton( tr( "Include All Scans"  ) );
    ct_from  ->setFont( sfont );
@@ -888,8 +888,8 @@
    QLabel*      lb_scanctl  = us_banner( tr( "Scan Control" ) );
    QLabel*      lb_from     = us_label( tr( "From:" ) );
    QLabel*      lb_to       = us_label( tr( "To:" ) );
-                ct_from     = us_counter( 2, 0, 500, 1 );
-                ct_to       = us_counter( 2, 0, 500, 1 );
+                ct_from     = us_counter( 3, 0, 500, 1 );
+                ct_to       = us_counter( 3, 0, 500, 1 );
                 pb_exclude  = us_pushbutton( tr( "Exclude Scan Range" ) );
                 pb_include  = us_pushbutton( tr( "Include All Scans"  ) );
    ct_from  ->setFont( sfont );



More information about the us-commits mailing list