-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some tooltips for things that felt like they could use them #1443
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<enum>QTabWidget::Rounded</enum> | ||
</property> | ||
<property name="currentIndex"> | ||
<number>0</number> | ||
<number>1</number> | ||
</property> | ||
<widget class="QWidget" name="GeneralTab"> | ||
<attribute name="title"> | ||
|
@@ -91,20 +91,29 @@ | |
</item> | ||
<item> | ||
<widget class="QCheckBox" name="hideKeyboardCursor"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Hide the keyboard input cursor when editing using the mouse</p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string>&Hide keyboard input cursor</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="useLashCheckbox"> | ||
<property name="toolTip"> | ||
<string>Use the LASH Audio Session Handler</string> | ||
</property> | ||
<property name="text"> | ||
<string extracomment="LASH (acronym for LASH Audio Session Handler) is a protocol allowing for session management in Linux (recalling songs, preferences, and JACK port connections).">Use &LASH</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="patternFollowsSongCheckbox"> | ||
<property name="toolTip"> | ||
<string>Keep a currently-playing pattern selected when playing in Song Mode</string> | ||
</property> | ||
<property name="text"> | ||
<string>Selected pattern follows song</string> | ||
</property> | ||
|
@@ -211,6 +220,9 @@ | |
<layout class="QGridLayout" name="gridLayout"> | ||
<item row="0" column="0" colspan="2"> | ||
<widget class="QLabel" name="pathToRubberbandExLable"> | ||
<property name="toolTip"> | ||
<string>Rubberband is used to time-stretch or compress samples to playback at different pitches.</string> | ||
</property> | ||
<property name="text"> | ||
<string>Path to the Rubberband command-line utility</string> | ||
</property> | ||
|
@@ -237,6 +249,9 @@ | |
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Rubberband is used to time-stretch or compress samples to playback at different pitches.</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
|
@@ -266,7 +281,11 @@ | |
<widget class="QComboBox" name="driverComboBox"/> | ||
</item> | ||
<item row="4" column="1"> | ||
<widget class="HostAPIComboBox" name="portaudioHostAPIComboBox"/> | ||
<widget class="HostAPIComboBox" name="portaudioHostAPIComboBox"> | ||
<property name="toolTip"> | ||
<string>Underlying system API to use</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="9" column="1"> | ||
<widget class="QComboBox" name="trackOutputComboBox"> | ||
|
@@ -293,6 +312,9 @@ | |
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Audio output device to send Hydrogen audio to</string> | ||
</property> | ||
<property name="editable"> | ||
<bool>true</bool> | ||
</property> | ||
|
@@ -313,6 +335,9 @@ | |
</item> | ||
<item row="4" column="0"> | ||
<widget class="QLabel" name="portaudioHostAPILabel"> | ||
<property name="toolTip"> | ||
<string>Underlying system API to use</string> | ||
</property> | ||
<property name="text"> | ||
<string>Host API</string> | ||
</property> | ||
|
@@ -342,6 +367,9 @@ | |
<height>22</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Audio buffer size (in frames). This generally determines the <span style=" font-weight:700;">minimum</span> audio latency the system can achieve. Actual audio latency will be greater.</p><p>Selecting a buffer size that is too small may lead to audible glitches, particularly if the system becomes more heavily loaded.</p><p><span style=" font-weight:700;">Use with caution.</span></p></body></html></string> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is one potential problem with HTML in the translatable text. When using a standard editor to do the translation all the HTML code is displayed in plain text (not sure whether there are more elaborated ones out there). If the translator does not know HTML she might end up translating things like "body" or "style". Not quite sure if that ever happened but at least ones I encountered mismatching brackets in a translation which made Qt unable to render them |
||
</property> | ||
<property name="minimum"> | ||
<number>100</number> | ||
</property> | ||
|
@@ -381,20 +409,29 @@ | |
</item> | ||
<item row="5" column="0"> | ||
<widget class="QLabel" name="audioDeviceLbl"> | ||
<property name="toolTip"> | ||
<string>Audio output device to send Hydrogen audio to</string> | ||
</property> | ||
<property name="text"> | ||
<string>Device</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="7" column="0"> | ||
<widget class="QLabel" name="latencyTargetLabel"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Set the target latency that the audio system attempts to achieve.</p><p>Selecting a latency that is too small may lead to audible glitches, particularly if the system becomes more heavily loaded.</p><p><span style=" font-weight:700;">Use with caution.</span></p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string>Latency target</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="8" column="1"> | ||
<widget class="QComboBox" name="sampleRateComboBox"> | ||
<property name="toolTip"> | ||
<string>Audio sample rate (or frame rate) to use. 44100 frames/second is CD-quality.</string> | ||
</property> | ||
<property name="currentIndex"> | ||
<number>0</number> | ||
</property> | ||
|
@@ -428,6 +465,9 @@ | |
<height>22</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Audio buffer size (in frames). This generally determines the <span style=" font-weight:700;">minimum</span> audio latency the system can achieve. Actual audio latency will be greater.</p><p>Selecting a buffer size that is too small may lead to audible glitches, particularly if the system becomes more heavily loaded.</p><p><span style=" font-weight:700;">Use with caution.</span></p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string>Buffer size</string> | ||
</property> | ||
|
@@ -441,6 +481,9 @@ | |
<height>22</height> | ||
</size> | ||
</property> | ||
<property name="toolTip"> | ||
<string>Audio sample rate (or frame rate) to use. 44100 frames/second is CD-quality.</string> | ||
</property> | ||
<property name="text"> | ||
<string>Sample rate</string> | ||
</property> | ||
|
@@ -450,6 +493,9 @@ | |
<layout class="QHBoxLayout" name="horizontalLayout_11"> | ||
<item> | ||
<widget class="QSpinBox" name="latencyTargetSpinBox"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Set the target latency that the audio system attempts to achieve.</p><p>Selecting a latency that is too small may lead to audible glitches, particularly if the system becomes more heavily loaded.</p><p><span style=" font-weight:700;">Use with caution.</span></p></body></html></string> | ||
</property> | ||
<property name="maximum"> | ||
<number>48000</number> | ||
</property> | ||
|
@@ -460,6 +506,9 @@ | |
</item> | ||
<item> | ||
<widget class="QLabel" name="latencyValueLabel"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Set the target latency that the audio system attempts to achieve.</p><p>Selecting a latency that is too small may lead to audible glitches, particularly if the system becomes more heavily loaded.</p><p><span style=" font-weight:700;">Use with caution.</span></p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string/> | ||
</property> | ||
|
@@ -505,6 +554,9 @@ | |
</item> | ||
<item> | ||
<widget class="QPushButton" name="restartDriverBtn"> | ||
<property name="toolTip"> | ||
<string>Restart audio system to apply currently selected parameters.</string> | ||
</property> | ||
<property name="text"> | ||
<string>Apply and restart output</string> | ||
</property> | ||
|
@@ -586,13 +638,19 @@ | |
<layout class="QHBoxLayout" name="horizontalLayout_31"> | ||
<item> | ||
<widget class="QLabel" name="resapelingLbl"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Interpolation method used when rendering samples at different frequencies.</p><p>Linear interpolation is fastest and provides reasonable sound quality. Others are higher quality but have higher CPU usage penalties.</p><p>The differences will be most noticable where samples are played back at much different frequencies from the audio system sample rate (eg. low quality samples, particularly played at low pitch).</p></body></html></string> | ||
</property> | ||
<property name="text"> | ||
<string>Interpolate resampling</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QComboBox" name="resampleComboBox"> | ||
<property name="toolTip"> | ||
<string><html><head/><body><p>Interpolation method used when rendering samples at different frequencies.</p><p>Linear interpolation is fastest and provides reasonable sound quality. Others are higher quality but have higher CPU usage penalties.</p><p>The differences will be most noticable where samples are played back at much different frequencies from the audio system sample rate (eg. low quality samples, particularly played at low pitch).</p></body></html></string> | ||
</property> | ||
<item> | ||
<property name="text"> | ||
<string>Linear</string> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a unit test for this one :D