albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.26k stars 305 forks source link

Possibility to close Settings from the tray icon or in the settings window #314

Closed fulgorit closed 7 years ago

fulgorit commented 7 years ago

Hi

I think it could be great to add an option to hide Settings window from the tray icon or from the Settings window

idkCpp commented 7 years ago

I don't get it. You want to close the settings-window with I assume a button within itself? How about the X button which might reside in your favorite corner of the window?

fulgorit commented 7 years ago

I am on i3wm with no button to close the window I modified the main.cpp to add an option to tray menu and I prefer like.

ManuelSchneid3r commented 7 years ago

Btw, why dont you just use Escape? I am not sure if I want a button. I already hear people desiring an additional apply and okay button.

fulgorit commented 7 years ago

Escape is working thanks

ManuelSchneid3r commented 7 years ago

Hmm I guess this will not be fixed. On non tiling WMs this would be redundant. Hope Esc is okay for you.

fulgorit commented 7 years ago

I have some ideas to modify albert. I would like to modify the tray menu: setEnable(false); an option for some time but I am stuck with signals and slots.

Could you help me ?

I modified main.cpp to add QAction*

I wanted to use signal and slot to disable an option in the tray menu

how can I do ? In which class could I add the code ?

I usually execute code from mainwindow/mainwindow.cpp

Regards,

2017-01-23 11:59 GMT+01:00 Manuel Schneider notifications@github.com:

Closed #314 https://github.com/albertlauncher/albert/issues/314.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/albertlauncher/albert/issues/314#event-932628306, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-Tv3kyv7YNVSs1CWvLF0i29bccWgUEks5rVIgfgaJpZM4Lgx-T .

-- Lionel Van Winnendaele

fulgorit commented 7 years ago

Hi again,

I added a question on http://stackoverflow.com/questions/41990652/qt5-how-can-i-set-qaction-enabledfalse

but no one has answered yet

2017-02-08 16:05 GMT+01:00 Lionel Van Winnendaele < l.vanwinnendaele@gmail.com>:

I have some ideas to modify albert. I would like to modify the tray menu: setEnable(false); an option for some time but I am stuck with signals and slots.

Could you help me ?

I modified main.cpp to add QAction*

I wanted to use signal and slot to disable an option in the tray menu

how can I do ? In which class could I add the code ?

I usually execute code from mainwindow/mainwindow.cpp

Regards,

2017-01-23 11:59 GMT+01:00 Manuel Schneider notifications@github.com:

Closed #314 https://github.com/albertlauncher/albert/issues/314.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/albertlauncher/albert/issues/314#event-932628306, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-Tv3kyv7YNVSs1CWvLF0i29bccWgUEks5rVIgfgaJpZM4Lgx-T .

-- Lionel Van Winnendaele

-- Lionel Van Winnendaele

Fuhrmann commented 7 years ago

Hello @fulgorit!

Take a look here at the help section: https://albertlauncher.github.io/help/

You could hangout with us at the albert irc channel and see if anyone can help you.