1. 27 Oct, 2015 7 commits
    • Tomaz Canabrava's avatar
      Fix opening DockWidget views · 0fcc718d
      Tomaz Canabrava authored
      The dock widget opening system had several issues,
      1 - it didn't deal with translations
      2 - it didn't deal with accelerator keys
      3 - it crashed if passed a invalid string (like when using KDE, happened
      for all options)
      
      This new way of using the views are slightly different:
      1 - no more string comparissons, use integer comparissons (much faster)
      2 - do not use a convoluted if/else - switch simplify.
      3 - do not create two different static variable strings for the same stuff
      4 - create an enum / an vector of strings (the enums bein an index of it)
      to acess the correct view.
      
      The overall code is clear than the old one, and faster.
      the only point where the code isn't as clear is on the call to
      showDockWidgetAction, since we passed a string that had the
      name of the Widget, but now the action only holds the index
      for the name in the string vector, I first need to get the
      correct string and send it.
      
      Tested here closing and reopening the app and verifying that
      the dock widgets that where left open are still open when
      reopening the application.
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      0fcc718d
    • Tomaz Canabrava's avatar
      Do not use the text() of the Action to show a DockWidget · d02ad5d6
      Tomaz Canabrava authored
      The text can be translated, the text can have accelerator-special
      key, so the text is unrealiable. the only thing reliable is the data,
      wich stores a pointer to a fixed , unmutable, string.
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      d02ad5d6
    • Tomaz Canabrava's avatar
      Translate the names of the Views · 86898dd9
      Tomaz Canabrava authored
      We where passing the QActions untranslated.
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      86898dd9
    • Tomaz Canabrava's avatar
      Declare the Static Const Char on the .cpp file · 99b9229b
      Tomaz Canabrava authored
      Since the Static const char * items are private and nothing
      should access them besides the MainWindow class, declare
      them inside of the .cpp file with static linkage, this way
      a few good things happen: they are not exported as symbols
      to any other class (not even with private linkage) and also
      if we need to add a new one, on the .cpp, the only compiled
      file will be the cpp, instead of the tons of files that include
      mainwindow.h
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      99b9229b
    • Tomaz Canabrava's avatar
      Do not let the Fullscreen/Normal be completely unselected · 91ae7330
      Tomaz Canabrava authored
      If you choosed View->Fullscreen, the app would go to fullscreen,
      but if you then go again to View->Fullscreen, the app would still
      be fullscreen but the menu item would be unselected - leaving
      UI and settings inconsistent.
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      91ae7330
    • Tomaz Canabrava's avatar
      Do not dynamic_cast QObject, use qobject_cast, it's faster. · 350ea984
      Tomaz Canabrava authored
      qobject_cast doesn't use RTTI to figure out the type, it uses
      an internally stored relationship, wich is much faster than
      RTTI. I grepped the code for dynamic_cast and there are lots
      besides this one, so I'll later try to figure out wich ones
      are QObject inheritances and change acordingly.
      Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
      350ea984
    • dogmaphobic's avatar
      Removing unused Main Flight Display widget. · a27c1b57
      dogmaphobic authored
      a27c1b57
  2. 26 Oct, 2015 3 commits
  3. 18 Oct, 2015 3 commits
  4. 16 Oct, 2015 1 commit
  5. 15 Oct, 2015 2 commits
  6. 13 Oct, 2015 3 commits
  7. 12 Oct, 2015 3 commits
  8. 11 Oct, 2015 1 commit
  9. 05 Oct, 2015 1 commit
  10. 27 Sep, 2015 2 commits
  11. 25 Sep, 2015 1 commit
  12. 11 Sep, 2015 2 commits
    • Don Gagne's avatar
      Remove HDD, HUD, HSI · 1d0feb3d
      Don Gagne authored
      These use OpenGL implementation which prevented moving to ANGLE
      support. Since they are rarely used they are being remove instead of
      being upgrade.
      1d0feb3d
    • Don Gagne's avatar
      Remove HDD, HUD, HSI · 850c9be0
      Don Gagne authored
      These use OpenGL implementation which prevented moving to ANGLE
      support. Since they are rarely used they are being remove instead of
      being upgrade.
      850c9be0
  13. 08 Sep, 2015 1 commit
  14. 07 Sep, 2015 1 commit
  15. 03 Sep, 2015 1 commit
  16. 01 Sep, 2015 1 commit
  17. 31 Aug, 2015 1 commit
  18. 29 Aug, 2015 2 commits
  19. 23 Aug, 2015 1 commit
  20. 29 Jul, 2015 1 commit
  21. 26 Jul, 2015 1 commit
  22. 12 Jul, 2015 1 commit