diff options
| author | 2017-02-19 19:09:46 -0800 | |
|---|---|---|
| committer | 2017-02-26 17:22:03 -0800 | |
| commit | f273959205fbafd80a256117bc53b3c79517cbdb (patch) | |
| tree | 9bfb502b5de03d20efb13272bac38d2063793f86 /src | |
| parent | Qt: Don't show fractional figures in the status bar (diff) | |
| download | yuzu-f273959205fbafd80a256117bc53b3c79517cbdb.tar.gz yuzu-f273959205fbafd80a256117bc53b3c79517cbdb.tar.xz yuzu-f273959205fbafd80a256117bc53b3c79517cbdb.zip | |
Qt: Add tooltips to status bar displays
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 955faf748..cbfb267ab 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -97,8 +97,15 @@ void GMainWindow::InitializeWidgets() { | |||
| 97 | 97 | ||
| 98 | // Create status bar | 98 | // Create status bar |
| 99 | emu_speed_label = new QLabel(); | 99 | emu_speed_label = new QLabel(); |
| 100 | emu_speed_label->setToolTip(tr("Current emulation speed. Values higher or lower than 100% " | ||
| 101 | "indicate emulation is running faster or slower than a 3DS.")); | ||
| 100 | game_fps_label = new QLabel(); | 102 | game_fps_label = new QLabel(); |
| 103 | game_fps_label->setToolTip(tr("How many frames per second the game is currently displaying. " | ||
| 104 | "This will vary from game to game and scene to scene.")); | ||
| 101 | emu_frametime_label = new QLabel(); | 105 | emu_frametime_label = new QLabel(); |
| 106 | emu_frametime_label->setToolTip( | ||
| 107 | tr("Time taken to emulate a 3DS frame, not counting framelimiting or v-sync. For " | ||
| 108 | "full-speed emulation this should be at most 16.67 ms.")); | ||
| 102 | 109 | ||
| 103 | for (auto& label : {emu_speed_label, game_fps_label, emu_frametime_label}) { | 110 | for (auto& label : {emu_speed_label, game_fps_label, emu_frametime_label}) { |
| 104 | label->setVisible(false); | 111 | label->setVisible(false); |