Changeset 11780:df916a1a0cb1 in orange


Ignore:
Timestamp:
12/02/13 17:07:42 (4 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Replaced hypens with unicode minus character in GUI button labels.

Location:
Orange/OrangeWidgets/Data
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWEditDomain.py

    r11748 r11780  
     1import unicodedata 
     2 
    13from OWWidget import * 
    24from OWItemModels import VariableListModel, PyListModel 
     
    175177                        shortcut=QKeySequence(QKeySequence.New)) 
    176178 
    177         self.remove_label_action = QAction("-", self, 
     179        self.remove_label_action = QAction( 
     180                        unicodedata.lookup("MINUS SIGN"), self, 
    178181                        toolTip="Remove selected label.", 
    179182                        triggered=self.on_remove_label, 
  • Orange/OrangeWidgets/Data/OWPaintData.py

    r11748 r11780  
     1import unicodedata 
     2import copy 
     3 
    14import orange 
    2 import copy 
    35import OWToolbars 
    46import OWColorPalette 
     
    744746        self.connect(addClassLabel, SIGNAL("triggered()"), self.addNewClassLabel) 
    745747         
    746         self.removeClassLabel = removeClassLabel = QAction("-", self) 
     748        self.removeClassLabel = removeClassLabel = QAction( 
     749            unicodedata.lookup("MINUS SIGN"), self) 
    747750        removeClassLabel.pyqtConfigure(toolTip="Remove class label")#, icon=QIcon(icon_remove)) 
    748751        self.connect(removeClassLabel, SIGNAL("triggered()"), self.removeSelectedClassLabel) 
  • Orange/OrangeWidgets/Data/OWPreprocess.py

    r11748 r11780  
     1import sys 
     2import unicodedata 
     3 
    14from OWWidget import * 
    25from OWItemModels import PyListModel, ListSingleSelectionModel, ModelActionsWidget 
     
    69import orngWrap 
    710import orngSVM 
    8  
    9 import sys 
    1011 
    1112from Orange.data import preprocess 
     
    511512        self.addPreprocessorAction = QAction("+",self) 
    512513        self.addPreprocessorAction.pyqtConfigure(toolTip="Add a new preprocessor to the list") 
    513         self.removePreprocessorAction = QAction("-", self) 
     514        self.removePreprocessorAction = QAction( 
     515                unicodedata.lookup("MINUS SIGN"), self) 
    514516        self.removePreprocessorAction.pyqtConfigure(toolTip="Remove selected preprocessor from the list") 
    515517        self.removePreprocessorAction.setEnabled(False) 
     
    552554        self.updateSchemaAction = QAction("Update", self) 
    553555        self.updateSchemaAction.pyqtConfigure(toolTip="Save changes made in the current schema") 
    554         self.removeSchemaAction = QAction("-", self) 
     556        self.removeSchemaAction = QAction(unicodedata.lookup("MINUS SIGN"), self) 
    555557        self.removeSchemaAction.pyqtConfigure(toolTip="Remove selected schema") 
    556558         
  • Orange/OrangeWidgets/Data/OWPythonScript.py

    r11748 r11780  
    44import keyword 
    55import itertools 
     6import unicodedata 
    67 
    78from PyQt4.QtGui import ( 
     
    435436        w.addAction(action) 
    436437 
    437         self.removeAction = action = QAction("-", self) 
     438        self.removeAction = action = QAction(unicodedata.lookup("MINUS SIGN"), self) 
    438439        action.setToolTip("Remove script from library") 
    439440        self.connect(action, SIGNAL("triggered()"), self.onRemoveScript) 
Note: See TracChangeset for help on using the changeset viewer.