~ubuntu-branches/ubuntu/wily/muse/wily-proposed

« back to all changes in this revision

Viewing changes to muse/widgets/function_dialogs/remove.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 17:12:54 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20111203171254-28b1j4lpb46r5jtl
Tags: 2.0~rc1-1
* New upstream RC release.
* Refresh patches, remove those patches not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//    $Id: remove.h,v 1.1.1.1 2011/05/05 18:51:04 flo93 Exp $
 
5
//  (C) Copyright 2011 Florian Jung (flo93@sourceforge.net)
 
6
//
 
7
//  This program is free software; you can redistribute it and/or
 
8
//  modify it under the terms of the GNU General Public License
 
9
//  as published by the Free Software Foundation; version 2 of
 
10
//  the License, or (at your option) any later version.
 
11
//
 
12
//  This program is distributed in the hope that it will be useful,
 
13
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
//  GNU General Public License for more details.
 
16
//
 
17
//  You should have received a copy of the GNU General Public License
 
18
//  along with this program; if not, write to the Free Software
 
19
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
20
//
 
21
//=========================================================
 
22
 
 
23
#ifndef __REMOVE_H__
 
24
#define __REMOVE_H__
 
25
 
 
26
#include "ui_removebase.h"
 
27
 
 
28
class QButtonGroup;
 
29
 
 
30
namespace MusECore {
 
31
class Xml;
 
32
}
 
33
 
 
34
namespace MusEGui {
 
35
 
 
36
class Remove : public QDialog, public Ui::RemoveBase
 
37
{
 
38
        Q_OBJECT
 
39
        private:
 
40
                
 
41
                QButtonGroup* range_group;
 
42
                
 
43
        protected slots:
 
44
                void accept();
 
45
                void pull_values();
 
46
 
 
47
        public:
 
48
                Remove(QWidget* parent = 0);
 
49
 
 
50
                int range;
 
51
                int velo_threshold;
 
52
                bool velo_thres_used;
 
53
                int len_threshold;
 
54
                bool len_thres_used;
 
55
                
 
56
                void read_configuration(MusECore::Xml& xml);
 
57
                void write_configuration(int level, MusECore::Xml& xml);
 
58
                
 
59
                
 
60
        public slots:
 
61
                int exec();
 
62
};
 
63
 
 
64
} // namespace MusEGui
 
65
 
 
66
#endif
 
67