1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-09 20:46:07 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/coreplugin/dialogs
PeterG ba4a060c27 Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list.
Also, allow gadgets to have exactly one configuration only, which gives them a bit more real estate in the options page.

For gadgets to use this, call functions setIcon(QIcon) and setSingleConfigurationGadgetTrue()
in the constructor of the gadget factory, e.g.:

SystemHealthGadgetFactory::SystemHealthGadgetFactory(QObject *parent) :
        IUAVGadgetFactory(QString("SystemHealthGadget"),
                          tr("System Health Gadget"),
                          parent)
{
    setSingleConfigurationGadgetTrue();
    setIcon(QIcon(":/core/images/openpilot_logo_64.png"));
}
2011-05-29 09:32:42 +02:00
..
ioptionspage.cpp build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
ioptionspage.h Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list. 2011-05-29 09:32:42 +02:00
iwizard.cpp build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
iwizard.h build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
settingsdialog.cpp Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list. 2011-05-29 09:32:42 +02:00
settingsdialog.h Changes to the tree view to the left on the options page. 2011-05-28 20:10:06 +02:00
settingsdialog.ui build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
shortcutsettings.cpp build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
shortcutsettings.h build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00
shortcutsettings.ui build: Move openpilotgcs into its own subdirectory 2011-01-22 17:40:26 +00:00