Skip to content
Snippets Groups Projects
Commit 6dede07c authored by Olivier Langella's avatar Olivier Langella
Browse files

wrap protein name

parent ab1a7600
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@
<property name="text">
<string>TextLabel</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
......
......@@ -24,12 +24,14 @@
#include "proteinlistwindow.h"
#include "ui_protein_view.h"
#include "../mainwindow.h"
ProteinListWindow::ProteinListWindow(QWidget *parent):
ProteinListWindow::ProteinListWindow(MainWindow *parent):
QMainWindow(parent),
ui(new Ui::ProteinView)
{
_main_window = parent;
ui->setupUi(this);
/*
*/
......
......@@ -28,6 +28,8 @@
#include <QMainWindow>
#include "proteintablemodel.h"
class MainWindow;
//http://doc.qt.io/qt-4.8/qt-itemviews-chart-mainwindow-cpp.html
namespace Ui {
class ProteinView;
......@@ -38,7 +40,7 @@ class ProteinListWindow: public QMainWindow {
public:
explicit ProteinListWindow(QWidget * parent = 0);
explicit ProteinListWindow(MainWindow * parent = 0);
~ProteinListWindow();
void setIdentificationGroup(IdentificationGroup * p_identification_group);
void clickOnproteinMatch(ProteinMatch * p_protein_match);
......@@ -53,6 +55,7 @@ private:
Ui::ProteinView *ui;
ProteinTableModel * _protein_table_model_p = nullptr;
ProteinTableProxyModel * _p_proxy_model = nullptr;
MainWindow * _main_window;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment