This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
NetworkPacketComposer/guidededitorview.cpp

31 lines
672 B
C++
Raw Normal View History

2015-09-06 18:57:18 +02:00
#include "guidededitorview.h"
2015-04-04 20:06:49 +02:00
2015-09-06 18:57:18 +02:00
GuidedEditorView::GuidedEditorView(QWidget * parent): QWidget(parent) {
2015-04-04 20:06:49 +02:00
editorLayout = new FlowLayout(this);
this->setLayout(editorLayout);
//tests
QString style = QString(
"QWidget {"
"border-radius: 5px;"
"background: white }"
"QLabel {border: 2px dashed black; background: gray; "
"border-radius: 5px;}"
"QLineEdit {border: 2px dashed black;background: dark-gray;"
"border-radius: 5px;}"
);
this->setStyleSheet(style);
}
2015-09-06 18:57:18 +02:00
GuidedEditorView::GuidedEditorView(std::shared_ptr<AbstractGuidedEditorModel> model,QWidget *parent) :GuidedEditorView(parent)
{
2015-04-04 20:06:49 +02:00
}
2015-09-06 18:57:18 +02:00
GuidedEditorView::~GuidedEditorView()
2015-04-04 20:06:49 +02:00
{
}