diff widgets/ModelDataTableDialog.h @ 552:2e8194a30f40 sv-v1.7.1

* Layer data editor window: fix sorting for columns in region model, add Find feature * RDF import: assign names to layers based on event types, if no suitable labels are found in the RDF * Add label to status bar showing the last text that was passed in current layer (so e.g. counting 1, 2, 3, 4 if that's what beats are labelled) * Better layout of text labels for region layers in segmentation mode when they are close together * Give text layer the same method for finding "nearest point" as region and note layers, should improve its editability
author Chris Cannam
date Thu, 22 Oct 2009 15:54:21 +0000
parents 55cdd79606ba
children e4773943c9c1
line wrap: on
line diff
--- a/widgets/ModelDataTableDialog.h	Fri Oct 02 13:56:10 2009 +0000
+++ b/widgets/ModelDataTableDialog.h	Thu Oct 22 15:54:21 2009 +0000
@@ -24,6 +24,7 @@
 class QModelIndex;
 class Command;
 class QToolBar;
+class QLineEdit;
 
 class ModelDataTableDialog : public QMainWindow
 {
@@ -49,6 +50,8 @@
     void viewPressed(const QModelIndex &);
     void currentChanged(const QModelIndex &, const QModelIndex &);
     void currentChangedThroughResort(const QModelIndex &);
+    void searchTextChanged(const QString &);
+    void searchRepeated();
     
     void insertRow();
     void deleteRows();
@@ -62,6 +65,7 @@
     ModelDataTableModel *m_table;
     QToolBar *m_playToolbar;
     QTableView *m_tableView;
+    QLineEdit *m_find;
     int m_currentRow;
     bool m_trackPlayback;
 };