C++ (Qt)const int tabStop = 4; // 4 charactersint indent = tabStop * QFontMetrics(font()).width(' ');
C++ (Qt)QTextOption::Tab().position