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++

#include "guidededitorview.h"
GuidedEditorView::GuidedEditorView(QWidget * parent): QWidget(parent) {
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);
}
GuidedEditorView::GuidedEditorView(std::shared_ptr<AbstractGuidedEditorModel> model,QWidget *parent) :GuidedEditorView(parent)
{
}
GuidedEditorView::~GuidedEditorView()
{
}