Files
ResInsight/ApplicationLibCode/UserInterface/RiuResultInfoPanel.h
T

47 lines
1.3 KiB
C++
Raw Normal View History

2012-05-18 09:45:23 +02:00
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2011-2012 Statoil ASA, Ceetron AS
//
2012-05-18 09:45:23 +02:00
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
2012-05-18 09:45:23 +02:00
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
2012-05-18 09:45:23 +02:00
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include <QWidget>
2012-05-18 09:45:23 +02:00
class QTextEdit;
//==================================================================================================
//
// RiuResultInfoPanel
2012-05-18 09:45:23 +02:00
//
//==================================================================================================
class RiuResultInfoPanel : public QWidget
2012-05-18 09:45:23 +02:00
{
Q_OBJECT
2012-05-18 09:45:23 +02:00
public:
2022-07-07 12:03:02 +02:00
explicit RiuResultInfoPanel( QWidget* parent );
2012-05-18 09:45:23 +02:00
void setInfo( const QString& info );
2012-05-18 09:45:23 +02:00
QSize sizeHint() const override;
2012-05-18 09:45:23 +02:00
private:
static void convertStringToHTML( QString* str );
2012-05-18 09:45:23 +02:00
private:
QTextEdit* m_textEdit;
2012-05-18 09:45:23 +02:00
};