geometrize::dialog::CommandLineEdit::CommandLineEditImpl::CommandLineEditImpl |
( |
CommandLineEdit * |
pQ | ) |
|
|
inline |
CommandLineEdit * q
Definition: commandlineedit.cpp:141
void populateUi()
Definition: commandlineedit.cpp:114
std::size_t m_historyIndex
Definition: commandlineedit.cpp:144
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
geometrize::dialog::CommandLineEdit::CommandLineEditImpl::CommandLineEditImpl |
( |
const CommandLineEditImpl & |
| ) |
|
|
delete |
geometrize::dialog::CommandLineEdit::CommandLineEditImpl::~CommandLineEditImpl |
( |
| ) |
|
|
default |
std::string geometrize::dialog::CommandLineEdit::CommandLineEditImpl::autoCompleteForCurrentInput |
( |
| ) |
|
|
inlineprivate |
std::string getCurrentCommand() const
Definition: commandlineedit.cpp:119
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::clear |
( |
| ) |
|
|
inlineprivate |
131 ui->lineEdit->clear();
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::clearHistory |
( |
| ) |
|
|
inline |
std::vector< std::string > m_history
Definition: commandlineedit.cpp:145
std::size_t m_historyIndex
Definition: commandlineedit.cpp:144
std::string geometrize::dialog::CommandLineEdit::CommandLineEditImpl::getCurrentCommand |
( |
| ) |
const |
|
inlineprivate |
121 return ui->lineEdit->text().toStdString();
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
std::vector<std::string> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::getHistory |
( |
| ) |
|
|
inline |
std::vector< std::string > m_history
Definition: commandlineedit.cpp:145
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::keyPressEvent |
( |
const int |
key | ) |
|
|
inline |
void submitCommand()
Definition: commandlineedit.cpp:61
void stepHistory(const int steps)
Definition: commandlineedit.cpp:48
void setCurrentCommand(const std::string &command)
Definition: commandlineedit.cpp:124
std::string autoCompleteForCurrentInput()
Definition: commandlineedit.cpp:134
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::mouseDoubleClickEvent |
( |
| ) |
|
|
inline |
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::onLanguageChange |
( |
| ) |
|
|
inline |
110 ui->retranslateUi(
q);
CommandLineEdit * q
Definition: commandlineedit.cpp:141
void populateUi()
Definition: commandlineedit.cpp:114
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::populateUi |
( |
| ) |
|
|
inlineprivate |
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setCompletionList |
( |
const std::vector< std::string > & |
completionList | ) |
|
|
inline |
90 for(
const std::string& word : completionList) {
91 words.push_back(QString::fromStdString(word));
93 ui->lineEdit->setCompletionList(words);
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setCurrentCommand |
( |
const std::string & |
command | ) |
|
|
inlineprivate |
126 ui->lineEdit->setText(QString::fromStdString(command));
std::unique_ptr< Ui::CommandLineEdit > ui
Definition: commandlineedit.cpp:142
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setHistory |
( |
const std::vector< std::string > & |
history | ) |
|
|
inline |
std::vector< std::string > m_history
Definition: commandlineedit.cpp:145
std::size_t m_historyIndex
Definition: commandlineedit.cpp:144
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::stepHistory |
( |
const int |
steps | ) |
|
|
inline |
std::vector< std::string > m_history
Definition: commandlineedit.cpp:145
std::string getCurrentCommand() const
Definition: commandlineedit.cpp:119
CommandLineEdit * q
Definition: commandlineedit.cpp:141
void signal_historyStepped(const std::string &)
signal_historyStepped is fired when the user steps through the command line history (e...
std::size_t m_historyIndex
Definition: commandlineedit.cpp:144
void setCurrentCommand(const std::string &command)
Definition: commandlineedit.cpp:124
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::submitCommand |
( |
| ) |
|
|
inline |
std::vector< std::string > m_history
Definition: commandlineedit.cpp:145
std::string getCurrentCommand() const
Definition: commandlineedit.cpp:119
void clear()
Definition: commandlineedit.cpp:129
CommandLineEdit * q
Definition: commandlineedit.cpp:141
std::size_t m_historyIndex
Definition: commandlineedit.cpp:144
void signal_commandSubmitted(const std::string &)
signal_commandSubmitted is fired when a command is submitted by the user (e.g. after pressing return)...
std::vector<std::string> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::m_history |
|
private |
std::size_t geometrize::dialog::CommandLineEdit::CommandLineEditImpl::m_historyIndex |
|
private |
CommandLineEdit* geometrize::dialog::CommandLineEdit::CommandLineEditImpl::q |
|
private |
std::unique_ptr<Ui::CommandLineEdit> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::ui |
|
private |
The documentation for this class was generated from the following file: