 |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Go to the documentation of this file.
47 void setHistory(
const std::vector<std::string>& history);
75 std::unique_ptr<CommandLineEditImpl>
d;
void keyPressEvent(const int key)
Definition: commandlineedit.cpp:28
void clear()
Definition: commandlineedit.cpp:130
CommandLineEdit * q
Definition: commandlineedit.cpp:142
virtual void mouseDoubleClickEvent(QMouseEvent *event) override
Definition: commandlineedit.cpp:187
std::string autoCompleteForCurrentInput()
Definition: commandlineedit.cpp:135
std::size_t m_historyIndex
Definition: commandlineedit.cpp:145
void changeEvent(QEvent *) override
Definition: commandlineedit.cpp:192
void setCompletionList(const std::vector< std::string > &completionList)
Definition: commandlineedit.cpp:88
void signal_historyStepped(const std::string &)
signal_historyStepped is fired when the user steps through the command line history (e....
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:143
Definition: commandlineedit.h:11
virtual ~CommandLineEdit()
Definition: commandlineedit.cpp:153
void stepHistory(const int steps)
Definition: commandlineedit.cpp:48
void clearHistory()
clearHistory Wipe the history of commands entered this session.
Definition: commandlineedit.cpp:162
void setCurrentCommand(const std::string &command)
Definition: commandlineedit.cpp:125
void mouseDoubleClickEvent()
Definition: commandlineedit.cpp:103
std::unique_ptr< CommandLineEditImpl > d
Definition: commandlineedit.h:74
void onLanguageChange()
Definition: commandlineedit.cpp:108
void setHistory(const std::vector< std::string > &history)
setHistory Sets the history of commands.
Definition: commandlineedit.cpp:172
Definition: commandlineparser.cpp:73
void signal_commandSubmitted(const std::string &)
signal_commandSubmitted is fired when a command is submitted by the user (e.g. after pressing return)...
CommandLineEditImpl operator=(const CommandLineEditImpl &)=delete
virtual void keyPressEvent(QKeyEvent *e) override
Definition: commandlineedit.cpp:157
std::vector< std::string > getHistory() const
getHistory Gets the history of commands entered this session, oldest first.
Definition: commandlineedit.cpp:167
~CommandLineEditImpl()=default
The CommandLineEdit class models the UI for the command line in a graphical script console.
Definition: commandlineedit.h:25
CommandLineEditImpl(CommandLineEdit *pQ)
Definition: commandlineedit.cpp:19
virtual bool focusNextPrevChild(bool next) override
Definition: commandlineedit.cpp:182
CommandLineEditImpl(const CommandLineEditImpl &)=delete
CommandLineEdit(QWidget *parent=nullptr)
Definition: commandlineedit.cpp:149
std::vector< std::string > m_history
Definition: commandlineedit.cpp:146
void populateUi()
Definition: commandlineedit.cpp:115
std::vector< std::string > getHistory()
Definition: commandlineedit.cpp:71
void setHistory(const std::vector< std::string > &history)
Definition: commandlineedit.cpp:76
void submitCommand()
Definition: commandlineedit.cpp:62
void setCompletionList(const std::vector< std::string > &completionList)
setCompletionList Sets the autocomplete list of commands.
Definition: commandlineedit.cpp:177
std::string getCurrentCommand() const
Definition: commandlineedit.cpp:120
void clearHistory()
Definition: commandlineedit.cpp:97
Definition: commandlineedit.cpp:17