Navigation
index
modules
|
next
|
previous
|
Camelot documentation
»
Camelot Documentation contents
ΒΆ
Tutorials
Creating a Movie Database Application
Setup Spyder
Starting a new Camelot 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
Column types
Relations
Attribute-based syntax
ManyToOne
OneToMany
OneToOne
ManyToMany
DSL-based syntax
belongs_to
has_many
has_one
has_and_belongs_to_many
Calculated Fields
Python properties as fields
Cascading field changes
Fields calculated by the database
Views
The model to start from
Definition of the view
Put into action
Admin classes
ObjectAdmin
EntityAdmin
Others
Field Attributes
Static Field Attributes
Dynamic Field Attributes
Overview of the field attributes
address_validator
calculator
create_inline
column_width
directory
editable
field_name
file_filter
length
minimum
maximum
precision
choices
minimal_column_width
prefix
remove_original
single_step
suffix
tooltip
translate_content
background_color
name
target
admin
address_type
Customizing multiple field attributes
Validators
Customizing the Application
The Application Admin
The look of the main window
Interaction with the Operating System
The look of the application
The content of the help menu
Default behavior of the application
The look of the form views
Example
Example of a reduced application
Creating Forms
Form
Inheritance and Forms
Putting notes on forms
Available Form Subclasses
Customizing Forms
Layout
Editors
Tooltips
Buttons
Validation
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
Issue SQLAlchemy statements
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
Charts
A simple plot
Actions
Advanced Plots
More
Document Management
The File field type
The StoredFile
The Storage
Under the hood
Global settings
Setting up the ORM
Setting up the Database
Engine
Metadata
Creating the tables
Working without the default model
Transactions
Using Camelot without the GUI
Built in data models
Modules
Persons and Organizations
I18N
Fixture
Authentication
Batch Jobs
History tracking
Customization
Adding fields
Fixtures : handling static data in the database
When to update fixtures
Creating new data
Update fixtures
The fixture version
Managing a Camelot project
camelot_admin.py
The Two Threads
Introduction
Two Threads
The Model Thread
The GUI Thread
Actions
Proxy classes
Application speedup
Frequently Asked Questions
How to use the PySide bindings instead of PyQt ?
Can I use Camelot with an existing database ?
Why is there no
Save
button ?
But my users really want a
Save
button ?
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
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
Unified Model Definition
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
»