Mercurial > hg > svgui
annotate widgets/TransformFinder.h @ 417:fbf9f53cf979
* Annoyingly not-really-working twist on things
author | Chris Cannam |
---|---|
date | Tue, 23 Sep 2008 16:42:43 +0000 |
parents | f4487328320d |
children | b0c8e0def62e |
rev | line source |
---|---|
Chris@416 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@416 | 2 |
Chris@416 | 3 /* |
Chris@416 | 4 Sonic Visualiser |
Chris@416 | 5 An audio file viewer and annotation editor. |
Chris@416 | 6 Centre for Digital Music, Queen Mary, University of London. |
Chris@416 | 7 This file copyright 2008 QMUL. |
Chris@416 | 8 |
Chris@416 | 9 This program is free software; you can redistribute it and/or |
Chris@416 | 10 modify it under the terms of the GNU General Public License as |
Chris@416 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@416 | 12 License, or (at your option) any later version. See the file |
Chris@416 | 13 COPYING included with this distribution for more information. |
Chris@416 | 14 */ |
Chris@416 | 15 |
Chris@416 | 16 #ifndef _TRANSFORM_FINDER_H_ |
Chris@416 | 17 #define _TRANSFORM_FINDER_H_ |
Chris@416 | 18 |
Chris@416 | 19 #include <QDialog> |
Chris@416 | 20 |
Chris@417 | 21 #include <vector> |
Chris@417 | 22 |
Chris@416 | 23 #include "transform/Transform.h" |
Chris@416 | 24 |
Chris@416 | 25 class QVBoxLayout; |
Chris@416 | 26 class QScrollArea; |
Chris@417 | 27 class QLabel; |
Chris@417 | 28 class QWidget; |
Chris@416 | 29 |
Chris@416 | 30 class TransformFinder : public QDialog |
Chris@416 | 31 { |
Chris@416 | 32 Q_OBJECT |
Chris@416 | 33 |
Chris@416 | 34 public: |
Chris@416 | 35 TransformFinder(QWidget *parent = 0); |
Chris@416 | 36 ~TransformFinder(); |
Chris@416 | 37 |
Chris@416 | 38 TransformId getTransform() const; |
Chris@416 | 39 |
Chris@416 | 40 protected slots: |
Chris@416 | 41 void searchTextChanged(const QString &); |
Chris@416 | 42 |
Chris@416 | 43 protected: |
Chris@416 | 44 QScrollArea *m_resultsScroll; |
Chris@417 | 45 QWidget *m_resultsFrame; |
Chris@416 | 46 QVBoxLayout *m_resultsLayout; |
Chris@417 | 47 std::vector<QLabel *> m_labels; |
Chris@416 | 48 }; |
Chris@416 | 49 |
Chris@416 | 50 #endif |
Chris@416 | 51 |