aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-10-02 20:28:42 +0300
committerCrystalwarrior <varsash@gmail.com>2019-10-02 20:28:42 +0300
commite3ddc41cc8362fc17e803708826293d389413fc7 (patch)
tree0711f4342199f96a4ac20e87e1e688bbd328aeda /include
parent4c23e159350eeb3d74faf7e814f2874787e02565 (diff)
Add rightclick context menus to sfx dropdown, iniswap dropdown and effects dropdown to open the ini's and respective folders
try to fix settings menu (I failed)
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index aeef3ca..86a4ea7 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -55,6 +55,8 @@
#include <QPropertyAnimation>
#include <QParallelAnimationGroup>
#include <QMessageBox>
+#include <QMenu>
+#include <QDesktopServices>
//#include <QRandomGenerator>
#include <stack>
@@ -628,6 +630,9 @@ private slots:
void on_music_search_edited(QString p_text);
void on_music_list_double_clicked(QTreeWidgetItem *p_item, int column);
+ void on_music_list_context_menu_requested(const QPoint &pos);
+ void music_list_expand_all();
+ void music_list_collapse_all();
void on_area_list_double_clicked(QModelIndex p_model);
void select_emote(int p_id);
@@ -642,13 +647,20 @@ private slots:
void on_iniswap_dropdown_changed(int p_index);
void set_iniswap_dropdown();
+ void on_iniswap_context_menu_requested(const QPoint &pos);
+ void on_iniswap_edit_requested();
void on_iniswap_remove_clicked();
void on_sfx_dropdown_changed(int p_index);
void set_sfx_dropdown();
+ void on_sfx_context_menu_requested(const QPoint &pos);
+ void on_sfx_edit_requested();
void on_sfx_remove_clicked();
void set_effects_dropdown();
+ void on_effects_context_menu_requested(const QPoint &pos);
+ void on_effects_edit_requested();
+ void on_character_effects_edit_requested();
void on_effects_dropdown_changed(int p_index);
bool effects_dropdown_find_and_set(QString effect);