Changes between Version 3 and Version 4 of BOOK_PROPERTIES_DIALOG_R0
- Timestamp:
- 05/19/09 15:17:36 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BOOK_PROPERTIES_DIALOG_R0
v3 v4 8 8 9 9 == Overview == 10 Display simple dialog window with properties of the book file and allow editing of some of them. 10 This task is about providing a book properties dialog. It should display some basic information for the book and allow editing part of it. 11 11 12 12 == Task requirements == 13 Pre-alpha 2 already has book properties dialog. Itdisplays:13 The properties dialog displays: 14 14 * Book title 15 15 * Number of pages … … 18 18 * Creation time 19 19 * Last modification time 20 Editable fields: 21 * The title field. 22 * Page width - This field changes horizontal dimensions of books' pages. 23 * Page height - This field changes vertical dimensions of books' pages. 20 24 21 According to [wiki:BOOK_PROPERTIES_DIALOG] some fields should be changed and new fields should be added: 22 * The title should be editable. 23 * Page width - This field changes horizontal dimensions of books' pages. When applying a template or changing this dimension by dragging page corner, this field is changed automatically. 24 * Page height - This field changes vertical dimensions of books' pages. When applying a template or changing this dimension by dragging page corner, this field is changed automatically. 25 26 The visual appearance of the dialog should be improved. 27 28 It will be good the displayed information to be able to be copied to the clipboard. 29 30 Keyboard shortcut Ctrl+B should not be used for Book Properties. It is reserved for Bold. If this dialog will be invoked frequently, use Ctrl+Shift+B. 25 Keyboard shortcut is Ctrl*Shift+B. 31 26 32 27 == Task result == … … 34 29 35 30 == Implementation idea == 36 Use J TextField for each value (book title, file size, etc.) with editing disabled for most of them (<object>.setEditable(false)).31 Use Java swing components. 37 32 38 33 == Related == 39 34 40 35 == How to demo == 41 * Run Sophie2 42 * Create a new book 43 * Open Book Properties. Check the displayed information (e.g. number of pages should be 1, etc.) 44 * Change the title and close the dialog. 45 * Go to page 2 and insert a text frame. 46 * Open Book Properties again. 36 * Display the book properties dialog. 37 * Change the title and page size and show they are updated. 47 38 48 39 = Design =