#include <QLabel>
#include <QLineEdit>
#include <QFrame>
+#include <QVBoxLayout>
#include "alg/glsequence.hpp"
public:
SequenceDescription(QWidget *parent=0);
SequenceDescription(boost::shared_ptr<GlSequence>, QWidget *);
+
void setName(std::string name);
-
boost::shared_ptr<GlSequence> glsequence();
std::string name() const;
int length() const;
void positionChanged(int pos);
private:
- QLineEdit name_label;
- QLabel length_label;
- QLabel position_label;
+ QVBoxLayout *layout;
+ QLineEdit *name_label;
+ QLabel *length_label;
+ QLabel *position_label;
boost::shared_ptr<GlSequence> glsequence_;
int pos;