Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef std::function< void(AutoCompleteEntry *entry)> | ExecuteFunction |
Public Member Functions | |
AutoCompleteEntry (const QString &text, const QString &description, QSharedPointer< Visualization::Item > visualization, ExecuteFunction execFunction=nullptr) | |
AutoCompleteEntry (const QString &text, const QString &description, Visualization::Item *visualization, ExecuteFunction execFunction=nullptr) | |
AutoCompleteEntry (const QString &text={}, const QString &description={}) | |
virtual | ~AutoCompleteEntry () |
const QString & | description () |
virtual void | execute () |
void | setDescription (const QString &description) |
void | setExecutionFunction (ExecuteFunction execFunction) |
void | setText (const QString &text) |
void | setVisualization (QSharedPointer< Visualization::Item > item) |
void | setVisualization (Visualization::Item *item) |
const QString & | text () |
QSharedPointer< Visualization::Item > | visualization () |
Private Attributes | |
QString | description_ |
ExecuteFunction | execFunction_ |
QString | text_ |
QSharedPointer< Visualization::Item > | vis_ |
typedef std::function<void (AutoCompleteEntry* entry)> Interaction::AutoCompleteEntry::ExecuteFunction |
Interaction::AutoCompleteEntry::AutoCompleteEntry | ( | const QString & | text = {} , |
const QString & | description = {} |
||
) |
Interaction::AutoCompleteEntry::AutoCompleteEntry | ( | const QString & | text, |
const QString & | description, | ||
Visualization::Item * | visualization, | ||
ExecuteFunction | execFunction = nullptr |
||
) |
Interaction::AutoCompleteEntry::AutoCompleteEntry | ( | const QString & | text, |
const QString & | description, | ||
QSharedPointer< Visualization::Item > | visualization, | ||
ExecuteFunction | execFunction = nullptr |
||
) |
|
virtual |
|
inline |
|
virtual |
Reimplemented in Interaction::CommandSuggestion.
|
inline |
void Interaction::AutoCompleteEntry::setExecutionFunction | ( | ExecuteFunction | execFunction | ) |
|
inline |
void Interaction::AutoCompleteEntry::setVisualization | ( | QSharedPointer< Visualization::Item > | item | ) |
void Interaction::AutoCompleteEntry::setVisualization | ( | Visualization::Item * | item | ) |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |