1
0
Fork 0

WIP: Rearrange Pushbuttons, Deletion, Add system entries to favourites, Save #15

Geschlossen
crtxcr möchte 0 Commits von wip/rearrange nach master mergen
Besitzer

Missing

  • QIcon information loss (cannot get the icon path from it in all cases)
  • Missing assignment in Entryconfig update
  • Find next free slot in grid (next row/col) to implement "add to favoruites"
  • Deletion
Missing * [x] QIcon information loss (cannot get the icon path from it in all cases) * [x] Missing assignment in Entryconfig update * [x] Find next free slot in grid (next row/col) to implement "add to favoruites" * [x] Deletion
crtxcr hat eine neue Abhängigkeit 2020-09-13 21:29:18 +02:00 hinzugefügt
crtxcr hat eine neue Abhängigkeit 2020-09-13 21:29:40 +02:00 hinzugefügt
crtxcr hat 2020-09-27 22:38:45 +02:00 überprüft
crtxcr hat einen Kommentar hinterlassen
Autor
Besitzer

Problems

Problems
window.cpp Veraltet
@ -126,0 +144,4 @@
QMessageBox::critical(this, "Failed to save item to favourites", e.what());
return;
}
userEntryButtons.append(createEntryButton(userConfig));
Autor
Besitzer

This is not a complete button since inheritance is not actually applied here, causing e. g. the icon not to show.

This is not a complete button since inheritance is not actually applied here, causing e. g. the icon not to show.
crtxcr markierte diese Unterhaltung als gelöst
crtxcr hat 2020-09-27 22:44:05 +02:00 überprüft
window.cpp Veraltet
@ -126,0 +134,4 @@
userConfig.inherit = button.getEntryConfig().entryPath;
QFileInfo fi{button.getEntryConfig().entryPath};
QString entryName = fi.completeBaseName() + ".qsrun";
userConfig.entryPath = this->settingsProvider->userEntriesPaths()[0] + "/" + entryName;
Autor
Besitzer

Dirty

Dirty
Autor
Besitzer

Problem

  1. Add to favourites
  2. Rearrange
  3. Entry from 1 gets saved completely. Has inheritances property, but it's useless since everything will be stored.

Maybe:

Remove boolean
{ SYSTEM_ENTRY, USER_ENTRY, INHERITED_ENTRY }

INHERITED_ENTRY does not save anything beyond "inherit", "rows, "cols".

**Problem** 1. Add to favourites 2. Rearrange 3. Entry from 1 gets saved completely. Has inheritances property, but it's useless since everything will be stored. Maybe: Remove boolean { SYSTEM_ENTRY, USER_ENTRY, INHERITED_ENTRY } INHERITED_ENTRY does not save anything beyond "inherit", "rows, "cols".
crtxcr hat 2020-09-28 19:30:12 +02:00 überprüft
@ -249,0 +291,4 @@
if(ret != 0)
{
qDebug() << strerror(errno);
throw std::runtime_error("Failed to save entry file( error during rename)");
Autor
Besitzer

Space

Space
crtxcr markierte diese Unterhaltung als gelöst
crtxcr hat diesen Pull-Request 2020-10-04 21:55:36 +02:00 geschlossen

Pull-Request geschlossen

Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Nachrichten
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Referenz: crtxcr/qsrun#15
Keine Beschreibung angegeben.