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

Method retranslateUi

DSView/pv/dock/measuredock.cpp:167–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void MeasureDock::retranslateUi()
168{
169 _mouse_groupBox->setTitle(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_MOUSE_MEASUREMENT), "Mouse measurement"));
170 _fen_checkBox->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_ENABLE_FLOATING_MEASUREMENT), "Enable floating measurement"));
171 _dist_groupBox->setTitle(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_CURSOR_DISTANCE), "Cursor Distance"));
172 _edge_groupBox->setTitle(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_EDGES), "Edges"));
173 _cursor_groupBox->setTitle(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_CURSORS), "Cursors"));
174
175 _channel_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_CHANNEL), "Channel"));
176 _edge_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_RIS_OR_FAL_EDGE), "Rising/Falling/Edges"));
177 _time_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_TIME_SAMPLES), "Time/Samples"));
178 _add_dec_label->setText(_time_label->text());
179
180 /*
181 _w_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_W), "W: "));
182 _p_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_P), "P: "));
183 _f_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_F), "F: "));
184 _d_label->setText(L_S(STR_PAGE_DLG, S_ID(IDS_DLG_D), "D: "));
185 */
186
187 _w_label->setText("W:");
188 _p_label->setText("P:");
189 _f_label->setText("F:");
190 _d_label->setText("D:");
191}
192
193void MeasureDock::reStyle()
194{

Callers

nothing calls this directly

Calls 1

setTitleMethod · 0.45

Tested by

no test coverage detected