mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Several adjustments related to Qt6
* Avoid ambiguous definition during unity build on Windows * Add missing include * Add Qt6 to expressionparser * Add Qt6 to nightcharts * Replace forward define of QStringList with include <QStringList> * Use toMSecsSinceEpoch * Use setContentsMargins
This commit is contained in:
@@ -138,13 +138,13 @@ public:
|
||||
{
|
||||
int lineCount = 1 + posTickTypeText.second.label.count( "\n" );
|
||||
mediumTextLineCount = std::max( mediumTextLineCount, lineCount );
|
||||
medTickMaxTextSize = std::max( posTickTypeText.second.label.size(), medTickMaxTextSize );
|
||||
medTickMaxTextSize = std::max( (int)posTickTypeText.second.label.size(), medTickMaxTextSize );
|
||||
}
|
||||
else if ( posTickTypeText.second.tickType == QwtScaleDiv::MinorTick )
|
||||
{
|
||||
int lineCount = 1 + posTickTypeText.second.label.count( "\n" );
|
||||
minorTextLineCount = std::max( minorTextLineCount, lineCount );
|
||||
minTickMaxTextSize = std::max( posTickTypeText.second.label.size(), minTickMaxTextSize );
|
||||
minTickMaxTextSize = std::max( (int)posTickTypeText.second.label.size(), minTickMaxTextSize );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user