Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. A "Ubuntu HUD"-like HeadUpDisplay using Qt and Qt Quick
Forum Updated to NodeBB v4.3 + New Features

A "Ubuntu HUD"-like HeadUpDisplay using Qt and Qt Quick

Scheduled Pinned Locked Moved Showcase
1 Posts 1 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    markus.liebe
    wrote on 4 Feb 2012, 21:19 last edited by
    #1

    See video: "HUD enabled arora":http://youtu.be/D708d1mi7uw
    Find the source at: "gitorious - poorhud":https://gitorious.org/poorhud

    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);

    enjoy =)

    For the screencast I enabled a HUD for the qt browser “arora”.

    A minimalistic example on how to add the hud to your app:

    @
    #include "poorhud.h"

    int main(int argc, char argv[])
    {
    QApplication a(argc, argv);
    MainWindow w;
    PoorHud hud = new PoorHud(&w);
    w.show(); return a.exec();
    }
    @

    1 Reply Last reply
    0

    1/1

    4 Feb 2012, 21:19

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved