예제 #1
0
파일: media.py 프로젝트: liuzipenguk/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings['controls'] = (True, "Display the video player controls.")
     settings['loop'] = (False, "Automatically loop the video.")
     settings['autoplay'] = (False, "Automatically start playing the video.")
     settings.update(floats.caption_settings())
     return settings
예제 #2
0
파일: listing.py 프로젝트: aashiquear/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings.update(common.extractContentSettings())
     settings['max-height'] = (u'350px', "The default height for listing content.")
     settings['language'] = (None, "The language to use for highlighting, if not supplied it " \
                                   "will be inferred from the extension (if possible).")
     return settings
예제 #3
0
파일: devel.py 프로젝트: jwpeterson/moose
    def defaultSettings():
        settings = command.CommandComponent.defaultSettings()
        settings['module'] = (None, "The name of the module containing the object.")
        settings['object'] = (None, "The name of the object to import from the 'module'.")
        settings.update(floats.caption_settings())
        settings['prefix'] = (u'Table', settings['prefix'][1])

        return settings
예제 #4
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings.update(common.extractContentSettings())
     settings['max-height'] = ('350px',
                               "The default height for listing content.")
     settings['language'] = (None, "The language to use for highlighting, if not supplied it " \
                                   "will be inferred from the extension (if possible).")
     return settings
예제 #5
0
파일: media.py 프로젝트: jwpeterson/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings['controls'] = (True, "Display the video player controls.")
     settings['loop'] = (False, "Automatically loop the video.")
     settings['autoplay'] = (False, "Automatically start playing the video.")
     settings['tstart'] = (None, "Time (sec) to start video.")
     settings['tstop'] = (None, "Time (sec) to stop video.")
     settings.update(floats.caption_settings())
     return settings
예제 #6
0
파일: devel.py 프로젝트: lszeng-hnu/moose
    def defaultSettings():
        settings = command.CommandComponent.defaultSettings()
        settings['module'] = (None,
                              "The name of the module containing the object.")
        settings['object'] = (
            None, "The name of the object to import from the 'module'.")
        settings.update(floats.caption_settings())
        settings['prefix'] = ('Table', settings['prefix'][1])

        return settings
예제 #7
0
파일: graph.py 프로젝트: lszeng-hnu/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['data'] = (None, "Directly supply a list of dict items (i.e., JSON data) to the "
                               "plotly plot command, see "
                               "https://plot.ly/javascript/line-and-scatter"
                               "for additional details.")
     settings['layout'] = ('dict()', "Plotly layout settings for the chart, refer to "
                                     "https://plot.ly/javascript/reference/#layout "
                                     "for available options.")
     settings['filename'] = (None, "The name of a CSV file for extracting data, when used the "
                             "'x' and 'y' fields of the 'data' setting should be replaced by "
                             "column names or numbers.")
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Figure', settings['prefix'][1])
     return settings
예제 #8
0
파일: plotly.py 프로젝트: aashiquear/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['data'] = (None, "Directly supply a list of dict items (i.e., JSON data) to the "
                               "plotly plot command, see "
                               "https://plot.ly/javascript/line-and-scatter"
                               "for additional details.")
     settings['layout'] = ('dict()', "Plotly layout settings for the chart, refer to "
                                     "https://plot.ly/javascript/reference/#layout "
                                     "for available options.")
     settings['filename'] = (None, "The name of a CSV file for extracting data, when used the "
                             "'x' and 'y' fields of the 'data' setting should be replaced by "
                             "column names or numbers.")
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Figure', settings['prefix'][1])
     return settings
예제 #9
0
파일: media.py 프로젝트: marinasessim/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     return settings
예제 #10
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     return settings
예제 #11
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings.update(floats.caption_settings())
     return settings
예제 #12
0
파일: devel.py 프로젝트: lszeng-hnu/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Example', settings['prefix'][1])
     return settings
예제 #13
0
파일: devel.py 프로젝트: jwpeterson/moose
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings['prefix'] = (u'Example', settings['prefix'][1])
     return settings