Ignore:
Timestamp:
Jan 24, 2017, 12:41:54 PM (8 years ago)
Author:
Silvan Scherrer
Message:

SMPlayer: update trunk to version 17.1.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/prefplaylist.cpp

    r181 r188  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    116116}
    117117
     118void PrefPlaylist::setPlayOnLoad(bool b) {
     119        play_on_load_check->setChecked(b);
     120}
     121
     122bool PrefPlaylist::playOnLoad() {
     123        return play_on_load_check->isChecked();
     124}
     125
     126void PrefPlaylist::setPlayNextAutomatically(bool b) {
     127        play_next_automatically_check->setChecked(b);
     128}
     129
     130bool PrefPlaylist::playNextAutomatically() {
     131        return play_next_automatically_check->isChecked();
     132}
     133
    118134void PrefPlaylist::setIgnorePlayerErrors(bool b) {
    119135        ignore_errors_check->setChecked(b);
     
    124140}
    125141
     142void PrefPlaylist::setAutoSort(bool b) {
     143        autosort_check->setChecked(b);
     144}
     145
     146bool PrefPlaylist::autoSort() {
     147        return autosort_check->isChecked();
     148}
     149
     150void PrefPlaylist::setFilterCaseSensitive(bool b) {
     151        case_sensitive_search_check->setChecked(b);
     152}
     153
     154bool PrefPlaylist::filterCaseSensitive() {
     155        return case_sensitive_search_check->isChecked();
     156}
     157
    126158void PrefPlaylist::createHelp() {
    127159        clearHelp();
    128160
    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"),
    130177                tr("If this option is enabled, every time a file is opened, SMPlayer "
    131178           "will first clear the playlist and then add the file to it. In "
     
    134181
    135182        setWhatsThis(media_to_add_combo, tr("Add files from folder"),
    136                 tr("This option allows to add files automatically to the playlist:") +"<br>"+
     183                tr("This option can be used to add files automatically to the playlist:") +"<br>"+
    137184                tr("<b>None</b>: no files will be added") +"<br>"+
    138185                tr("<b>Video files</b>: all video files found in the folder will be added") +"<br>"+
     
    141188                tr("<b>Consecutive files</b>: consecutive files (like video_1.avi, video_2.avi) will be added") );
    142189
    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.") );
    147190
    148191        setWhatsThis(recursive_check, tr("Add files in directories recursively"),
     
    158201        "specially if you add many files."));
    159202
    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"),
    161210                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."));
    168213}
    169214
Note: See TracChangeset for help on using the changeset viewer.