MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / nameColumnWidth

Method nameColumnWidth

pj_widgets/src/Timeline.cpp:1282–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1280}
1281
1282int Timeline::nameColumnWidth() const {
1283 if (name_splitter_ == nullptr) {
1284 return 0;
1285 }
1286 const QList<int> sizes = name_splitter_->sizes();
1287 return sizes.isEmpty() ? 0 : sizes.front();
1288}
1289
1290void Timeline::setNameColumnWidth(int width_px) {
1291 if (name_panel_ == nullptr || width_px <= 0) {

Callers 2

TESTFunction · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by 1

TESTFunction · 0.64