Home
last modified time | relevance | path

Searched refs:textFontWidth (Results 1 – 9 of 9) sorted by relevance

/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/
H A Dordersmodel.cpp282 countWidth = qMax(textFontWidth(QString::number(oidList.size() + 1)) + 6, defaultHeightForRow); in orderBookChanged()
661 dateWidth = qMax(qMax(textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(23, 59, 59, in setHorizontalHeaderLabels()
662 …999)).toString(baseValues.dateTimeFormat)), textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(12,… in setHorizontalHeaderLabels()
663 … 999)).toString(baseValues.dateTimeFormat))), textFontWidth(list.at(0))) + 10; in setHorizontalHeaderLabels()
664 …typeWidth = qMax(qMax(textFontWidth(textAsk), textFontWidth(textBid)), textFontWidth(list.at(1))) … in setHorizontalHeaderLabels()
667 … statusWidth = qMax(textFontWidth(textStatusList.at(n)), textFontWidth(textStatusList.at(n + 1))); in setHorizontalHeaderLabels()
H A Djulyspinboxfix.cpp65 parentSpinBox->setMinimumWidth(textFontWidth(text) + spinMargin); in widthFix()
67 parentSpinBox->setMinimumWidth(qMax(textFontWidth(text) + spinMargin, pMinimumWidth)); in widthFix()
H A Dhistorymodel.cpp379 typeWidth = qMax(typeWidth, textFontWidth(typesLabels.at(n))); in setHorizontalHeaderLabels()
381 typeWidth = qMax(typeWidth, textFontWidth(list.at(2))); in setHorizontalHeaderLabels()
384 dateWidth = qMax(qMax(textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(23, 59, 59, in setHorizontalHeaderLabels()
385 …999)).toString(baseValues.dateTimeFormat)), textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(12,… in setHorizontalHeaderLabels()
386 … 999)).toString(baseValues.dateTimeFormat))), textFontWidth(list.at(0))) + 10; in setHorizontalHeaderLabels()
H A Ddepthmodel.cpp431 …widthPrice = 10 + textFontWidth(JulyMath::textFromDouble(maxPrice, baseValues.currentPair.priceDec… in calculateSize()
432 …widthVolume = 10 + textFontWidth(JulyMath::textFromDouble(maxVolume, baseValues.currentPair.currAD… in calculateSize()
433 …widthSize = 10 + textFontWidth(JulyMath::textFromDouble(maxTotal, baseValues.currentPair.currADeci… in calculateSize()
558 int curASize = textFontWidth(" " + baseValues.currentPair.currASign); in fixTitleWidths()
559 int curBSize = textFontWidth(" " + baseValues.currentPair.currBSign); in fixTitleWidths()
560 widthPriceTitle = textFontWidth(headerLabels.at(0)) + 20 + curBSize; in fixTitleWidths()
561 widthVolumeTitle = textFontWidth(headerLabels.at(1)) + 20 + curASize; in fixTitleWidths()
562 widthSizeTitle = textFontWidth(headerLabels.at(3)) + 20 + curASize; in fixTitleWidths()
H A Dtradesmodel.cpp448 dateWidth = qMax(qMax(textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(23, 59, 59, in setHorizontalHeaderLabels()
449 …999)).toString(baseValues.dateTimeFormat)), textFontWidth(QDateTime(QDate(2000, 12, 30), QTime(12,… in setHorizontalHeaderLabels()
450 … 999)).toString(baseValues.dateTimeFormat))), textFontWidth(list.at(0))) + 10; in setHorizontalHeaderLabels()
451 …typeWidth = qMax(qMax(textFontWidth(textAsk), textFontWidth(textBid)), textFontWidth(list.at(2))) … in setHorizontalHeaderLabels()
H A Dmain.h39 #define textFontWidth(text) baseValues_->fontMetrics_->horizontalAdvance(text) macro
H A Dqtbitcointrader.cpp1783 …pushButtons->setMinimumWidth(qMin(pushButtons->maximumWidth(), textFontWidth(pushButtons->text()) … in fixAllChildButtonsAndLabels()
1790 …checkBoxes->setMinimumWidth(qMin(checkBoxes->maximumWidth(), textFontWidth(checkBoxes->text()) + 2… in fixAllChildButtonsAndLabels()
1794 labels->setMinimumWidth(qMin(labels->maximumWidth(), textFontWidth(labels->text()))); in fixAllChildButtonsAndLabels()
1869 ui.accountLoginLabel->setMinimumWidth(textFontWidth(profileNameText) + 20); in loginChanged()
2280 int textWidth = textFontWidth(dock->windowTitle()); in adjustDockMinSize()
3624 int width = textFontWidth(ui.comboBoxGroupByPrice->itemText(0)); in fixWidthComboBoxGroupByPrice()
3627 …width = qMax(textFontWidth(ui.comboBoxGroupByPrice->itemText(ui.comboBoxGroupByPrice->count() - 1)… in fixWidthComboBoxGroupByPrice()
3630 width = qMax(textFontWidth(ui.comboBoxGroupByPrice->itemText(1)), width); in fixWidthComboBoxGroupByPrice()
/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/script/
H A Drulesmodel.cpp523 …stateWidth = qMax(textFontWidth(headerLabels.first()), textFontWidth(julyTr("RULE_STATE_PROCESSING… in setHorizontalHeaderLabels()
524 stateWidth = qMax(stateWidth, textFontWidth(julyTr("RULE_STATE_PENDING", "pending"))); in setHorizontalHeaderLabels()
525 stateWidth = qMax(stateWidth, textFontWidth(julyTr("RULE_STATE_DONE", "done"))); in setHorizontalHeaderLabels()
526 stateWidth = qMax(stateWidth, textFontWidth(julyTr("RULE_STATE_DISABLED", "disabled"))); in setHorizontalHeaderLabels()
/dports/finance/qtbitcointrader/QtBitcoinTrader-1.40.55/src/login/
H A Dpassworddialog.cpp143 …checkBoxes->setMinimumWidth(qMin(checkBoxes->maximumWidth(), textFontWidth(checkBoxes->text()) + 2… in PasswordDialog()