Changeset 8210:22010b207c00 in orange


Ignore:
Timestamp:
08/18/11 10:09:10 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
efefaccf9d40ec54a2219f44e32d914681a030a6
Message:

Disable unused GUI options, make the widgets remember the rest.

Location:
orange/OrangeWidgets
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize Qt/OWLinProjQt.py

    r8173 r8210  
    2222########################################################################################### 
    2323class OWLinProjQt(OWVisWidget): 
    24     settingsList = ["graph.pointWidth", "graph.jitterSize", "graph.showFilledSymbols", "graph.scaleFactor", 
     24    settingsList = ["graph." + s for s in OWPlot.point_settings + OWPlot.appearance_settings] + [ 
     25                    "graph.jitterSize", "graph.showFilledSymbols", "graph.scaleFactor", 
    2526                    "graph.showLegend", "graph.useDifferentSymbols", "autoSendSelection", "graph.useDifferentColors", "graph.showValueLines", 
    26                     "graph.tooltipKind", "graph.tooltipValue", "toolbarSelection", "graph.alphaValue", 
     27                    "graph.tooltipKind", "graph.tooltipValue", "toolbarSelection", 
    2728                    "graph.showProbabilities", "graph.squareGranularity", "graph.spaceBetweenCells", "graph.useAntialiasing" 
    2829                    "valueScalingType", "showAllAttributes", "colorSettings", "selectedSchemaIndex", "addProjectedPositions"] 
  • orange/OrangeWidgets/Visualize Qt/OWParallelCoordinatesQt.py

    r8209 r8210  
    1919########################################################################################### 
    2020class OWParallelCoordinatesQt(OWVisWidget): 
    21     settingsList = ["graph.jitterSize", "graph.showDistributions", 
     21    settingsList = ["graph." + s for s in OWPlot.appearance_settings] + [ 
     22                    "graph.jitterSize", "graph.showDistributions", 
    2223                    "graph.showAttrValues", "graph.antialias_plot", 
    2324                    "graph.useSplines", "graph.alphaValue", "graph.alphaValue2", "graph.show_legend", "autoSendSelection", 
  • orange/OrangeWidgets/Visualize Qt/OWScatterPlotQt.py

    r8173 r8210  
    2222########################################################################################### 
    2323class OWScatterPlotQt(OWWidget): 
    24     settingsList = ["graph.pointWidth", "graph.showXaxisTitle", "graph.showYLaxisTitle", "showGridlines", "graph.showAxisScale", "graph.useAntialiasing", 
     24    settingsList = ["graph." + s for s in OWPlot.point_settings + OWPlot.appearance_settings] + [ 
     25                    "graph.showXaxisTitle", "graph.showYLaxisTitle", "showGridlines", "graph.showAxisScale", 
    2526                    "graph.showLegend", "graph.jitterSize", "graph.jitterContinuous", "graph.showFilledSymbols", "graph.showProbabilities", 
    26                     "graph.alphaValue", "graph.showDistributions", "autoSendSelection", "toolbarSelection", "graph.sendSelectionOnUpdate", 
     27                    "graph.showDistributions", "autoSendSelection", "toolbarSelection", "graph.sendSelectionOnUpdate", 
    2728                    "colorSettings", "selectedSchemaIndex", "VizRankLearnerName"] 
    2829    jitterSizeNums = [0.0, 0.1,   0.5,  1,  2 , 3,  4 , 5 , 7 ,  10,   15,   20 ,  30 ,  40 ,  50 ] 
  • orange/OrangeWidgets/plot/owplot.py

    r8209 r8210  
    272272     
    273273    """ 
     274     
     275    point_settings = ["point_width", "alpha_value"] 
     276    plot_settings = ["show_legend", "show_grid"] 
     277    appearance_settings = ["antialias_plot", "animate_plot", "animate_points", "disable_animations_threshold", "auto_adjust_performance"] 
     278     
     279    def settings_list(self, graph_name, settings): 
     280        return [graph_name + '.' + setting for setting in settings] 
     281     
    274282    def __init__(self, parent = None,  name = "None",  show_legend = 1, axes = [xBottom, yLeft], widget = None ): 
    275283        """ 
  • orange/OrangeWidgets/plot/owplotgui.py

    r8172 r8210  
    457457            self.AnimatePoints, 
    458458            self.AntialiasPlot, 
    459             self.AntialiasPoints, 
    460             self.AntialiasLines, 
     459        #    self.AntialiasPoints, 
     460        #    self.AntialiasLines, 
    461461            self.AutoAdjustPerformance, 
    462462            self.DisableAnimationsThreshold], widget, "Visual effects") 
Note: See TracChangeset for help on using the changeset viewer.