MCPcopy Create free account
hub / github.com/KDE/kdevelop / dependantLayoutValue

Function dependantLayoutValue

kdevplatform/shell/loadedpluginsdialog.cpp:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 int dependantLayoutValue(int value, int width, int totalWidth) const
215 {
216 if (itemView()->layoutDirection() == Qt::LeftToRight) {
217 return value;
218 }
219 return totalWidth - width - value;
220 }
221
222 QFont titleFont(const QFont &baseFont) const
223 {

Callers 2

paintFunction · 0.85
updateItemWidgetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected