UIPainter.st
changeset 527 6dc446339dc2
parent 518 435dcb241555
child 533 dde823aeca4c
equal deleted inserted replaced
526:7a4749b25748 527:6dc446339dc2
   307     ^
   307     ^
   308      
   308      
   309        #(#FullSpec
   309        #(#FullSpec
   310           #'window:' 
   310           #'window:' 
   311            #(#WindowSpec
   311            #(#WindowSpec
   312               #'name:' 'Grid Parameters:'
   312               #'name:' 'GUI Builder'
   313               #'layout:' #(#LayoutFrame 229 0 394 0 494 0 543 0)
   313               #'layout:' #(#LayoutFrame 44 0 416 0 325 0 613 0)
   314               #'label:' 'Grid Parameters:'
   314               #'label:' 'GUI Builder'
   315               #'min:' #(#Point 10 10)
   315               #'min:' #(#Point 10 10)
   316               #'max:' #(#Point 1280 1024)
   316               #'max:' #(#Point 1280 1024)
   317               #'bounds:' #(#Rectangle 229 394 495 544)
   317               #'bounds:' #(#Rectangle 44 416 326 614)
   318               #'usePreferredExtent:' false
   318               #'usePreferredExtent:' false
   319           )
   319           )
   320           #'component:' 
   320           #'component:' 
   321            #(#SpecCollection
   321            #(#SpecCollection
   322               #'collection:' 
   322               #'collection:' 
   323                #(
   323                #(
   324                  #(#CheckBoxSpec
   324                  #(#FramedBoxSpec
   325                     #'name:' 'show'
   325                     #'name:' 'framedBox'
   326                     #'layout:' #(#Point 13 14)
   326                     #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
   327                     #'model:' #showGrid
   327                     #'component:' 
   328                     #'label:' 'Show grid'
   328                      #(#SpecCollection
   329                 )
   329                         #'collection:' 
   330                  #(#CheckBoxSpec
   330                          #(
   331                     #'name:' 'align'
   331                            #(#CheckBoxSpec
   332                     #'layout:' #(#Point 117 14)
   332                               #'name:' 'show'
   333                     #'model:' #alignToGrid
   333                               #'layout:' #(#Point 23 24)
   334                     #'label:' 'Align to Grid'
   334                               #'model:' #showGrid
   335                 )
   335                               #'label:' 'Show grid'
   336                  #(#LabelSpec
   336                           )
   337                     #'name:' 'hrzLabel'
   337                            #(#CheckBoxSpec
   338                     #'layout:' #(#AlignmentOrigin 136 0 62 0 1 0.5)
   338                               #'name:' 'align'
   339                     #'label:' 'Horizontal Pixels:'
   339                               #'layout:' #(#Point 23 52)
   340                     #'adjust:' #right
   340                               #'model:' #alignToGrid
   341                     #'resizeForLabel:' true
   341                               #'label:' 'Align to Grid'
   342                 )
   342                           )
   343                  #(#InputFieldSpec
   343                            #(#LabelSpec
   344                     #'name:' 'hrzField'
   344                               #'name:' 'hrzLabel'
   345                     #'layout:' #(#LayoutFrame 141 0 51 0 194 0 73 0)
   345                               #'layout:' #(#AlignmentOrigin 148 0 99 0 1 0.5)
   346                     #'model:' #hspace
   346                               #'label:' 'Horizontal Pixels:'
   347                     #'type:' #numberOrNil
   347                               #'adjust:' #right
   348                 )
   348                               #'resizeForLabel:' true
   349                  #(#LabelSpec
   349                           )
   350                     #'name:' 'vrtLabel'
   350                            #(#InputFieldSpec
   351                     #'layout:' #(#AlignmentOrigin 137 0 85 0 1 0.5)
   351                               #'name:' 'hrzField'
   352                     #'label:' 'Vertical Pixels:'
   352                               #'layout:' #(#LayoutFrame 154 0 87 0 207 0 109 0)
   353                     #'adjust:' #right
   353                               #'model:' #hspace
   354                     #'resizeForLabel:' true
   354                               #'type:' #numberOrNil
   355                 )
   355                           )
   356                  #(#InputFieldSpec
   356                            #(#LabelSpec
   357                     #'name:' 'vrtField'
   357                               #'name:' 'vrtLabel'
   358                     #'layout:' #(#LayoutFrame 141 0 74 0 194 0 96 0)
   358                               #'layout:' #(#AlignmentOrigin 149 0 124 0 1 0.5)
   359                     #'model:' #vspace
   359                               #'label:' 'Vertical Pixels:'
   360                     #'type:' #numberOrNil
   360                               #'adjust:' #right
       
   361                               #'resizeForLabel:' true
       
   362                           )
       
   363                            #(#InputFieldSpec
       
   364                               #'name:' 'vrtField'
       
   365                               #'layout:' #(#LayoutFrame 154 0 112 0 207 0 134 0)
       
   366                               #'model:' #vspace
       
   367                               #'type:' #numberOrNil
       
   368                           )
       
   369                         )
       
   370                     )
       
   371                     #'label:' 'Grid Parameter'
       
   372                     #'labelPosition:' #topLeft
   361                 )
   373                 )
   362                  #(#UISubSpecification
   374                  #(#UISubSpecification
   363                     #'name:' 'uISubSpecifica1'
   375                     #'name:' 'uISubSpecifica1'
   364                     #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
   376                     #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
   365                     #'majorKey:' #ToolApplicationModel
   377                     #'majorKey:' #ToolApplicationModel
   386     ^
   398     ^
   387      
   399      
   388        #(#FullSpec
   400        #(#FullSpec
   389           #'window:' 
   401           #'window:' 
   390            #(#WindowSpec
   402            #(#WindowSpec
   391               #'name:' 'Painter'
   403               #'name:' 'GUI Builder'
   392               #'layout:' #(#LayoutFrame 101 0 328 0 491 0 497 0)
   404               #'layout:' #(#LayoutFrame 44 0 416 0 357 0 575 0)
   393               #'label:' 'Painter'
   405               #'label:' 'GUI Builder'
   394               #'min:' #(#Point 10 10)
   406               #'min:' #(#Point 10 10)
   395               #'max:' #(#Point 1152 900)
   407               #'max:' #(#Point 1152 900)
   396               #'bounds:' #(#Rectangle 101 328 492 498)
   408               #'bounds:' #(#Rectangle 44 416 358 576)
   397               #'usePreferredExtent:' false
   409               #'usePreferredExtent:' false
   398           )
   410           )
   399           #'component:' 
   411           #'component:' 
   400            #(#SpecCollection
   412            #(#SpecCollection
   401               #'collection:' 
   413               #'collection:' 
   402                #(
   414                #(
   403                  #(#LabelSpec
   415                  #(#FramedBoxSpec
   404                     #'name:' 'classLabel'
   416                     #'name:' 'framedBox1'
   405                     #'layout:' #(#AlignmentOrigin 50 0.11 51 0 1 0.5)
   417                     #'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0)
   406                     #'label:' 'Class:'
   418                     #'component:' 
   407                     #'adjust:' #right
   419                      #(#SpecCollection
   408                     #'resizeForLabel:' true
   420                         #'collection:' 
   409                 )
   421                          #(
   410                  #(#LabelSpec
   422                            #(#LabelSpec
   411                     #'name:' 'superClassLabel'
   423                               #'name:' 'selectorLabel'
   412                     #'layout:' #(#AlignmentOrigin 50 0.11 77 0 1 0.5)
   424                               #'layout:' #(#AlignmentOrigin 63 0.11 39 0 1 0.5)
   413                     #'label:' 'Superclass:'
   425                               #'label:' 'Selector:'
   414                     #'adjust:' #right
   426                               #'adjust:' #right
   415                     #'resizeForLabel:' true
   427                               #'resizeForLabel:' true
   416                 )
   428                           )
   417                  #(#LabelSpec
   429                            #(#InputFieldSpec
   418                     #'name:' 'selectorLabel'
   430                               #'name:' 'methodNameField'
   419                     #'layout:' #(#AlignmentOrigin 50 0.11 105 0 1 0.5)
   431                               #'layout:' #(#LayoutFrame 67 0.11 28 0 14 1.0 50 0)
   420                     #'label:' 'Selector:'
   432                               #'tabable:' true
   421                     #'adjust:' #right
   433                               #'model:' #methodNameChannel
   422                     #'resizeForLabel:' true
   434                           )
   423                 )
   435                            #(#LabelSpec
   424                  #(#InputFieldSpec
   436                               #'name:' 'classLabel'
   425                     #'name:' 'methodNameField'
   437                               #'layout:' #(#AlignmentOrigin 63 0.11 64 0 1 0.5)
   426                     #'layout:' #(#LayoutFrame 51 0.11 95 0 -2 1.0 117 0)
   438                               #'label:' 'Class:'
   427                     #'tabable:' true
   439                               #'adjust:' #right
   428                     #'model:' #methodNameChannel
   440                               #'resizeForLabel:' true
   429                 )
   441                           )
   430                  #(#LabelSpec
   442                            #(#InputFieldSpec
   431                     #'name:' 'boxLabel'
   443                               #'name:' 'classNameField'
   432                     #'layout:' #(#Point 2 10)
   444                               #'layout:' #(#LayoutFrame 67 0.11 53 0 14 1.0 75 0)
   433                     #'label:' 'Class and selector for interface:'
   445                               #'tabable:' true
   434                     #'adjust:' #left
   446                               #'model:' #classNameChannel
   435                     #'resizeForLabel:' true
   447                           )
   436                 )
   448                            #(#LabelSpec
   437                  #(#InputFieldSpec
   449                               #'name:' 'superClassLabel'
   438                     #'name:' 'classNameField'
   450                               #'layout:' #(#AlignmentOrigin 63 0.11 89 0 1 0.5)
   439                     #'layout:' #(#LayoutFrame 51 0.11 39 0 -2 1.0 61 0)
   451                               #'label:' 'Superclass:'
   440                     #'tabable:' true
   452                               #'adjust:' #right
   441                     #'model:' #classNameChannel
   453                               #'resizeForLabel:' true
   442                 )
   454                           )
   443                  #(#ComboBoxSpec
   455                            #(#ComboBoxSpec
   444                     #'name:' 'comboBox1'
   456                               #'name:' 'superclassNameComboBox'
   445                     #'layout:' #(#LayoutFrame 51 0.11 67 0 0 1.0 89 0)
   457                               #'layout:' #(#LayoutFrame 67 0.11 78 0 14 1.0 100 0)
   446                     #'tabable:' true
   458                               #'tabable:' true
   447                     #'model:' #superclassNameChannel
   459                               #'model:' #superclassNameChannel
   448                     #'comboList:' #superclassNameDefaults
   460                               #'comboList:' #superclassNameDefaults
       
   461                           )
       
   462                         )
       
   463                     )
       
   464                     #'label:' 'Class and selector for interface'
       
   465                     #'labelPosition:' #topLeft
   449                 )
   466                 )
   450                  #(#UISubSpecification
   467                  #(#UISubSpecification
   451                     #'name:' 'uISubSpecifica1'
   468                     #'name:' 'uISubSpecifica1'
   452                     #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
   469                     #'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1)
   453                     #'majorKey:' #ToolApplicationModel
   470                     #'majorKey:' #ToolApplicationModel
   549                                                             #'activeHelpKey:' #cancel
   566                                                             #'activeHelpKey:' #cancel
   550                                                             #'label:' 'Cancel'
   567                                                             #'label:' 'Cancel'
   551                                                             #'tabable:' true
   568                                                             #'tabable:' true
   552                                                             #'model:' #cancel
   569                                                             #'model:' #cancel
   553                                                             #'enableChannel:' #modifiedChannel
   570                                                             #'enableChannel:' #modifiedChannel
   554                                                             #'extent:' #(#Point 179 24)
   571                                                             #'extent:' #(#Point 79 24)
   555                                                         )
   572                                                         )
   556                                                          #(#ActionButtonSpec
   573                                                          #(#ActionButtonSpec
   557                                                             #'name:' 'acceptButton'
   574                                                             #'name:' 'acceptButton'
   558                                                             #'activeHelpKey:' #accept
   575                                                             #'activeHelpKey:' #accept
   559                                                             #'label:' 'OK'
   576                                                             #'label:' 'OK'
   560                                                             #'tabable:' true
   577                                                             #'tabable:' true
   561                                                             #'model:' #accept
   578                                                             #'model:' #accept
   562                                                             #'enableChannel:' #modifiedChannel
   579                                                             #'enableChannel:' #modifiedChannel
   563                                                             #'extent:' #(#Point 179 24)
   580                                                             #'extent:' #(#Point 79 24)
   564                                                         )
   581                                                         )
   565                                                       )
   582                                                       )
   566                                                   )
   583                                                   )
   567                                                   #'horizontalLayout:' #fitSpace
   584                                                   #'horizontalLayout:' #fitSpace
   568                                                   #'verticalLayout:' #fitSpace
   585                                                   #'verticalLayout:' #fitSpace
   648                     #'minorKey:' #windowSpecForInfoBar
   665                     #'minorKey:' #windowSpecForInfoBar
   649                 )
   666                 )
   650               )
   667               )
   651           )
   668           )
   652       )
   669       )
   653 
       
   654     "Modified: / 28.1.1998 / 20:20:29 / cg"
       
   655 ! !
   670 ! !
   656 
   671 
   657 !UIPainter class methodsFor:'menu specs'!
   672 !UIPainter class methodsFor:'menu specs'!
   658 
   673 
   659 menu
   674 menu