~ubuntu-branches/debian/experimental/smplayer/experimental

« back to all changes in this revision

Viewing changes to src/prefinput.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2009-01-03 17:08:06 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090103170806-eodntb2slv6g2pb6
Tags: 0.6.6-0ubuntu1
* The "just before FF" release.
* New upstream release.
* debian/control: Bumped Standards-Version to 3.8.0.
* debian/copyright: Changed (C) to © to fix Lintian warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 in DVD menus"), "dvdnav_mouse" );
 
88
#endif
80
89
 
81
90
        // Copy to other combos
82
91
        for (int n=0; n < left_click_combo->count(); n++) {
267
276
        setWhatsThis(middle_click_combo, tr("Middle click"),
268
277
                tr("Select the action for middle click on the mouse.") );
269
278
 
 
279
        setWhatsThis(xbutton1_click_combo, tr("X Button 1"),
 
280
                tr("Select the action for the X button 1.") );
 
281
 
 
282
        setWhatsThis(xbutton2_click_combo, tr("X Button 2"),
 
283
                tr("Select the action for the X button 2.") );
 
284
 
270
285
        setWhatsThis(wheel_function_combo, tr("Wheel function"),
271
286
                tr("Select the action for the mouse wheel.") );
272
287
}