SettingsDialog.st
changeset 18507 2844e4dee422
parent 18390 f908dc1c5812
child 18538 59d86bc7659f
equal deleted inserted replaced
18506:b07e5f5e1c15 18507:2844e4dee422
   389     <resource: #canvas>
   389     <resource: #canvas>
   390 
   390 
   391     ^ 
   391     ^ 
   392     #(FullSpec
   392     #(FullSpec
   393        name: windowSpec
   393        name: windowSpec
       
   394        uuid: 'e15a009c-dc5b-11e8-91fc-b8f6b1108e05'
   394        window: 
   395        window: 
   395       (WindowSpec
   396       (WindowSpec
   396          label: 'Settings Dialog'
   397          label: 'Settings Dialog'
   397          name: 'Settings Dialog'
   398          name: 'Settings Dialog'
       
   399          uuid: '591fa42a-dc5b-11e8-91fc-b8f6b1108e05'
   398          min: (Point 10 10)
   400          min: (Point 10 10)
   399          bounds: (Rectangle 0 0 850 656)
   401          bounds: (Rectangle 0 0 850 656)
   400          menu: mainMenu
   402          menu: mainMenu
   401          icon: defaultIcon
   403          icon: defaultIcon
   402        )
   404        )
   404       (SpecCollection
   406       (SpecCollection
   405          collection: (
   407          collection: (
   406           (VariableHorizontalPanelSpec
   408           (VariableHorizontalPanelSpec
   407              name: 'VariableHorizontalPanel1'
   409              name: 'VariableHorizontalPanel1'
   408              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
   410              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
   409              showHandle: true
   411              uuid: '591fa736-dc5b-11e8-91fc-b8f6b1108e05'
   410              snapMode: both
   412              snapMode: both
   411              component: 
   413              component: 
   412             (SpecCollection
   414             (SpecCollection
   413                collection: (
   415                collection: (
   414                 (ViewSpec
   416                 (ViewSpec
   415                    name: 'Box1'
   417                    name: 'Box1'
       
   418                    uuid: '591fa984-dc5b-11e8-91fc-b8f6b1108e05'
   416                    component: 
   419                    component: 
   417                   (SpecCollection
   420                   (SpecCollection
   418                      collection: (
   421                      collection: (
   419                       (VerticalPanelViewSpec
   422                       (VerticalPanelViewSpec
   420                          name: 'VerticalPanel1'
   423                          name: 'VerticalPanel1'
   421                          layout: (LayoutFrame 0 0 0 0 0 1 -34 1)
   424                          layout: (LayoutFrame 0 0 0 0 0 1 -34 1)
       
   425                          uuid: '591faace-dc5b-11e8-91fc-b8f6b1108e05'
   422                          horizontalLayout: fit
   426                          horizontalLayout: fit
   423                          verticalLayout: topFit
   427                          verticalLayout: topFit
   424                          horizontalSpace: 3
   428                          horizontalSpace: 3
   425                          verticalSpace: 3
   429                          verticalSpace: 3
   426                          component: 
   430                          component: 
   427                         (SpecCollection
   431                         (SpecCollection
   428                            collection: (
   432                            collection: (
   429                             (ViewSpec
   433                             (ViewSpec
   430                                name: 'QuickSearchBox'
   434                                name: 'QuickSearchBox'
       
   435                                uuid: '591fac9a-dc5b-11e8-91fc-b8f6b1108e05'
   431                                visibilityChannel: quickSearchFieldShownHolder
   436                                visibilityChannel: quickSearchFieldShownHolder
   432                                component: 
   437                                component: 
   433                               (SpecCollection
   438                               (SpecCollection
   434                                  collection: (
   439                                  collection: (
   435                                   (LabelSpec
   440                                   (LabelSpec
   436                                      label: 'Quick Search:'
   441                                      label: 'Quick Search:'
   437                                      name: 'Label1'
   442                                      name: 'Label1'
   438                                      layout: (LayoutFrame 0 0 0 0 150 0 0 1)
   443                                      layout: (LayoutFrame 0 0 0 0 150 0 0 1)
   439                                      activeHelpKey: quickSearchString
   444                                      activeHelpKey: quickSearchString
       
   445                                      uuid: '591fadc6-dc5b-11e8-91fc-b8f6b1108e05'
   440                                      translateLabel: true
   446                                      translateLabel: true
   441                                      adjust: left
   447                                      adjust: left
   442                                    )
   448                                    )
   443                                   (InputFieldSpec
   449                                   (InputFieldSpec
   444                                      name: 'QuickSeachEntryField'
   450                                      name: 'QuickSeachEntryField'
   445                                      layout: (LayoutFrame 150 0 0 0 0 1 0 1)
   451                                      layout: (LayoutFrame 150 0 0 0 0 1 0 1)
   446                                      activeHelpKey: quickSearchString
   452                                      activeHelpKey: quickSearchString
       
   453                                      uuid: '591fafe2-dc5b-11e8-91fc-b8f6b1108e05'
   447                                      model: quickSearchStringHolder
   454                                      model: quickSearchStringHolder
   448                                      immediateAccept: true
   455                                      immediateAccept: true
   449                                      acceptOnReturn: true
   456                                      acceptOnReturn: true
   450                                      acceptOnTab: true
   457                                      acceptOnTab: true
   451                                      acceptOnPointerLeave: true
   458                                      acceptOnPointerLeave: true
   455                                )
   462                                )
   456                                extent: (Point 249 30)
   463                                extent: (Point 249 30)
   457                              )
   464                              )
   458                             (HierarchicalListViewSpec
   465                             (HierarchicalListViewSpec
   459                                name: 'HierarchicalListView1'
   466                                name: 'HierarchicalListView1'
       
   467                                uuid: '591fb302-dc5b-11e8-91fc-b8f6b1108e05'
   460                                model: selectedItem
   468                                model: selectedItem
   461                                hasHorizontalScrollBar: true
   469                                hasHorizontalScrollBar: true
   462                                hasVerticalScrollBar: true
   470                                hasVerticalScrollBar: true
   463                                listModel: applicationList
   471                                listModel: applicationList
   464                                useIndex: false
   472                                useIndex: false
   472                          )
   480                          )
   473                        )
   481                        )
   474                       (HorizontalPanelViewSpec
   482                       (HorizontalPanelViewSpec
   475                          name: 'HorizontalPanel2'
   483                          name: 'HorizontalPanel2'
   476                          layout: (LayoutFrame 0 0.0 -34 1 0 1.0 0 1)
   484                          layout: (LayoutFrame 0 0.0 -34 1 0 1.0 0 1)
       
   485                          uuid: '591fb654-dc5b-11e8-91fc-b8f6b1108e05'
   477                          visibilityChannel: loadAndSaveSettingsItemVisible
   486                          visibilityChannel: loadAndSaveSettingsItemVisible
   478                          horizontalLayout: fitSpace
   487                          horizontalLayout: fitSpace
   479                          verticalLayout: center
   488                          verticalLayout: center
   480                          horizontalSpace: 3
   489                          horizontalSpace: 3
   481                          verticalSpace: 3
   490                          verticalSpace: 3
   484                            collection: (
   493                            collection: (
   485                             (ActionButtonSpec
   494                             (ActionButtonSpec
   486                                label: 'Save'
   495                                label: 'Save'
   487                                name: 'Button3'
   496                                name: 'Button3'
   488                                activeHelpKey: saveSettingsToFile
   497                                activeHelpKey: saveSettingsToFile
       
   498                                uuid: '591fb820-dc5b-11e8-91fc-b8f6b1108e05'
   489                                translateLabel: true
   499                                translateLabel: true
   490                                tabable: true
   500                                tabable: true
   491                                model: saveSettingsWithoutAskingForFile
   501                                model: saveSettingsWithoutAskingForFile
   492                                extent: (Point 118 28)
   502                                extent: (Point 118 28)
   493                              )
   503                              )
   494                             (ActionButtonSpec
   504                             (ActionButtonSpec
   495                                label: 'Load From...'
   505                                label: 'Load From...'
   496                                name: 'Button2'
   506                                name: 'Button2'
   497                                activeHelpKey: loadSettingsFromFile
   507                                activeHelpKey: loadSettingsFromFile
       
   508                                uuid: '591fba8c-dc5b-11e8-91fc-b8f6b1108e05'
   498                                translateLabel: true
   509                                translateLabel: true
   499                                tabable: true
   510                                tabable: true
   500                                model: loadSettingsFromFile
   511                                model: loadSettingsFromFile
   501                                extent: (Point 119 28)
   512                                extent: (Point 119 28)
   502                              )
   513                              )
   508                     
   519                     
   509                    )
   520                    )
   510                  )
   521                  )
   511                 (ViewSpec
   522                 (ViewSpec
   512                    name: 'Box2'
   523                    name: 'Box2'
       
   524                    uuid: '591fbd70-dc5b-11e8-91fc-b8f6b1108e05'
   513                    component: 
   525                    component: 
   514                   (SpecCollection
   526                   (SpecCollection
   515                      collection: (
   527                      collection: (
   516                       (ViewSpec
   528                       (ViewSpec
   517                          name: 'DisabledSettingsBox'
   529                          name: 'DisabledSettingsBox'
   518                          layout: (LayoutFrame 0 0 0 0 0 1 0 1)
   530                          layout: (LayoutFrame 0 0 0 0 0 1 0 1)
       
   531                          uuid: '591fbe9c-dc5b-11e8-91fc-b8f6b1108e05'
   519                          initiallyInvisible: true
   532                          initiallyInvisible: true
   520                          component: 
   533                          component: 
   521                         (SpecCollection
   534                         (SpecCollection
   522                            collection: (
   535                            collection: (
   523                             (LabelSpec
   536                             (LabelSpec
   524                                label: 'whyDisabledLabel'
   537                                label: 'whyDisabledLabel'
   525                                name: 'whyDisabledLabel'
   538                                name: 'whyDisabledLabel'
   526                                layout: (LayoutFrame 0 0 0 0 0 1 0 1)
   539                                layout: (LayoutFrame 0 0 0 0 0 1 0 1)
       
   540                                uuid: '591fbfb4-dc5b-11e8-91fc-b8f6b1108e05'
   527                                translateLabel: true
   541                                translateLabel: true
   528                                labelChannel: whyDisabledInfoHolder
   542                                labelChannel: whyDisabledInfoHolder
   529                              )
   543                              )
   530                             )
   544                             )
   531                           
   545                           
   532                          )
   546                          )
   533                        )
   547                        )
   534                       (SubCanvasSpec
   548                       (SubCanvasSpec
   535                          name: 'SubCanvas'
   549                          name: 'SubCanvas'
   536                          layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 -34 1)
   550                          layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 -34 1)
   537                          level: -1
   551                          uuid: '591fc144-dc5b-11e8-91fc-b8f6b1108e05'
   538                          hasHorizontalScrollBar: true
   552                          hasHorizontalScrollBar: true
   539                          hasVerticalScrollBar: true
   553                          hasVerticalScrollBar: true
   540                          miniScrollerHorizontal: false
   554                          miniScrollerHorizontal: false
   541                          miniScrollerVertical: false
   555                          miniScrollerVertical: false
   542                          clientHolder: subCanvasApplicationHolder
   556                          clientHolder: subCanvasApplicationHolder
   544                          postBuildCallback: postBuildSubCanvas:
   558                          postBuildCallback: postBuildSubCanvas:
   545                        )
   559                        )
   546                       (HorizontalPanelViewSpec
   560                       (HorizontalPanelViewSpec
   547                          name: 'HorizontalPanel1'
   561                          name: 'HorizontalPanel1'
   548                          layout: (LayoutFrame 0 0.0 -34 1 -16 1.0 0 1)
   562                          layout: (LayoutFrame 0 0.0 -34 1 -16 1.0 0 1)
       
   563                          uuid: '591fc3ba-dc5b-11e8-91fc-b8f6b1108e05'
   549                          horizontalLayout: fitSpace
   564                          horizontalLayout: fitSpace
   550                          verticalLayout: center
   565                          verticalLayout: center
   551                          horizontalSpace: 3
   566                          horizontalSpace: 3
   552                          verticalSpace: 3
   567                          verticalSpace: 3
   553                          reverseOrderIfOKAtLeft: true
   568                          reverseOrderIfOKAtLeft: true
   556                            collection: (
   571                            collection: (
   557                             (ActionButtonSpec
   572                             (ActionButtonSpec
   558                                label: 'Help'
   573                                label: 'Help'
   559                                name: 'Help'
   574                                name: 'Help'
   560                                activeHelpKey: helpOnSettings
   575                                activeHelpKey: helpOnSettings
       
   576                                uuid: '591fc55e-dc5b-11e8-91fc-b8f6b1108e05'
   561                                translateLabel: true
   577                                translateLabel: true
   562                                tabable: true
   578                                tabable: true
   563                                model: help
   579                                model: help
   564                                enableChannel: enableHelp
   580                                enableChannel: enableHelp
   565                                extent: (Point 138 28)
   581                                extent: (Point 138 28)
   566                              )
   582                              )
   567                             (ActionButtonSpec
   583                             (ActionButtonSpec
   568                                label: 'Close'
   584                                label: 'Close'
   569                                name: 'Button4'
   585                                name: 'Button4'
   570                                activeHelpKey: closeRequest
   586                                activeHelpKey: closeRequest
       
   587                                uuid: '591fc734-dc5b-11e8-91fc-b8f6b1108e05'
   571                                visibilityChannel: closeButtonVisibleHolder
   588                                visibilityChannel: closeButtonVisibleHolder
   572                                translateLabel: true
   589                                translateLabel: true
   573                                model: closeRequest
   590                                model: closeRequest
   574                                extent: (Point 138 28)
   591                                extent: (Point 138 28)
   575                              )
   592                              )
   576                             (ActionButtonSpec
   593                             (ActionButtonSpec
   577                                label: 'Discard'
   594                                label: 'Discard'
   578                                name: 'Reload'
   595                                name: 'Reload'
   579                                activeHelpKey: discardChangedSettings
   596                                activeHelpKey: discardChangedSettings
       
   597                                uuid: '591fc8f6-dc5b-11e8-91fc-b8f6b1108e05'
   580                                translateLabel: true
   598                                translateLabel: true
   581                                tabable: true
   599                                tabable: true
   582                                model: doReload
   600                                model: doReload
   583                                enableChannel: enableReload
   601                                enableChannel: enableReload
   584                                extent: (Point 138 28)
   602                                extent: (Point 138 28)
   585                              )
   603                              )
   586                             (ActionButtonSpec
   604                             (ActionButtonSpec
   587                                label: 'Apply'
   605                                label: 'Apply'
   588                                name: 'Apply'
   606                                name: 'Apply'
   589                                activeHelpKey: acceptChangedSettings
   607                                activeHelpKey: acceptChangedSettings
       
   608                                uuid: '591fcaa4-dc5b-11e8-91fc-b8f6b1108e05'
   590                                translateLabel: true
   609                                translateLabel: true
   591                                tabable: true
   610                                tabable: true
   592                                model: doSave
   611                                model: doSave
   593                                enableChannel: enableOK
   612                                enableChannel: enableOK
   594                                extent: (Point 139 28)
   613                                extent: (Point 139 28)