![]() |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Public Member Functions | |
ScriptEditorWidgetImpl (ScriptEditorWidget *pQ, const std::string &title, const std::string &functionName, const std::string &defaultCode) | |
ScriptEditorWidgetImpl | operator= (const ScriptEditorWidgetImpl &)=delete |
ScriptEditorWidgetImpl (const ScriptEditorWidgetImpl &)=delete | |
~ScriptEditorWidgetImpl () | |
void | resetCodeToDefault () |
std::string | getFunctionName () const |
std::string | getDefaultCode () const |
std::string | getCurrentCode () const |
void | setCurrentCode (const std::string &code) |
void | onScriptEvaluationSucceeded () |
void | onScriptEvaluationFailed (const std::string &errorMessage) |
void | onLanguageChange () |
Private Types | |
enum | ScriptEvaluationState { ScriptEvaluationState::OK, ScriptEvaluationState::ERROR } |
enum | ScriptChangesState { ScriptChangesState::READY, ScriptChangesState::UNAPPLIED_CHANGES } |
Private Member Functions | |
void | populateUi () |
void | setEvaluationErrorMessage (const std::string &message) |
void | setScriptEvaluationState (const ScriptEvaluationState state) |
void | setScriptChangesState (const ScriptChangesState state) |
void | setLabel (QLabel *label, QPixmap pixmap) |
Private Attributes | |
ScriptEditorWidget * | q |
std::unique_ptr < Ui::ScriptEditorWidget > | ui |
const std::string | m_functionName |
const std::string | m_defaultCode |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |