Commit ee574f58 authored by hjk's avatar hjk

QmlDesigner: Adjust StyledOutputPanePlaceHolder to conventions

Change-Id: Ie8945009e49545e8203c3c56068788749269bb30
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 747b8d48
......@@ -33,9 +33,12 @@
#include <QChildEvent>
#include <QTabWidget>
#include <QDebug>
StyledOutputpanePlaceHolder::StyledOutputpanePlaceHolder(Core::IMode *mode, QSplitter *parent) : Core::OutputPanePlaceHolder(mode, parent)
namespace QmlDesigner {
namespace Internal {
StyledOutputpanePlaceHolder::StyledOutputpanePlaceHolder(Core::IMode *mode, QSplitter *parent)
: Core::OutputPanePlaceHolder(mode, parent)
{
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/outputpane-style.css");
sheet += Utils::FileReader::fetchQrc(":/qmldesigner/scrollbar.css");
......@@ -65,3 +68,6 @@ void StyledOutputpanePlaceHolder::childEvent(QChildEvent *event)
}
}
}
} // namespace Internal
} // namespace QmlDesigner
......@@ -32,7 +32,8 @@
#include <coreplugin/outputpane.h>
QT_FORWARD_DECLARE_CLASS(QChildEvent)
namespace QmlDesigner {
namespace Internal {
class StyledOutputpanePlaceHolder : public Core::OutputPanePlaceHolder
{
......@@ -41,9 +42,12 @@ public:
protected:
void childEvent(QChildEvent *event);
private:
QString m_customStylesheet;
};
} // namespace Internal
} // namespace QmlDesigner
#endif // STYLEDOUTPUTPANEPLACEHOLDER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment