Marbles: Difference between revisions
No edit summary |
No edit summary |
||
| Line 79: | Line 79: | ||
#Table: Widget | #Table: Widget | ||
#*Fields: Widget id,name,label,icon, height, width, position,parent_container id ,visible,focus-type, param1,param2 | #*Fields: Widget id,name,label,icon, height, width, position,parent_container id ,visible,focus-type, param1,param2 | ||
#*Widget table will contain widget id , it's name,label,positional parameters, id to its paraent container, and other parameters specific to <br | #*Widget table will contain widget id , it's name,label,positional parameters, id to its paraent container, and other parameters specific to <br> | ||
widget functionality like for checkbox we could have parameters like "default check". This table includes all type of widgets like containers | widget functionality like for checkbox we could have parameters like "default check". This table includes all type of widgets like containers<br> | ||
menu, buttons, checkbox etc<br/> | ,menu, buttons, checkbox etc<br/> | ||
#Events | #Events | ||
#*Fields: Eventid, type,signalid, signal-handler,object,widget-id(foreign key),params | #*Fields: Eventid, type,signalid, signal-handler,object,widget-id(foreign key),params | ||
#*Events table will register the events associated with the widgets. Note that signal handler would be called as object.signal-handler() with<br | #*Events table will register the events associated with the widgets. Note that signal handler would be called as object.signal-handler() with<br> parameters if necessary. | ||
#Navigation-Views | #Navigation-Views | ||
#*Fields: Widget-id,pos-x,pos-y,col-span,row-span,padding,Expanding(boolean), shrink(boolean), colorfill(boolean), params | #*Fields: Widget-id,pos-x,pos-y,col-span,row-span,padding,Expanding(boolean), shrink(boolean), colorfill(boolean), params | ||