Changes between Version 3 and Version 4 of BOOK_PROPERTIES_DIALOG_R0


Ignore:
Timestamp:
05/19/09 15:17:36 (16 years ago)
Author:
diana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_PROPERTIES_DIALOG_R0

    v3 v4  
    88 
    99== Overview == 
    10 Display simple dialog window with properties of the book file and allow editing of some of them. 
     10This task is about providing a book properties dialog. It should display some basic information for the book and allow editing part of it.  
    1111 
    1212== Task requirements == 
    13 Pre-alpha 2 already has book properties dialog. It displays: 
     13The properties dialog displays: 
    1414 * Book title 
    1515 * Number of pages 
     
    1818 * Creation time 
    1919 * Last modification time 
     20Editable 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.  
    2024 
    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. 
     25Keyboard shortcut is Ctrl*Shift+B. 
    3126 
    3227== Task result == 
     
    3429 
    3530== Implementation idea == 
    36 Use JTextField for each value (book title, file size, etc.) with editing disabled for most of them (<object>.setEditable(false)). 
     31Use Java swing components. 
    3732 
    3833== Related == 
    3934 
    4035== 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.  
    4738 
    4839= Design =