Пример #1
0
IconProducer::IconProducer()
{
    mBuilt_in_wireless_signal_none      = buildIcon(":/resources/signal-strength-0.svg");
    mBuilt_in_wireless_signal_weak      = buildIcon(":/resources/signal-strength-1.svg");
    mBuilt_in_wireless_signal_ok        = buildIcon(":/resources/signal-strength-2.svg");
    mBuilt_in_wireless_signal_good      = buildIcon(":/resources/signal-strength-3.svg");
    mBuilt_in_wireless_signal_excellent = buildIcon(":/resources/signal-strength-4.svg");

    connect(LXQt::GlobalSettings::globalSettings(), SIGNAL(iconThemeChanged()), this, SLOT(onIconThemeChanged()));
    onIconThemeChanged();
}
Пример #2
0
IconProducer::IconProducer()
{
    mBuiltInDisconnected = buildIcon(":/resources/wired-disconnected.svg");
    mBuiltInWiredConnected = buildIcon(":/resources/wired-connected.svg");
    mBuiltInWirelessNone = buildIcon(":/resources/signal-strength-0.svg");
    mBuiltInWirelessWeak = buildIcon(":/resources/signal-strength-1.svg");
    mBuiltInWirelessOk = buildIcon(":/resources/signal-strength-2.svg");
    mBuiltInWirelessGood = buildIcon(":/resources/signal-strength-3.svg");
    mBuiltInWirelessExcellent = buildIcon(":/resources/signal-strength-4.svg");

    connect(LXQt::GlobalSettings::globalSettings(), SIGNAL(iconThemeChanged()), this, SLOT(onIconThemeChanged()));
    onIconThemeChanged();
}
Пример #3
0
QIcon& Icon::remove() { return buildIcon("remove"); }
Пример #4
0
QIcon& Icon::add() { return buildIcon("add"); }
Пример #5
0
QIcon& Icon::images() { return buildIcon("images"); }
Пример #6
0
QIcon& Icon::image() { return buildIcon("image"); }
Пример #7
0
QIcon& Icon::redo() { return buildIcon("redo"); }
Пример #8
0
QIcon& Icon::undo() { return buildIcon("undo"); }
Пример #9
0
QIcon& Icon::exit() { return buildIcon("exit"); }
Пример #10
0
QIcon& Icon::close() { return buildIcon("close"); }
Пример #11
0
QIcon& Icon::saveAll() { return buildIcon("save_all"); }
Пример #12
0
QIcon& Icon::save() { return buildIcon("save"); }
Пример #13
0
QIcon& Icon::open() { return buildIcon("folder-open"); }
Пример #14
0
QIcon& Icon::create() { return buildIcon("file"); }