26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_SYMBOLSELECTORDIALOG_H
27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_SYMBOLSELECTORDIALOG_H
30 #include "../Config.h"
33 #include <QtGui/QDialog>
39 class QTreeWidgetItem;
40 namespace Ui {
class SymbolSelectorDialogForm; }
51 class SymbolPreviewWidget;
101 static Symbol* getSymbol(QWidget* parent,
const QString& title =
"");
111 Symbol* getSymbol()
const;
115 void onCurrentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous);
117 void onShowSymbolInfoPushButtonPressed();
119 void onLoadSymbolLibraryPushButtonPressed();
121 void onSearchLineEditTextChanged(
const QString& text);
129 void filter(
const QList<QTreeWidgetItem*>& items);
132 Symbol* getSelectedSymbol()
const;
135 Symbol* getSymbolFromItem(QTreeWidgetItem* item)
const;
138 QString formatSymbolInfo(
const SymbolInfo& info)
const;
142 std::auto_ptr<Ui::SymbolSelectorDialogForm>
m_ui;
150 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_SYMBOLSELECTORDIALOG_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
SymbolPreviewWidget * m_preview
Preview Widget used to visualize the symbol.
This class represents a symbol. TODO: More description!
std::auto_ptr< Ui::SymbolSelectorDialogForm > m_ui
Dialog form.
A dialog used to select a specific symbol.
NodeType
Auxiliary internal enumeration to control the tree nodes.
Information about a given Symbol.
A widget used to preview symbol elements.