Skip to content

Commit bdc7688

Browse files
committed
Added custom about, license and release notes icons
1 parent 5ce2de9 commit bdc7688

8 files changed

Lines changed: 14 additions & 5 deletions

File tree

‎src/fea/CMakeLists.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,13 @@ function(fea_add_icon_resources name prefix)
445445
endfunction()
446446

447447
fea_add_icon_resources(icons-application "/icons/application"
448+
pixmaps/range-about.svg
448449
pixmaps/range-application_settings.svg
449450
pixmaps/range-display_preferences.svg
451+
pixmaps/range-license.svg
452+
pixmaps/range-qt.svg
450453
pixmaps/range-quit.svg
454+
pixmaps/range-release_notes.svg
451455
pixmaps/range-startup.svg
452456
)
453457

@@ -498,7 +502,6 @@ fea_add_icon_resources(icons-file "/icons/file"
498502
pixmaps/range-remove.svg
499503
pixmaps/range-refresh.svg
500504
pixmaps/range-download.svg
501-
pixmaps/range-qt.svg
502505
pixmaps/range-important.svg
503506
pixmaps/range-help.svg
504507
pixmaps/range-fea.ico
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

‎src/fea/pixmaps/range-about.svg‎

Lines changed: 1 addition & 0 deletions
Loading

‎src/fea/pixmaps/range-license.svg‎

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

‎src/fea/src/action.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ QList<RAction::Definition> Action::generateActionDefinitionList()
314314
Action::regDef(actionDef, ACTION_GROUP_REPORT, ACTION_REPORT_CREATE_REPORT, tr("Create report"), "", "Ctrl+Shift+R", ":/icons/report/pixmaps/range-report.svg",static_cast<PointerToMemberTrigger>(&Action::onReportCreateReport));
315315
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_SETTINGS, tr("Application settings"), "", "Ctrl+A", ":/icons/application/pixmaps/range-application_settings.svg",static_cast<PointerToMemberTrigger>(&Action::onApplicationSettings), QAction::PreferencesRole);
316316
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_UPDATE, tr("Check for updates"), "", "", ":/icons/file/pixmaps/range-download.svg",static_cast<PointerToMemberTrigger>(&Action::onUpdate));
317-
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_ABOUT, tr("About"), "", "F1", ":/icons/logos/pixmaps/range-fea.svg",static_cast<PointerToMemberTrigger>(&Action::onAbout), QAction::AboutRole);
318-
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_ABOUT_QT, tr("About Qt"), "", "", ":/icons/file/pixmaps/range-qt.svg",static_cast<PointerToMemberTrigger>(&Action::onAboutQt), QAction::AboutQtRole);
319-
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_LICENSE, tr("License"), "", "", ":/icons/logos/pixmaps/range-fea.svg",static_cast<PointerToMemberTrigger>(&Action::onLicense));
320-
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_RELEASE_NOTES, tr("Release notes"), "", "", ":/icons/logos/pixmaps/range-fea.svg",static_cast<PointerToMemberTrigger>(&Action::onReleaseNotes));
317+
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_ABOUT, tr("About"), "", "F1", ":/icons/application/pixmaps/range-about.svg",static_cast<PointerToMemberTrigger>(&Action::onAbout), QAction::AboutRole);
318+
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_ABOUT_QT, tr("About Qt"), "", "", ":/icons/application/pixmaps/range-qt.svg",static_cast<PointerToMemberTrigger>(&Action::onAboutQt), QAction::AboutQtRole);
319+
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_LICENSE, tr("License"), "", "", ":/icons/application/pixmaps/range-license.svg",static_cast<PointerToMemberTrigger>(&Action::onLicense));
320+
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_RELEASE_NOTES, tr("Release notes"), "", "", ":/icons/application/pixmaps/range-release_notes.svg",static_cast<PointerToMemberTrigger>(&Action::onReleaseNotes));
321321
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_HELP, tr("Help"), "", "Ctrl+H", ":/icons/file/pixmaps/range-help.svg",static_cast<PointerToMemberTrigger>(&Action::onHelp));
322322
Action::regDef(actionDef, ACTION_GROUP_APPLICATION, ACTION_APPLICATION_QUIT, tr("Quit"), "", "Q", ":/icons/application/pixmaps/range-quit.svg",static_cast<PointerToMemberTrigger>(&Action::onQuit), QAction::QuitRole);
323323
Action::regDef(actionDef, ACTION_GROUP_CLOUD, ACTION_CLOUD_SESSION_MANAGER, tr("Cloud session manager"), "", "", ":/icons/cloud/pixmaps/range-session_manager.svg", static_cast<PointerToMemberTrigger>(&Action::onCloudSessionManager));

0 commit comments

Comments
 (0)