From ce7cbcc3b64a1b0b6e5cf91d911d3ad10e7d6424 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Tue, 5 Jun 2018 13:13:38 +0200 Subject: Doc: Clean up and modernize SQL example: Books MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Replace Qt4-style connects. * Reformat code to adhere to 80 column width. * Touch comments to make location and style consistent. * Rename a label in the UI form. Task-number: QTBUG-68652 Change-Id: Icc592f7b5a013d1806bc36c45057b35472b6efbb Reviewed-by: Topi Reiniƶ --- examples/sql/books/bookwindow.ui | 149 +++++++++++++++++++++------------------ 1 file changed, 82 insertions(+), 67 deletions(-) (limited to 'examples/sql/books/bookwindow.ui') diff --git a/examples/sql/books/bookwindow.ui b/examples/sql/books/bookwindow.ui index 659d324564..c81a86cb2c 100644 --- a/examples/sql/books/bookwindow.ui +++ b/examples/sql/books/bookwindow.ui @@ -1,10 +1,8 @@ - - - - + + BookWindow - - + + 0 0 @@ -12,117 +10,135 @@ 420 - + Books - - - + + + + 6 + + 9 - - 6 + + 9 + + + 9 + + + 9 - - + + Books - - + + + 6 + + 9 - - 6 + + 9 + + + 9 + + + 9 - - + + QAbstractItemView::SelectRows - - + + Details - - - - - <b>Title:</b> + + + + + <b>Title:</b> - - - + + + true - - - - <b>Author: </b> + + + + <b>Author: </b> - - - - + + + + true - - - - - <b>Genre:</b> + + + + + <b>Genre:</b> - - - + + + true - - - - <b>Year:</b> + + + + <b>Year:</b> - - - - + + + + true - + - - 2100 - - + -1000 + + 2100 + - - - - <b>Rating:</b> + + + + <b>Rating:</b> - - - + + + 5 @@ -136,7 +152,6 @@ - bookTable titleEdit -- cgit v1.2.3