◆ CommandLineEditImpl() [1/2]
geometrize::dialog::CommandLineEdit::CommandLineEditImpl::CommandLineEditImpl |
( |
CommandLineEdit * |
pQ | ) |
|
|
inline |
◆ CommandLineEditImpl() [2/2]
geometrize::dialog::CommandLineEdit::CommandLineEditImpl::CommandLineEditImpl |
( |
const CommandLineEditImpl & |
| ) |
|
|
delete |
◆ ~CommandLineEditImpl()
geometrize::dialog::CommandLineEdit::CommandLineEditImpl::~CommandLineEditImpl |
( |
| ) |
|
|
default |
◆ autoCompleteForCurrentInput()
std::string geometrize::dialog::CommandLineEdit::CommandLineEditImpl::autoCompleteForCurrentInput |
( |
| ) |
|
|
inlineprivate |
◆ clear()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::clear |
( |
| ) |
|
|
inlineprivate |
132 ui->lineEdit->clear();
◆ clearHistory()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::clearHistory |
( |
| ) |
|
|
inline |
◆ getCurrentCommand()
std::string geometrize::dialog::CommandLineEdit::CommandLineEditImpl::getCurrentCommand |
( |
| ) |
const |
|
inlineprivate |
122 return ui->lineEdit->text().toStdString();
◆ getHistory()
std::vector<std::string> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::getHistory |
( |
| ) |
|
|
inline |
◆ keyPressEvent()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::keyPressEvent |
( |
const int |
key | ) |
|
|
inline |
◆ mouseDoubleClickEvent()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::mouseDoubleClickEvent |
( |
| ) |
|
|
inline |
◆ onLanguageChange()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::onLanguageChange |
( |
| ) |
|
|
inline |
111 ui->retranslateUi(
q);
◆ operator=()
◆ populateUi()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::populateUi |
( |
| ) |
|
|
inlineprivate |
◆ setCompletionList()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setCompletionList |
( |
const std::vector< std::string > & |
completionList | ) |
|
|
inline |
91 for(
const std::string& word : completionList) {
92 words.push_back(QString::fromStdString(word));
94 ui->lineEdit->setCompletionList(words);
◆ setCurrentCommand()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setCurrentCommand |
( |
const std::string & |
command | ) |
|
|
inlineprivate |
127 ui->lineEdit->setText(QString::fromStdString(command));
◆ setHistory()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::setHistory |
( |
const std::vector< std::string > & |
history | ) |
|
|
inline |
◆ stepHistory()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::stepHistory |
( |
const int |
steps | ) |
|
|
inline |
51 std::max(
static_cast<std::int64_t
>(0),
static_cast<std::int64_t
>(
m_historyIndex) + steps)));
◆ submitCommand()
void geometrize::dialog::CommandLineEdit::CommandLineEditImpl::submitCommand |
( |
| ) |
|
|
inline |
◆ m_history
std::vector<std::string> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::m_history |
|
private |
◆ m_historyIndex
std::size_t geometrize::dialog::CommandLineEdit::CommandLineEditImpl::m_historyIndex |
|
private |
CommandLineEdit* geometrize::dialog::CommandLineEdit::CommandLineEditImpl::q |
|
private |
◆ ui
std::unique_ptr<Ui::CommandLineEdit> geometrize::dialog::CommandLineEdit::CommandLineEditImpl::ui |
|
private |
The documentation for this class was generated from the following file: