MCPcopy Create free account
hub / github.com/baldurk/renderdoc / resizeSection

Method resizeSection

qrenderdoc/Widgets/Extended/RDHeaderView.cpp:269–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void RDHeaderView::resizeSection(int logicalIndex, int size)
270{
271 if(!m_customSizing)
272 return QHeaderView::resizeSection(logicalIndex, size);
273
274 if(logicalIndex >= 0 && logicalIndex < m_sections.count())
275 {
276 int oldSize = m_sections[logicalIndex].size;
277 m_sections[logicalIndex].size = size;
278
279 emit sectionResized(logicalIndex, oldSize, size);
280 }
281
282 cacheSections();
283}
284
285void RDHeaderView::resizeSections(QHeaderView::ResizeMode mode)
286{

Callers 12

setAnnotationObjectMethod · 0.80
setColumnWidthMethod · 0.80
messages_refreshMethod · 0.80
ResourceInspectorMethod · 0.80
debugShaderMethod · 0.80
updateDebugStateMethod · 0.80
updateWatchVariablesMethod · 0.80
DescriptorViewerMethod · 0.80
EventBrowserMethod · 0.80
setPersistDataMethod · 0.80
APIInspectorMethod · 0.80
SettingsDialogMethod · 0.80

Calls 1

countMethod · 0.45

Tested by 2

ResourceInspectorMethod · 0.64
APIInspectorMethod · 0.64