Mercurial > hg > classical
comparison widgets/TypingSelectWidget.h @ 28:7d8a6167febb classical-rdf
* Begin new text entry / search widget & test utility for it
* Improve typing matching methods
* Update code to use ObjectLoader/Storer instead of old-style ObjectMapper
author | Chris Cannam |
---|---|
date | Mon, 01 Mar 2010 16:51:14 +0000 |
parents | |
children | 8bed05455706 |
comparison
equal
deleted
inserted
replaced
27:e8160a2d8b28 | 28:7d8a6167febb |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 #ifndef _TYPING_SELECT_WIDGET_H_ | |
4 #define _TYPING_SELECT_WIDGET_H_ | |
5 | |
6 #include <QWidget> | |
7 #include <QList> | |
8 | |
9 namespace ClassicalData | |
10 { | |
11 | |
12 class Matcher; | |
13 | |
14 class TypingSelectWidget : public QWidget | |
15 { | |
16 public: | |
17 TypingSelectWidget(QWidget *parent = 0); | |
18 | |
19 void setMatchers(QList<Matcher *> m) { m_matchers = m; } | |
20 | |
21 private: | |
22 QList<Matcher *> m_matchers; | |
23 }; | |
24 | |
25 } | |
26 | |
27 #endif | |
28 | |
29 |