diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-18 19:43:11 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-18 19:43:11 +0300 |
| commit | cda7d430b3fa988258819012a5a96249aa553f1e (patch) | |
| tree | 42c62cbca218b70752f388c2668cbed98d2abb3a /include | |
| parent | 0fe94d5d9f0e175ba8355305cdfd6cd35e0a545f (diff) | |
use SetIcon for AOEmoteButton instead of stylesheets
Fix aolineedit not sending the double_clicked signal
Add tooltips for emotes that display the number and the emote_comment (name)
Add similar tooltips to evidence buttons
Resolve an issue where you could edit evidence name without double-clicking a piece of evidence first
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoemotebutton.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/aoemotebutton.h b/include/aoemotebutton.h index c99a73b0..4c310147 100644 --- a/include/aoemotebutton.h +++ b/include/aoemotebutton.h @@ -13,9 +13,8 @@ class AOEmoteButton : public QPushButton public: AOEmoteButton(QWidget *p_parent, AOApplication *p_ao_app, int p_x, int p_y); - //void set_on(QString p_char, int p_emote); - //void set_off(QString p_char, int p_emote); - void set_image(QString p_char, int p_emote, QString suffix); + void set_image(QString p_image, QString p_emote_comment); + void set_char_image(QString p_char, int p_emote, QString suffix); void set_id(int p_id) {m_id = p_id;} int get_id() {return m_id;} |
