MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / reStyle

Method reStyle

DSView/pv/toolbars/filebar.cpp:117–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void FileBar::reStyle()
118{
119 QString iconPath = GetIconPath();
120
121 _action_load->setIcon(QIcon(iconPath+"/open.svg"));
122 _action_store->setIcon(QIcon(iconPath+"/save.svg"));
123 _action_default->setIcon(QIcon(iconPath+"/gear.svg"));
124 _menu_session->setIcon(QIcon(iconPath+"/gear.svg"));
125 _action_open->setIcon(QIcon(iconPath+"/open.svg"));
126 _action_save->setIcon(QIcon(iconPath+"/save.svg"));
127 _action_export->setIcon(QIcon(iconPath+"/export.svg"));
128 _action_capture->setIcon(QIcon(iconPath+"/capture.svg"));
129 _file_button.setIcon(QIcon(iconPath+"/file.svg"));
130}
131
132void FileBar::on_actionOpen_triggered()
133{

Callers

nothing calls this directly

Calls 1

GetIconPathFunction · 0.85

Tested by

no test coverage detected