Changeset 1180

Show
Ignore:
Timestamp:
03/08/10 22:17:47 (5 months ago)
Author:
erikj
Message:

updated docs

Location:
trunk/doc/sphinx/source
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/sphinx/source/doc/delegates.rst

    r1006 r1180  
    88:Date: |today| 
    99 
    10 `Delegates` are a cornerstone of the Qt model/view framework.  A delegate is 
     10`Delegates` are a cornerstone of the Qt model/delegate/view framework.  A delegate is 
    1111used to display and edit data from a `model`. 
    1212 
     
    1919 
    2020All Camelot delegates are subclasses of :class:`QAbstractItemDelegate`. 
     21 
     22The `PyQT website <http://www.riverbankcomputing.com/static/Docs/PyQt4/html/classes.html>`_ 
     23provides detailed information the differenct classes involved in the  
     24model/delegate/view framework. 
    2125 
    2226.. _specifying-delgates: 
     
    4145The above code will result in: 
    4246 
    43 .. image:: ../_static/rating.png 
     47.. image:: ../_static/editors/StarEditor_editable.png 
    4448 
    4549If no `delegate` field attribute is given, a default one will be taken 
    4650depending on the sqlalchemy field type. 
    4751 
     52All available delegates can be found in :mod:`camelot.view.controls.delegates` 
     53 
    4854Available delegates 
    4955=================== 
    5056 
    51 All available delegates can be found in :mod:`camelot.view.controls.delegates` 
    52  
    53 .. automodule:: camelot.view.controls.delegates.booldelegate 
    54    :members: 
    55 .. automodule:: camelot.view.controls.delegates.codedelegate 
    56    :members: 
    57 .. automodule:: camelot.view.controls.delegates.colordelegate 
    58    :members: 
    59 .. automodule:: camelot.view.controls.delegates.coloredfloatdelegate 
    60    :members: 
    61 .. automodule:: camelot.view.controls.delegates.comboboxdelegate 
    62    :members: 
    63 .. automodule:: camelot.view.controls.delegates.currencydelegate 
    64    :members:    
    65 .. automodule:: camelot.view.controls.delegates.datedelegate 
    66    :members: 
    67 .. automodule:: camelot.view.controls.delegates.datetimedelegate 
    68    :members: 
    69 .. automodule:: camelot.view.controls.delegates.filedelegate 
    70    :members: 
    71 .. automodule:: camelot.view.controls.delegates.floatdelegate 
    72    :members: 
    73 .. automodule:: camelot.view.controls.delegates.imagedelegate 
    74    :members: 
    75 .. automodule:: camelot.view.controls.delegates.integerdelegate 
    76    :members: 
    77 .. automodule:: camelot.view.controls.delegates.intervalsdelegate 
    78    :members: 
    79 .. automodule:: camelot.view.controls.delegates.manytomanydelegate 
    80    :members: 
    81 .. automodule:: camelot.view.controls.delegates.many2onedelegate 
    82    :members: 
    83 .. automodule:: camelot.view.controls.delegates.one2manydelegate 
    84    :members: 
    85 .. automodule:: camelot.view.controls.delegates.onetomanychoicesdelegate 
    86    :members: 
    87 .. automodule:: camelot.view.controls.delegates.plaintextdelegate 
    88    :members: 
    89 .. automodule:: camelot.view.controls.delegates.richtextdelegate 
    90    :members: 
    91 .. automodule:: camelot.view.controls.delegates.stardelegate 
    92    :members: 
    93 .. automodule:: camelot.view.controls.delegates.smileydelegate 
    94    :members: 
    95 .. automodule:: camelot.view.controls.delegates.texteditdelegate 
    96    :members: 
    97 .. automodule:: camelot.view.controls.delegates.timedelegate 
    98    :members: 
    99 .. automodule:: camelot.view.controls.delegates.virtualaddressdelegate 
    100    :members: 
     57.. automodule:: camelot.view.controls.delegates 
    10158 
    10259Attributes common to most delegates 
  • trunk/doc/sphinx/source/doc/models.rst

    r838 r1180  
    1919====================== 
    2020 
    21 .. automodule:: sqlalchemy.types 
    22    :members: 
     21SQLAlchemy provides a number of field types that map to available data types in SQL, more information on those 
     22can be found on the `SQLAlchemy website <http://www.sqlalchemy.org/docs/reference/sqlalchemy/types.html>`_ . 
    2323    
    2424Camelot field types 
  • trunk/doc/sphinx/source/tutorial/videostore.rst

    r638 r1180  
    215215    from camelot.model.i18n import Translation 
    216216    return [Section('relation', 
    217                     Icon('tango/24x24/apps/system-users.png'), 
     217                    Icon('tango/22x22/apps/system-users.png'), 
    218218                    items = [Person, Organization]), 
    219219            Section('configuration', 
    220                     Icon('tango/24x24/categories/preferences-system.png'), 
     220                    Icon('tango/22x22/categories/preferences-system.png'), 
    221221                    items = [Memento, Translation]) 
    222222            ] 
     
    231231 
    232232        Section('movies', 
    233             Icon('tango/24x24/mimetypes/x-office-presentation.png'), 
     233            Icon('tango/22x22/mimetypes/x-office-presentation.png'), 
    234234            items = [Movie]) 
    235235 
     
    249249    from example.model import Movie 
    250250    return [Section('movies',  
    251                     Icon('tango/24x24/mimetypes/x-office-presentation.png'), 
     251                    Icon('tango/22x22/mimetypes/x-office-presentation.png'), 
    252252                    items = [Movie]), 
    253253            Section('relation', 
    254                     Icon('tango/24x24/apps/system-users.png'), 
     254                    Icon('tango/22x22/apps/system-users.png'), 
    255255                    items = [Person, Organization]), 
    256256            Section('configuration', 
    257                     Icon('tango/24x24/categories/preferences-system.png'), 
     257                    Icon('tango/22x22/categories/preferences-system.png'), 
    258258                    items = [Memento, Translation]) 
    259259            ] 
     
    373373 
    374374        Section('movies',  
    375             Icon('tango/24x24/mimetypes/x-office-presentation.png'), 
     375            Icon('tango/22x22/mimetypes/x-office-presentation.png'), 
    376376            items = [Movie, Director]) 
    377377