From 631f37ee26c19d38408ee733ffda24ad283c7921 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 19 Dec 2017 22:47:05 +0100 Subject: Implement basic ui Changes: - Clean up code to use Qt coding style - Add comments to some methods - Add debugtools to have debug_msg() and debug_err() macros - New Serializer class header to save / load data - MetadataDialog: check validity of metadata - MainWindow: initial code for `tool' buttons to edit the structogram - MainWindow: open / save dialog --- forms/mainwindow.ui | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 77 insertions(+), 3 deletions(-) (limited to 'forms/mainwindow.ui') diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui index 86d6381..23125a1 100644 --- a/forms/mainwindow.ui +++ b/forms/mainwindow.ui @@ -165,7 +165,7 @@ - + @@ -255,11 +255,20 @@ + + true + PDF + + Ctrl+E + + + true + LaTeX TikZ @@ -280,7 +289,7 @@ Ctrl+V - + Save As @@ -327,5 +336,70 @@ - + + + actionNew + triggered() + newButton + click() + + + -1 + -1 + + + 23 + 53 + + + + + actionSave + triggered() + saveButton + click() + + + -1 + -1 + + + 99 + 53 + + + + + actionOpen + triggered() + openButton + click() + + + -1 + -1 + + + 61 + 53 + + + + + actionQuit + triggered() + MainWindow + close() + + + -1 + -1 + + + 411 + 300 + + + + -- cgit v1.2.1