~ubuntu-branches/debian/jessie/ugene/jessie

« back to all changes in this revision

Viewing changes to src/plugins/dna_export/src/ExportAlignmentViewItems.h

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-11-02 13:29:07 UTC
  • mfrom: (1.2.1) (3.1.11 natty)
  • Revision ID: package-import@ubuntu.com-20111102132907-o34gwnt0uj5g6hen
Tags: 1.9.8+repack-1
* First release to Debian
  - added README.Debian
  - increased policy version to 3.9.2
  - added URLs for version control system
* Added debug package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * UGENE - Integrated Bioinformatics Tools.
 
3
 * Copyright (C) 2008-2011 UniPro <ugene@unipro.ru>
 
4
 * http://ugene.unipro.ru
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU General Public License
 
8
 * as published by the Free Software Foundation; either version 2
 
9
 * of the License, or (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
19
 * MA 02110-1301, USA.
 
20
 */
 
21
 
 
22
#ifndef _U2_EXPORT_ALIGNMENT_VIEW_ITEMS_H_
 
23
#define _U2_EXPORT_ALIGNMENT_VIEW_ITEMS_H_
 
24
 
 
25
#include <U2Core/global.h>
 
26
#include <U2Core/U2Region.h>
 
27
#include <U2Gui/ObjectViewModel.h>
 
28
 
 
29
namespace U2 {
 
30
 
 
31
class ADVSequenceObjectContext;
 
32
class AnnotatedDNAView;
 
33
class AnnotationSelection;
 
34
class Annotation;
 
35
class LRegionsSelection;
 
36
class MAlignment;
 
37
class MSAEditor;
 
38
 
 
39
class ExportAlignmentViewItemsController : public GObjectViewWindowContext {
 
40
    Q_OBJECT
 
41
public:
 
42
    ExportAlignmentViewItemsController(QObject* p);
 
43
 
 
44
 
 
45
protected:
 
46
    virtual void initViewContext(GObjectView* view);
 
47
    virtual void buildMenu(GObjectView* v, QMenu* m);
 
48
};
 
49
 
 
50
class MSAExportContext : public QObject {
 
51
    Q_OBJECT;
 
52
public:
 
53
    MSAExportContext(MSAEditor* e);
 
54
    void buildMenu(QMenu* m);
 
55
 
 
56
protected slots:
 
57
    void sl_exportNucleicMsaToAmino();   
 
58
 
 
59
    void updateActions();
 
60
 
 
61
private:
 
62
    MSAEditor*      editor;
 
63
    QAction*        translateMSAAction;    
 
64
 
 
65
};
 
66
 
 
67
}//namespace
 
68
 
 
69
#endif