1
0

wip/dynamics_buttons #26

Integrado manualmente
crtxcr integrou 3 cometimento(s) do ramo wip/dynamics_buttons no ramo master 2020-12-10 22:50:27 +01:00
3 ficheiros modificados com 5 adições e 2 eliminações
Mostrando apenas as modificações do comentimento bb74d156c9 - Mostrar todos os cometimentos

Ver ficheiro

@ -19,7 +19,8 @@ enum EntryType
{
USER,
INHERIT,
SYSTEM
SYSTEM,
DYNAMIC
};
class EntryConfig

Ver ficheiro

@ -106,7 +106,7 @@ void EntryPushButton::mousePressEvent(QMouseEvent *event)
{
this->userEntryMenu.exec(QCursor::pos());
}
else
else if(this->config.type == EntryType::SYSTEM)
{
this->systemEntryMenu.exec(QCursor::pos());
}

Ver ficheiro

@ -266,6 +266,7 @@ void Window::addPATHSuggestion(const QString &text)
e.row = 0;
e.command = suggestions[0];
e.iconPath = suggestions[0];
e.type = EntryType::DYNAMIC;
EntryPushButton *button = createEntryButton(e);
clearGrid();
grid->addWidget(button, 0, 0);
@ -343,6 +344,7 @@ void Window::lineEditTextChanged(QString text)
}
e.command = arguments[0];
e.iconPath = "utilities-terminal";
e.type = EntryType::DYNAMIC;
EntryPushButton *button = createEntryButton(e);
clearGrid();