Navigation
index
modules
|
next
|
previous
|
Camelot documentation
»
Camelot Documentation contents
ΒΆ
Tutorials
Creating a Movie Database Application
Starting a New Project
Main Window and Views
Creating the Movie Model
The EntityAdmin Subclass
Configuring the Application
Relationships
Creating a Report with Camelot
Massaging the model
The Summary class
Using Jinja templates
Add an import wizard to an application
Introduction
Create an action
Add the action to the GUI
Select the files
Create new movies
Refresh the GUI
Result
Unit tests
Conclusion
Camelot Documentation
Camelot Installation
All in one Windows installer
From the Python Package Index
Packages
From source
Verifiy the installation
Creating models
Fields
SQLAlchemy field types
Camelot field types
Calculated Fields
Python properties as fields
Attach actions to field changes
Fields calculated by the database
Views
The model to start from
Definition of the view
Put into action
Under the hood
Setting up the model
Metadata
Engine
Setup model
Working without the default model
Using Camelot without the GUI
Customizing the Admin classes
ObjectAdmin
EntityAdmin
Field Attributes
Static Field Attributes
Dynamic Field Attributes
Overview of the field attributes
address_validator
calculator
directory
editable
length
minimum
maximum
choices
minimal_column_width
prefix
single_step
suffix
tooltip
translate_content
background_color
name
target
admin
embedded
address_type
Customizing multiple field attributes
Validators
Customizing the Application
Creating Forms
Form
Inheritance and Forms
Putting notes on forms
Available Form Subclasses
Customizing Forms
Layout
Editors
Tooltips
Buttons
Validation
Behaviour
Actions
Introduction
Summary
What can happen inside
model_run()
yield
events to the GUI
keep the user informed about progress
manipulation of the model
raise exceptions
handle exceptions
request information from the user
States and Modes
States
Modes
Action Context
Application Actions
Form Actions
List Actions
Reusing List and Form actions
Available actions
Inspiration
Documents and Reports
Generate documents
HTML based documents
Alternative rendering
Docx based documents
Create a template document with MS Office
Clean the XML generated by MS Office
Replace the placeholders
Delegates
Specifying delegates
Available delegates
BoolDelegate
ChartDelegate
CodeDelegate
ColorDelegate
ColoredFloatDelegate
ComboBoxDelegate
CurrencyDelegate
DateDelegate
DateTimeDelegate
EnumerationDelegate
FileDelegate
FloatDelegate
ImageDelegate
IntegerDelegate
IntervalsDelegate
LabelDelegate
LanguageDelegate
LocalFileDelegate
Many2OneDelegate
ManyToManyDelegate
ManyToOneChoicesDelegate
MonthsDelegate
NoteDelegate
One2ManyDelegate
PlainTextDelegate
RichTextDelegate
SmileyDelegate
StarDelegate
TextBoolDelegate
TextEditDelegate
TimeDelegate
VirtualAddressDelegate
Charts
A simple plot
Advanced Plots
More
Document Management
The File field type
The StoredFile
The Storage
Build in data models
Persons and Organizations
Batch Jobs
Auditing
Fixtures : handling static data in the database
When to update fixtures
Creating new data
Update fixtures
Managing a Camelot project
camelot_admin.py
camelot_manage.py
Schema Revisions and Migrations
Leave it all to sqlalchemy-migrate
Use schema revisions
Camelot Shortcuts
Main window shortcuts
Menus shortcuts
Navigation pane shortcuts
Child windows shortcuts
Table view shortcuts
Form view shortcuts
The Two Threads
Introduction
Two Threads
The Model Thread
The GUI Thread
Actions
Proxy classes
Application speedup
Frequently Asked Questions
How to the PySide bindings instead of PyQt ?
Why is there no
Save
button ?
But my users really want a
Save
button ?
After editing a record, it suddenly moves in or disappears from the table view ?
Advanced Topics
Internationalization
How to Specify Translation Strings
Translating Camelot itself
Where to put Translations
Loading translations
End user translations
Unittests
Deployment
Building .egg files
Windows deployment
Through CloudLaunch
Using .egg files
Linux deployment
Authentication and permissions
Development Guidlines
Python, PyQt and Qt objects
Debugging Camelot and PyQt
Log the SQL Queries
Buiding Qt
Building SIP
Building PyQt
Using the libraries
Enable core dumps
Linux
Windows
Camelot, Qt, PyQt Licenses
Camelot License
GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
PyQt License
Qt License
Camelot’s Documentation Copyright
Previous topic
New Actions
Next topic
Tutorials
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
next
|
previous
|
Camelot documentation
»
Comments
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus