A "Ubuntu HUD"-like HeadUpDisplay using Qt and Qt Quick
poorHud is a simple take on the "Ubuntu HUD" =)
I implemented a HUD for QMainWindow based applications.
Just link against the lib poorHud and add one line of code to your app and you are ready to go..
poorHud is a library which enables every QMainWindow based app to have its own HUD (HeadOverDisplay).
This is a GUI heavily inspired by the Ubuntu HUD.
This is how it works:
poorHud creates an overlay window over your application.
Toggle the overlay via "CTRL+SHIFT+O" (O not zero).
The overlay displays the menu structure of your application in a list, that can be filtered as you type.
Use the arrow keys to navigate the results. Press enter to select a menu entry.
The action that is triggered by the menu is activated.
The following two steps are all that is needed to enable the HUD:
Link against the lib: add -lpoorHud to your .pro file
Add the following line in a suitable place of your sources: PoorHud* hud = new PoorHud(&w);
For the screencast I enabled a HUD for the qt browser “arora”.
A minimalistic example on how to add the hud to your app:
int main(int argc, char argv)
QApplication a(argc, argv);
PoorHud hud = new PoorHud(&w);
w.show(); return a.exec();