src/main.cpp

branch
experimental
changeset 1363
b725b7fb63a5
parent 1326
69a90bd2dba2
--- a/src/main.cpp	Thu Mar 29 10:42:45 2018 +0300
+++ b/src/main.cpp	Thu Mar 29 12:10:54 2018 +0300
@@ -21,6 +21,7 @@
 #include "documentmanager.h"
 #include "mainwindow.h"
 #include "generics/reverse.h"
+#include "widgets/patterneditor.h"
 
 int main (int argc, char* argv[])
 {
@@ -35,6 +36,13 @@
 	qRegisterMetaTypeStreamOperators<Vertex>("Vertex");
 	initializeCrashHandler();
 	LDColor::initColors();
+
+	Pattern pattern {{200, 100}};
+	PatternEditor* editor = new PatternEditor {pattern, nullptr};
+	editor->setMinimumSize({320, 200});
+	editor->show();
+	return app.exec();
+
 	MainWindow* mainWindow = new MainWindow;
 	mainWindow->show();
 

mercurial