InfoVis 2013  1.0
Information Visualisation project - "Mapping Text with Phrase Nets"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RegexPhraseListboxItem.h
Go to the documentation of this file.
1 #ifndef REGEX_PHRASE_LISTBOX_ITEM_H
2 #define REGEX_PHRASE_LISTBOX_ITEM_H
3 
4 #include "CEGUI/widgets/ListboxTextItem.h"
5 
6 /* The RegexPhraseListboxItem class is a custom version of a CEGUI ListboxTextItem and used in the GUI for the Listbox containing the regex phrases. */
7 class RegexPhraseListboxItem : public CEGUI::ListboxTextItem
8 {
9 public:
10  RegexPhraseListboxItem(const std::string& connectionWord, CEGUI::uint itemId);
12 
13  const std::string& getConnectionWord();
14 
15  // Unique widget name throughout CEGUI.
16  static CEGUI::String WidgetTypeName;
17 
18 
19 private:
20  std::string m_connectionWord;
21 };
22 
23 #endif