Add triangle and hyphen bullets
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user