aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memorytableview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-10 23:55:53 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-10 23:55:53 +0100
commit1c608f4cd1c5a1102442679b9d6608a254cc7420 (patch)
treef0a3e150e4756a801d02c149a0ab7455bf388200 /qtmips_gui/memorytableview.h
parent53605cd996338dafc507d4126a2a49b865b04db1 (diff)
downloadqtmips-1c608f4cd1c5a1102442679b9d6608a254cc7420.tar.gz
qtmips-1c608f4cd1c5a1102442679b9d6608a254cc7420.tar.bz2
qtmips-1c608f4cd1c5a1102442679b9d6608a254cc7420.zip
Implemented workaround QTableView limits workaround which mostly works.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/memorytableview.h')
-rw-r--r--qtmips_gui/memorytableview.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/qtmips_gui/memorytableview.h b/qtmips_gui/memorytableview.h
index 73b1ea9..ba00539 100644
--- a/qtmips_gui/memorytableview.h
+++ b/qtmips_gui/memorytableview.h
@@ -50,10 +50,13 @@ public:
MemoryTableView(QWidget *parent);
void resizeEvent(QResizeEvent *event) override;
-
+signals:
+ void set_go_edit_text(QString text);
public slots:
- void adap_to_cell_size();
-
+ void set_cell_size(int index);
+ void go_to_edit_text(QString text);
+private slots:
+ void adjust_scroll_pos();
private:
void adjustColumnCount();