Changeset 510

Show
Ignore:
Timestamp:
09/23/08 23:21:00 (2 months ago)
Author:
smoors
Message:

removed hidden buttons (drumeditor / piano-roll)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/src/PatternEditor/PatternEditorPanel.cpp

    r390 r510  
    213213 
    214214 
    215         // show drum editor btn 
    216         __show_drum_btn = new ToggleButton( 
    217                         NULL, 
    218                         "/skin_btn_on.png", 
    219                         "/skin_btn_off.png", 
    220                         "/skin_btn_over.png", 
    221                         QSize(40, 17), 
    222                         true 
    223         ); 
    224         __show_drum_btn->setText( trUtf8("Drum") ); 
    225         __show_drum_btn->setPressed( true ); 
    226         __show_drum_btn->setToolTip( trUtf8( "Show drum editor" ) ); 
    227         connect(__show_drum_btn, SIGNAL(clicked(Button*)), this, SLOT( showDrumEditorBtnClick(Button*))); 
    228         editor_top_hbox->addWidget(__show_drum_btn); 
    229         __show_drum_btn->hide(); 
    230  
    231  
    232         // show piano roll btn 
    233         __show_piano_btn = new ToggleButton( 
    234                         NULL, 
    235                         "/skin_btn_on.png", 
    236                         "/skin_btn_off.png", 
    237                         "/skin_btn_over.png", 
    238                         QSize(40, 17), 
    239                         true 
    240         ); 
    241         __show_piano_btn->setText( trUtf8("Piano") ); 
    242         __show_piano_btn->setPressed( false ); 
    243         __show_piano_btn->setToolTip( trUtf8( "Show piano roll editor" ) ); 
    244         connect(__show_piano_btn, SIGNAL(clicked(Button*)), this, SLOT( showPianoEditorBtnClick(Button*))); 
    245         editor_top_hbox->addWidget(__show_piano_btn); 
    246         __show_piano_btn->hide(); 
    247215// End Editor TOP 
    248216