mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix legend update and remove Qt warnings
This commit is contained in:
@@ -36,14 +36,10 @@ class RimWellLogPlot;
|
||||
class RiuWellLogTrack;
|
||||
|
||||
class QFocusEvent;
|
||||
class QLabel;
|
||||
class QScrollBar;
|
||||
class QwtLegend;
|
||||
|
||||
namespace caf
|
||||
{
|
||||
class QShortenedLabel;
|
||||
}
|
||||
|
||||
//==================================================================================================
|
||||
//
|
||||
// RiuWellLogPlot
|
||||
@@ -78,7 +74,9 @@ protected:
|
||||
void contextMenuEvent( QContextMenuEvent* ) override;
|
||||
void keyPressEvent( QKeyEvent* keyEvent ) override;
|
||||
|
||||
caf::QShortenedLabel* createTitleLabel() const;
|
||||
QLabel* createTitleLabel() const;
|
||||
|
||||
void resizeEvent( QResizeEvent* event ) override;
|
||||
|
||||
private:
|
||||
void updateScrollBar( double minDepth, double maxDepth );
|
||||
@@ -94,7 +92,7 @@ protected:
|
||||
QPointer<QHBoxLayout> m_plotLayout;
|
||||
QPointer<QFrame> m_trackFrame;
|
||||
QPointer<QGridLayout> m_trackLayout;
|
||||
QPointer<caf::QShortenedLabel> m_plotTitle;
|
||||
QPointer<QLabel> m_plotTitle;
|
||||
QPointer<QVBoxLayout> m_scrollBarLayout;
|
||||
QScrollBar* m_scrollBar;
|
||||
QList<QPointer<QwtLegend>> m_legends;
|
||||
|
||||
Reference in New Issue
Block a user