1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/ground
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
..
openpilotgcs 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
uavobjects Fix 64-Bit Linux build problem in QT-Creator 2011-04-03 16:25:21 +00:00
uavobjgenerator - fill deserializing gaps 2011-04-09 04:25:15 +00:00
ground.pro Change reference to svn by git (in comments, no code change) 2011-04-24 20:23:20 +03:00