Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix inserwidget on linux

  • Loading branch information...
commit 8e3587eedfd3f5049bf49ad5c065c216d5b8d49f 1 parent 0ec5eec
Erik Janssens authored
Showing with 10 additions and 10 deletions.
  1. +1 −1  camelot/view/controls/formview.py
  2. +9 −9 readme.txt
View
2  camelot/view/controls/formview.py
@@ -353,7 +353,7 @@ def set_toolbar_actions(self, actions):
qaction.triggered.connect( self.action_triggered )
toolbar.addAction( qaction )
toolbar.addWidget( BusyWidget() )
- layout.insertWidget( 0, toolbar, 0, 0 )
+ layout.insertWidget( 0, toolbar, 0, Qt.AlignTop )
@QtCore.pyqtSlot( bool )
def action_triggered( self, _checked = False ):
View
18 readme.txt
@@ -2,17 +2,17 @@
Camelot
##########
-Camelot provides components for building business applications on top
-*SQLAlchemy* and *Qt*. It is inspired by the Django admin interface. A simple
-piece of code as this::
+Camelot provides components for building business applications on top of **Python**, **SQLAlchemy** and **Qt**.
+It is inspired by the Django admin interface.
+A simple piece of code as this::
- class Movie( Entity ):
- title = Column( Unicode( 60 ), nullable = False )
- short_description = Column( Unicode( 512 ) )
- release_date = Column( Date() )
+ class Task( Entity ):
+ short_description = Column( Unicode( 60 ), nullable = False )
+ due_date = Column( Date() )
+ long_description = Column( RichText() )
- class Admin(EntityAdmin):
- list_display = ['title', 'short_description', 'release_date']
+ class Admin( EntityAdmin ):
+ list_display = ['short_description', 'due_date']
Is enough to define your database schema, define the mapping between the
database and objects, and to create a user friendly desktop GUI.
Please sign in to comment.
Something went wrong with that request. Please try again.