Commit graph libervia-backend/frontends/primitivus/custom_widgets.py
Author SHA1 Message Date
Goffi
7f17176e2b Primitivus: AdvancedEdit and Notification bar improved
- AdvancedEdit now support a completion callback
- Notification bar now show progressions
2010-08-16 21:06:03 +08:00
Goffi
7fa8f4d0c2 Primitivus: send_file first draft
- a new dialog for choosing a file is work in progress
2010-08-12 23:09:31 +08:00
Goffi
c95e2aeea3 Primitivus: buttons are now in the bottom of Dialogs 2010-08-12 13:18:11 +08:00
Goffi
c34a6e5795 Primitivus: misc improvments on TabsContainer/FocusFrame
- FocusFrame: better management of keypress
- TabsContainer: new addFooter method, to add a widget on the bottom of the container
2010-08-09 21:58:28 +08:00
Goffi
7e80cd7658 Primitivus: new widget ColumnsRoller which show FlowWidgets on the same row, and can roll between them if there is not enough space 2010-08-09 19:09:13 +08:00
Goffi
d2644f1258 misc Tarot fixes
- wix, primitivus, quick_frontend: autoplay fonction is activated by changing self._autoplay from None to 0 in quick card game
- primitivus: added forgotten import of log methods
- primitivus: fix bad selected color for notification messages
- primitivus: score are now shown
2010-08-06 12:18:50 +08:00
Goffi
d1fd1cc04e Primitivus: notification bar, first draft
- popup queue is now managed
- notifications can auto-hide when nothing to show
- ctrl-n show next notification
Primitivus: ctrl-s allow to temporarily hide a popup
Primitivus: cards in card_game now answer to mouse click
Primitivus: notification is shown when invalid card is played in card_game
Primitivus: SelectableText has now methods get_text and set_text
2010-08-04 17:57:51 +08:00
Goffi
a4734f5868 Primitivus: custom_widgets imrpovments
- new container: TabsContainer
- menu roller can now remove a menu
- new Button: CustomButton (use ClickableText, and we can define the borders)
- SelectableText now manage mouse events
2010-07-30 18:43:09 +08:00
Goffi
3d5c5ada3c Primitivus: Tarot card game implementation
- quick frontend: card_game added
- wix: card_game splitted with quick frontend
- tools: new game library
- primitivus: new card_game widget (not finished yet)
- primitivus: SàT XML UI management: first draft
2010-07-26 19:43:44 +08:00
Goffi
3b5bd7695b Primitivus: menu roller doesn't go anymore on a menu if it's empty 2010-07-16 22:36:58 +08:00
Goffi
d6ae995bd6 Primitivus: menu are now managed and fully working
- new class MenuRoller for manager different menus
- Chat window now create is own menu
- some menu items added for general/contact menus
2010-07-16 20:25:06 +08:00
Goffi
ded8314a26 Primitivus: menu is now working
/!\ tooltips not managed yet, doesn't manage properly menu when it's displayed on several rows
/!\ still need to manage other menus (chat menu)
2010-07-14 19:36:40 +08:00
Goffi
9fbbd52805 Primitivus: misc fixes + menubar first draft
- Menu bar: first draft of class
- Password widget fixed
- change some str to unicode, notably for JID
2010-07-13 02:24:59 +08:00
Goffi
5f3463b147 primitivus: contact list enhancement
- primitivus: contact list now display groups and sexy name (instead of bare jid)
- primitivus: contact list now show an alert when somebody want to contact you, and its chat window is not on the screen
- primitivus: cursor is now visible when going to chat window (useful to go back in logs)
2010-07-12 17:50:00 +08:00
Goffi
61f6edae54 primitivus chat window
- management of one 2 one / group chat
- timestamp displayed
- added shortcuts for showing/hiding panels
- color used
- fixed vcard bug (contact displayed even if not from current profile if vcard changed/not in cache)
- added VerticalSeparator widget
- *List widgets can now use an other widget than SelectableText
- new UnselectableText widget
2010-07-08 19:47:54 +08:00
Goffi
493bf1d0c8 misc documentation 2010-07-08 14:19:30 +08:00
Goffi
dbb3520a4f primitivus group chat & misc
primitivus: new widget: SurroundedText (text with a character repeated around it)
primitivus: new decorator LabelLine (like lineBox, but with a label on the top line)
wix & primitivus & quick_app: group chat method move to quick_chat

wix: when new message, window is not raised anymore, but RequestUserAttention is called instead
2010-07-08 14:12:18 +08:00
Goffi
a21a658c33 Primitivus: chat window / text sending.
Primitivus has now the most basics features \o/
- core: new getVersion method
- primitivus: new debug key (C-d), only work if SàT is in dev version (D in version)
- quick_app: new post_init method, used for automatique task like auto-plug
- primitivus: lists now use genericList (Box) or List (Flow)
- primitivus: List now manage correctly its size
- primitivus: new FocusFrame widget which manage focus changing with 'tab'
- primitivus: advancedEdit now manage 'click' signal
- primitivus: contactList now manager 'change' and 'click' signals
- primitivus: Chat window now working
2010-07-05 19:13:36 +08:00
Goffi
8d1e8e1a11 primitivus: added edition zone at the bottom
- primitivus: new AdvancedEdit widget, which is like Edit but manage some new keys (C-a, C-e, C-k, C-w)
2010-07-03 13:56:44 +08:00
Goffi
66a6d7599c misc fixes 2010-07-03 12:01:01 +08:00
Goffi
9caff8237a primitivus: basic contact list, connexion now work \o/ 2010-07-01 18:52:51 +08:00
Goffi
6e4a5c25d2 primitivus: added Alert widget 2010-07-01 18:18:34 +08:00
Goffi
ab067174ff Primitivus: profile manager
- new custom widgets: Password, List, GenericDialog, InputDialog, ConfirmationDialog
2010-07-01 15:35:56 +08:00