MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / setLeftContainerWidth

Method setLeftContainerWidth

gui/src/tooltemplate.cpp:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82QWidget *ToolTemplate::leftContainer() { return m_ui->leftContainer; }
83
84void ToolTemplate::setLeftContainerWidth(int w)
85{
86 dynamic_cast<MenuHAnim *>(m_ui->leftContainer)->setAnimMin(0);
87 dynamic_cast<MenuHAnim *>(m_ui->leftContainer)->setAnimMax(w);
88 m_ui->leftContainer->setMaximumWidth(w);
89 m_ui->leftContainer->setMinimumWidth(w);
90}
91
92void ToolTemplate::setRightContainerWidth(int w)
93{

Callers 6

DacInstrumentMethod · 0.80
DataMonitorToolStyleMethod · 0.80
setupToolTemplateMethod · 0.80
TestToolMethod · 0.80
ExtProcInstrumentMethod · 0.80
AdcInstrumentMethod · 0.80

Calls 2

setAnimMinMethod · 0.80
setAnimMaxMethod · 0.80

Tested by 1

TestToolMethod · 0.64