Changeset 188 for smplayer/trunk/src/prefplaylist.cpp
- Timestamp:
- Jan 24, 2017, 12:41:54 PM (8 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 186
- Property svn:mergeinfo changed
-
smplayer/trunk/src/prefplaylist.cpp
r181 r188 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 6Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 116 116 } 117 117 118 void PrefPlaylist::setPlayOnLoad(bool b) { 119 play_on_load_check->setChecked(b); 120 } 121 122 bool PrefPlaylist::playOnLoad() { 123 return play_on_load_check->isChecked(); 124 } 125 126 void PrefPlaylist::setPlayNextAutomatically(bool b) { 127 play_next_automatically_check->setChecked(b); 128 } 129 130 bool PrefPlaylist::playNextAutomatically() { 131 return play_next_automatically_check->isChecked(); 132 } 133 118 134 void PrefPlaylist::setIgnorePlayerErrors(bool b) { 119 135 ignore_errors_check->setChecked(b); … … 124 140 } 125 141 142 void PrefPlaylist::setAutoSort(bool b) { 143 autosort_check->setChecked(b); 144 } 145 146 bool PrefPlaylist::autoSort() { 147 return autosort_check->isChecked(); 148 } 149 150 void PrefPlaylist::setFilterCaseSensitive(bool b) { 151 case_sensitive_search_check->setChecked(b); 152 } 153 154 bool PrefPlaylist::filterCaseSensitive() { 155 return case_sensitive_search_check->isChecked(); 156 } 157 126 158 void PrefPlaylist::createHelp() { 127 159 clearHelp(); 128 160 129 setWhatsThis(auto_add_to_playlist_check, tr("Automatically add files to playlist"), 161 setWhatsThis(play_from_start_check, tr("Play files from start"), 162 tr("If this option is enabled, all files from the playlist will " 163 "start to play from the beginning instead of resuming from a " 164 "previous playback.") ); 165 166 setWhatsThis(play_on_load_check, tr("Start playback after loading a playlist"), 167 tr("Playback will start just after loading a playlist.") ); 168 169 setWhatsThis(play_next_automatically_check, tr("Play next file automatically"), 170 tr("When a file reaches the end, the next file will be played automatically.") ); 171 172 setWhatsThis(ignore_errors_check, tr("Ignore playback errors"), 173 tr("If this option is enabled, the playlist will ignore playback errors from a previous file " 174 "and will play the next file in the list.") ); 175 176 setWhatsThis(auto_add_to_playlist_check, tr("Add files to the playlist automatically"), 130 177 tr("If this option is enabled, every time a file is opened, SMPlayer " 131 178 "will first clear the playlist and then add the file to it. In " … … 134 181 135 182 setWhatsThis(media_to_add_combo, tr("Add files from folder"), 136 tr("This option allowsto add files automatically to the playlist:") +"<br>"+183 tr("This option can be used to add files automatically to the playlist:") +"<br>"+ 137 184 tr("<b>None</b>: no files will be added") +"<br>"+ 138 185 tr("<b>Video files</b>: all video files found in the folder will be added") +"<br>"+ … … 141 188 tr("<b>Consecutive files</b>: consecutive files (like video_1.avi, video_2.avi) will be added") ); 142 189 143 setWhatsThis(play_from_start_check, tr("Play files from start"),144 tr("If this option is enabled, all files from the playlist will "145 "start to play from the beginning instead of resuming from a "146 "previous playback.") );147 190 148 191 setWhatsThis(recursive_check, tr("Add files in directories recursively"), … … 158 201 "specially if you add many files.")); 159 202 160 setWhatsThis(autosave_on_exit_check, tr("Save copy of playlist on exit"), 203 setWhatsThis(autosort_check, tr("Auto sort"), 204 tr("If this option is enabled the list will be sorted automatically after adding files.")); 205 206 setWhatsThis(case_sensitive_search_check, tr("Case sensitive search"), 207 tr("This option specifies whether the search in the playlist is case sensitive or not.")); 208 209 setWhatsThis(autosave_on_exit_check, tr("Save a copy of the playlist on exit"), 161 210 tr("If this option is checked, a copy of the playlist will be saved " 162 "in the smplayer configuration when smplayer is closed, and it will " 163 "reloaded automatically when smplayer is run again.")); 164 165 setWhatsThis(ignore_errors_check, tr("Play next file even if the previous file failed"), 166 tr("If this option is enabled, the playlist will ignore playback errors from a previous file " 167 "and will play the next file in the list.") ); 211 "in the configuration file when SMPlayer is closed, and it will " 212 "reloaded automatically when SMPlayer is run again.")); 168 213 } 169 214
Note:
See TracChangeset
for help on using the changeset viewer.