Parcourir la source

- added categories names for the recent files

Marius Stanciu il y a 6 ans
Parent
commit
0195084a51
2 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 12 0
      FlatCAMApp.py
  2. 1 0
      README.md

+ 12 - 0
FlatCAMApp.py

@@ -8294,6 +8294,12 @@ class App(QtCore.QObject):
 
 
         # Create menu items
         # Create menu items
         # First add tbe projects
         # First add tbe projects
+        # Title
+        action = QtWidgets.QAction("Recent Projects", self)
+        myFont = QtGui.QFont()
+        myFont.setBold(True)
+        action.setFont(myFont)
+        self.ui.recent.addAction(action)
         for recent in self.recent:
         for recent in self.recent:
             filename = recent['filename'].split('/')[-1].split('\\')[-1]
             filename = recent['filename'].split('/')[-1].split('\\')[-1]
 
 
@@ -8314,6 +8320,12 @@ class App(QtCore.QObject):
         self.ui.recent.addSeparator()
         self.ui.recent.addSeparator()
 
 
         # Then add tbe rest of the files
         # Then add tbe rest of the files
+        # Title
+        action = QtWidgets.QAction("Recent Files", self)
+        myFont = QtGui.QFont()
+        myFont.setBold(True)
+        action.setFont(myFont)
+        self.ui.recent.addAction(action)
         for recent in self.recent:
         for recent in self.recent:
             filename = recent['filename'].split('/')[-1].split('\\')[-1]
             filename = recent['filename'].split('/')[-1].split('\\')[-1]
 
 

+ 1 - 0
README.md

@@ -14,6 +14,7 @@ CAD program, and create G-Code for Isolation routing.
 - changed the order of the menu entries in the FIle -> Open ...
 - changed the order of the menu entries in the FIle -> Open ...
 - organized the list of recent files so the Project entries are to the top and separated from the other types of file
 - organized the list of recent files so the Project entries are to the top and separated from the other types of file
 - work on identification of changes in Preferences tab
 - work on identification of changes in Preferences tab
+- added categories names for the recent files
 
 
 30.07.2019
 30.07.2019