31 lines
672 B
C++
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()
|
|
{
|
|
|
|
}
|
|
|