~ubuntu-branches/ubuntu/wily/smplayer/wily

« back to all changes in this revision

Viewing changes to src/prefinput.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-03-31 23:05:43 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20090331230543-0h2hfwpwlu9opbv2
* New upstream release. (Closes: #523791)
  - Reworked subtitle font preferences. (Closes: #503295)
  - No longer installs qt_fr.qm. (Closes: #486314)
* debian/control:
  - Bumped Standards-Version to 3.8.1.
  - Changed maintainer name (still the same person and GPG key).
  - Changed section to video.
  - Build-depend on zlib1g-dev for findsubtitles.
  - Require Qt >= 4.3 per readme.
  - Added ${misc:Depends}.
  - Make smplayer-translations depend on smplayer and smplayer recommend
    smplayer-translations, not the other way round. (Closes: #489375)
* debian/copyright:
  - Significantly expanded per-file with new upstream authors.
* debian/rules:
  - Make make use correct uic in install.
  - Clean svn_revision.
  - Removed get-orig-source - not needed with uscan --repack.
* debian/patches/01_gl_translation.patch:
  - Added patch to fix lrelease error on smplayer_gl.ts.
* Added debian/README.source for simple-patchsys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2008 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
20
20
#include "prefinput.h"
21
21
#include "images.h"
22
22
#include "preferences.h"
23
 
 
 
23
#include "config.h"
24
24
#include "guiconfig.h"
25
25
 
26
26
PrefInput::PrefInput(QWidget * parent, Qt::WindowFlags f)
45
45
 
46
46
void PrefInput::createMouseCombos() {
47
47
        left_click_combo->clear();
 
48
        right_click_combo->clear();
48
49
        double_click_combo->clear();
49
50
        middle_click_combo->clear();
50
51
        xbutton1_click_combo->clear();
62
63
        left_click_combo->addItem( tr("Go forward (short)"), "forward1" );
63
64
        left_click_combo->addItem( tr("Go forward (medium)"), "forward2" );
64
65
        left_click_combo->addItem( tr("Go forward (long)"), "forward3" );
 
66
        left_click_combo->addItem( tr("Increase volume"), "increase_volume" );
 
67
        left_click_combo->addItem( tr("Decrease volume"), "decrease_volume" );
65
68
        left_click_combo->addItem( tr("Fullscreen"), "fullscreen" );
66
69
        left_click_combo->addItem( tr("Compact"), "compact" );
67
70
        left_click_combo->addItem( tr("Screenshot"), "screenshot" );
68
 
        left_click_combo->addItem( tr("On top"), "on_top" );
 
71
        left_click_combo->addItem( tr("Always on top"), "on_top_always" );
 
72
        left_click_combo->addItem( tr("Never on top"), "on_top_never" );
 
73
        left_click_combo->addItem( tr("On top while playing"), "on_top_while_playing" );
69
74
        left_click_combo->addItem( tr("Mute"), "mute" );
70
75
        left_click_combo->addItem( tr("OSD - Next level"), "next_osd" );
71
76
        left_click_combo->addItem( tr("Playlist"), "show_playlist" );
75
80
        left_click_combo->addItem( tr("Frame counter"), "frame_counter" );
76
81
        left_click_combo->addItem( tr("Preferences"), "show_preferences" );
77
82
        left_click_combo->addItem( tr("Double size"), "toggle_double_size" );
78
 
        left_click_combo->addItem( tr("Show equalizer"), "equalizer" );
 
83
        left_click_combo->addItem( tr("Show video equalizer"), "video_equalizer" );
 
84
        left_click_combo->addItem( tr("Show audio equalizer"), "audio_equalizer" );
79
85
        left_click_combo->addItem( tr("Show context menu"), "show_context_menu" );
 
86
#if DVDNAV_SUPPORT
 
87
        left_click_combo->addItem( tr("Activate option under mouse in DVD menus"), "dvdnav_mouse" );
 
88
        left_click_combo->addItem( tr("Return to main DVD menu"), "dvdnav_menu" );
 
89
        left_click_combo->addItem( tr("Return to previous menu in DVD menus"), "dvdnav_prev" );
 
90
        left_click_combo->addItem( tr("Move cursor up in DVD menus"), "dvdnav_up" );
 
91
        left_click_combo->addItem( tr("Move cursor down in DVD menus"), "dvdnav_down" );
 
92
        left_click_combo->addItem( tr("Move cursor left in DVD menus"), "dvdnav_left" );
 
93
        left_click_combo->addItem( tr("Move cursor right in DVD menus"), "dvdnav_right" );
 
94
        left_click_combo->addItem( tr("Activate highlighted option in DVD menus"), "dvdnav_select" );
 
95
#endif
80
96
 
81
97
        // Copy to other combos
82
98
        for (int n=0; n < left_click_combo->count(); n++) {
267
283
        setWhatsThis(middle_click_combo, tr("Middle click"),
268
284
                tr("Select the action for middle click on the mouse.") );
269
285
 
 
286
        setWhatsThis(xbutton1_click_combo, tr("X Button 1"),
 
287
                tr("Select the action for the X button 1.") );
 
288
 
 
289
        setWhatsThis(xbutton2_click_combo, tr("X Button 2"),
 
290
                tr("Select the action for the X button 2.") );
 
291
 
270
292
        setWhatsThis(wheel_function_combo, tr("Wheel function"),
271
293
                tr("Select the action for the mouse wheel.") );
272
294
}