diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-09 17:43:10 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | c8e1b4ab3a51cfe0f39a6f0d78cf0988c380549c (patch) | |
| tree | 549e563ba7e3dc609d9b92c6ded998c31bdb8a5e /src/editexecutablesdialog.h | |
| parent | 5fa7fd7fb9f3a8f67e8842420d7a2ad600722119 (diff) | |
changed the down/up pngs to be slightly offset vertically from what they were, they did not look aligned when next to each other
added status/tooltip/whatsthis strings to new buttons
change enabled status of up/down dynamically
simplified move() to just move by one
Diffstat (limited to 'src/editexecutablesdialog.h')
| -rw-r--r-- | src/editexecutablesdialog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 80ec56df..10a6166f 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -142,11 +142,13 @@ private: void fillExecutableList();
QListWidgetItem* createListItem(const Executable& exe);
- void updateUI(const Executable* e);
+ void updateUI(const QListWidgetItem* item, const Executable* e);
void clearEdits();
void setEdits(const Executable& e);
+ void setButtons(const QListWidgetItem* item, const Executable* e);
void save();
- void moveSelection(int by);
+ bool canMove(const QListWidgetItem* item, int direction);
+ void move(QListWidgetItem* item, int direction);
void setJarBinary(const QString& binaryName);
std::optional<QString> makeNonConflictingTitle(const QString& prefix);
bool isTitleConflicting(const QString& s);
|
