@@ -44,21 +44,21 @@ def __init__(self, parent=None, cutoff_value=0.05, limit_type="percent"):
4444 self .validators .percent .setLocale (locale )
4545 self .validators .number .setLocale (locale )
4646 self .buttons = Types (
47- QRadioButton ("Percent " ),
48- QRadioButton ("Cumulative perc. " ),
49- QRadioButton ("Number " ))
47+ QRadioButton ("Minimum % " ),
48+ QRadioButton ("Cumulative % " ),
49+ QRadioButton ("Top # " ))
5050 self .buttons .percent .setChecked (True )
5151 self .buttons .percent .setToolTip (
5252 "This cut-off type shows contributions of at least some percentage "
53- "(for example contributions of at least 5%)"
53+ "(for example contributions of at least 5% of the total impact )"
5454 )
5555 self .buttons .cum_percent .setToolTip (
5656 "This cut-off type shows contributions that together are some percentage "
57- "(for example all highest contributors that together count up to 80%)"
57+ "(for example all highest contributors that together count up to 80% of the total impact )"
5858 )
5959 self .buttons .number .setToolTip (
60- "This cut-off type shows this many of the largest contributors "
61- "(for example the top 5 contributors)"
60+ "This cut-off type shows this number of largest contributors "
61+ "(for example the top 5 largest contributors)"
6262 )
6363 self .button_group = QButtonGroup ()
6464 self .button_group .addButton (self .buttons .percent , 0 )
@@ -83,7 +83,7 @@ def __init__(self, parent=None, cutoff_value=0.05, limit_type="percent"):
8383 self .sliders .number .setToolTip (
8484 "This slider sets the amount of highest contributors to show"
8585 )
86- self .units = Types ("%" , "cumulative %" , "number" )
86+ self .units = Types ("minimum %" , "cumulative %" , "number" )
8787 self .labels = Labels (QLabel (), QLabel (), QLabel ())
8888 self .cutoff_slider_line = QLineEdit ()
8989 self .cutoff_slider_line .setToolTip (
@@ -353,7 +353,7 @@ def make_layout(self):
353353 cutoff_slider_minmax = QHBoxLayout ()
354354 self .labels .min .setText ("100%" )
355355 self .labels .max .setText ("0.001%" )
356- self .labels .unit .setText ("%" )
356+ self .labels .unit .setText ("minimum %" )
357357 cutoff_slider_ledit = QHBoxLayout ()
358358 self .cutoff_slider_line .setValidator (self .validators .percent )
359359 self .cutoff_slider_lft_btn .setMaximumWidth (15 )
0 commit comments