| 152 | } |
| 153 | |
| 154 | void TrigBar::reStyle() |
| 155 | { |
| 156 | QString iconPath = GetIconPath(); |
| 157 | |
| 158 | _trig_button.setIcon(QIcon(iconPath+"/trigger.svg")); |
| 159 | _protocol_button.setIcon(QIcon(iconPath+"/protocol.svg")); |
| 160 | _measure_button.setIcon(QIcon(iconPath+"/measure.svg")); |
| 161 | _search_button.setIcon(QIcon(iconPath+"/search-bar.svg")); |
| 162 | _function_button.setIcon(QIcon(iconPath+"/function.svg")); |
| 163 | _setting_button.setIcon(QIcon(iconPath+"/display.svg")); |
| 164 | |
| 165 | _action_fft->setIcon(QIcon(iconPath+"/fft.svg")); |
| 166 | _action_math->setIcon(QIcon(iconPath+"/math.svg")); |
| 167 | _action_lissajous->setIcon(QIcon(iconPath+"/lissajous.svg")); |
| 168 | _dark_style->setIcon(QIcon(iconPath+"/dark.svg")); |
| 169 | _light_style->setIcon(QIcon(iconPath+"/light.svg")); |
| 170 | |
| 171 | _action_dispalyOptions->setIcon(QIcon(iconPath+"/gear.svg")); |
| 172 | |
| 173 | AppConfig &app = AppConfig::Instance(); |
| 174 | QString icon_fname = iconPath +"/"+ app.frameOptions.style +".svg"; |
| 175 | _themes->setIcon(QIcon(icon_fname)); |
| 176 | } |
| 177 | |
| 178 | void TrigBar::protocol_clicked() |
| 179 | { |
nothing calls this directly
no test coverage detected