MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / setMaxVisibleItems

Method setMaxVisibleItems

Plugins/WebBrowser/AddressCompleter.cpp:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void CAddressCompleter::setMaxVisibleItems(int count)
154{
155 m_maxVisibleItems = count;
156 int itemHeight = 40;
157 int maxHeight = m_maxVisibleItems * itemHeight + 10;
158 setMaximumHeight(maxHeight);
159}
160
161bool CAddressCompleter::eventFilter(QObject *watched, QEvent *event)
162{

Callers 1

Q_LOGGING_CATEGORYFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected