projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix problems with motif changes not showing up in sequencebrowser
[mussa.git]
/
qui
/
seqbrowser
/
SequenceBrowserWidget.hpp
diff --git
a/qui/seqbrowser/SequenceBrowserWidget.hpp
b/qui/seqbrowser/SequenceBrowserWidget.hpp
index 2b47d412a8945c8dfb7d65e431ec1021433782af..9b4e9c7d74e21706313959d56fd7d45f65504b0a 100644
(file)
--- a/
qui/seqbrowser/SequenceBrowserWidget.hpp
+++ b/
qui/seqbrowser/SequenceBrowserWidget.hpp
@@
-22,6
+22,9
@@
class SequenceBrowserWidget : public QScrollArea
public:
SequenceBrowserWidget(boost::shared_ptr<QDir>, QWidget *parent=0);
public:
SequenceBrowserWidget(boost::shared_ptr<QDir>, QWidget *parent=0);
+ //! return our wrapped browser, so we can test it.
+ SequenceBrowser& browser() { return scrollable_browser->browser(); }
+
//! return the popup menu for the glcanvas (reference stored internally)
QMenu *getPopupMenu();
//! return our fasta copy action (reference stored internally)
//! return the popup menu for the glcanvas (reference stored internally)
QMenu *getPopupMenu();
//! return our fasta copy action (reference stored internally)
@@
-93,6
+96,6
@@
private:
//! sequences created by a setSequences(vector<Sequences>) call
/*! I need to save them so i can free them to avoid a memory leak
*/
//! sequences created by a setSequences(vector<Sequences>) call
/*! I need to save them so i can free them to avoid a memory leak
*/
- std::vector<
boost::shared_ptr<GlSequence>
> converted_sequences;
+ std::vector<
GlSequenceRef
> converted_sequences;
};
#endif
};
#endif