Add triangle and hyphen bullets

This commit is contained in:
Veronica K. B. Olsen
2021-01-25 23:45:11 +01:00
parent fab5833cdf
commit 95e03d2684
4 changed files with 28 additions and 0 deletions
+14
View File
@@ -639,6 +639,20 @@ class GuiMainMenu(QMenuBar):
self.aInsBullet.triggered.connect(lambda: self._docInsert(nwUnicode.U_BULL))
self.mInsSymbol.addAction(self.aInsBullet)
# Insert > Triangle Bullet
self.aInsTriBull = QAction("Triangle Bullet", self)
self.aInsTriBull.setStatusTip("Insert a triangle bullet (alternative bullet)")
self.aInsTriBull.setShortcut("Ctrl+K, Ctrl+T")
self.aInsTriBull.triggered.connect(lambda: self._docInsert(nwUnicode.U_TRBULL))
self.mInsSymbol.addAction(self.aInsTriBull)
# Insert > Hyphen Bullet
self.aInsHyBull = QAction("Hyphen Bullet", self)
self.aInsHyBull.setStatusTip("Insert a hyphen bullet (alternative bullet)")
self.aInsHyBull.setShortcut("Ctrl+K, Ctrl+-")
self.aInsHyBull.triggered.connect(lambda: self._docInsert(nwUnicode.U_HYBULL))
self.mInsSymbol.addAction(self.aInsHyBull)
# Insert > Flower Mark
self.aInsFlower = QAction("Flower Mark", self)
self.aInsFlower.setStatusTip("Insert a flower mark (alternative bullet)")