From a7e74749a1c4edb2f8bc34c79e9bd1562de86ee9 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 19 Dec 2017 01:54:28 +0100 Subject: Change to Qt5 conding conventions Data structure changes: - Structogram is no longer just a scope, because it needs to store metadata - All structures now use QString instead of std::string, to integrate better in the Qt framework New code: - MainWindow ui code, building layout - MetadataDialog to change the metadata stored in the Structogram - Painter is a widget (still unimplemented) to show the structogram on the GUI --- forms/mainwindow.ui | 76 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 11 deletions(-) (limited to 'forms/mainwindow.ui') diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui index a41e446..86d6381 100644 --- a/forms/mainwindow.ui +++ b/forms/mainwindow.ui @@ -10,8 +10,14 @@ 601 + + + 0 + 0 + + - MainWindow + OrbitingYeti Qt::ToolButtonIconOnly @@ -21,22 +27,22 @@ true - + 0 0 - 824 - 548 + 10000 + 10000 Qt::LeftToRight - - + + QLayout::SetMaximumSize @@ -49,7 +55,8 @@ New Diagram - + + .. @@ -59,7 +66,8 @@ Open - + + .. @@ -69,7 +77,8 @@ Save - + + .. @@ -95,7 +104,15 @@ Refresh View - + + .. + + + + + + + Metadata @@ -105,7 +122,8 @@ New Statement - + + .. @@ -149,6 +167,7 @@ + @@ -174,9 +193,17 @@ + + + View + + + + + @@ -271,6 +298,33 @@ Settings + + + Close + + + + + true + + + true + + + Toolbar + + + + + true + + + true + + + Statusbar + + -- cgit v1.2.1