MCPcopy Create free account
hub / github.com/clementgallet/libTAS / hexColumnWidth

Method hexColumnWidth

src/external/qhexview/src/qhexview.cpp:796–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794qint64 QHexView::lastLine() const { return qMax<qint64>(0, this->lines() - 1); }
795
796qreal QHexView::hexColumnWidth() const {
797 int l = 0;
798
799 for(auto i = 0u; i < m_options.linelength; i += m_options.grouplength)
800 l += (2 * m_options.grouplength) + 1;
801
802 return this->getNCellsWidth(l);
803}
804
805unsigned int QHexView::addressWidth() const {
806 if(!m_hexdocument || m_options.addresswidth)

Callers 2

drawHeaderMethod · 0.95
asciiColumnXMethod · 0.95

Calls 1

getNCellsWidthMethod · 0.95

Tested by

no test coverage detected