mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Add a button in config page for open a new Qfontdialog widget and choose
font for summarry pages (foliolist) git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5189 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -127,9 +127,9 @@ void DiagramFolioList::fillRow(QPainter *qp, const QRectF &row_rect, QString aut
|
||||
QSettings settings;
|
||||
|
||||
|
||||
QFontMetrics origFontMetrics(QETApp::diagramTextsFont());
|
||||
qreal origFontSize = QETApp::diagramTextsFont().pointSizeF();
|
||||
QFont workingFont(QETApp::diagramTextsFont());
|
||||
QFontMetrics origFontMetrics(QETApp::foliolistTextsFont());
|
||||
qreal origFontSize = QETApp::foliolistTextsFont().pointSizeF();
|
||||
QFont workingFont(QETApp::foliolistTextsFont());
|
||||
|
||||
if (settings.value("genericpanel/folio", true).toBool()){
|
||||
// reduce the font size if the text entry is long
|
||||
|
||||
Reference in New Issue
Block a user