[win-nix] debug project for hdpi monitors

This commit is contained in:
Maxim Kadushkin
2017-08-10 17:57:08 +03:00
parent d778fb73cd
commit cbda590256
6 changed files with 14 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

After

Width:  |  Height:  |  Size: 200 B

View File

@ -75,6 +75,10 @@ QPushButton#toolButtonDownload::menu-indicator {
left: -8px;
}
QTabBar {
font-size: 20px;
}
QTabBar::tab {
padding-left: 14px;
}
@ -193,6 +197,10 @@ QPushButton {
font-size: 22px;
}
QLabel[class=msg-report] {
font-size: 22px;
}
QDialog QPushButton {
min-width: 80px;
}

View File

@ -113,6 +113,7 @@ CMessage::CMessage(QWidget * p)
_h_layout2->addWidget(m_typeIcon, 0, Qt::AlignTop);
// m_message->setWordWrap(true);
m_message->setProperty("class", "msg-report");
m_message->setStyleSheet(QString("margin-bottom: %1px;").arg(8*g_dpi_ratio));
QFormLayout * _f_layout = new QFormLayout;

View File

@ -320,10 +320,10 @@ void CTabBar::drawTabCaption(QPainter * p, const QString& s, const QStyleOptionT
QRect trect(QPoint(t.rect.left() + t.iconSize.width() + 6, t.rect.top()),
QPoint(t.rect.right() - 22, t.rect.bottom() - 2));
QFont f = font();
f.setPointSize(8);
// QFont f = font();
// f.setPointSize(8);
p->setFont(f);
// p->setFont(f);
QString es = fontMetrics().elidedText(s, Qt::ElideRight, trect.width(), Qt::TextShowMnemonic);
p->drawText(trect, Qt::AlignVCenter, es);

View File

@ -33,8 +33,8 @@
#ifndef VERSION_H
#define VERSION_H
#define VER_FILEVERSION 4,4,2,350
#define VER_FILEVERSION_STR "4.4.2.350\0"
#define VER_FILEVERSION 4,4,2,352
#define VER_FILEVERSION_STR "4.4.2.352\0"
#define VER_PRODUCTVERSION VER_FILEVERSION
#define VER_PRODUCTVERSION_STR "4.4\0"