From 4089ebe6f81dea4f05523620c20e96fff79dc081 Mon Sep 17 00:00:00 2001 From: gounux Date: Sun, 21 Jul 2024 08:38:16 +0200 Subject: [PATCH] add qchat action to toolbar --- qtribu/plugin_main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qtribu/plugin_main.py b/qtribu/plugin_main.py index d0077dba..eafbd4b1 100644 --- a/qtribu/plugin_main.py +++ b/qtribu/plugin_main.py @@ -114,6 +114,9 @@ def initGui(self): self.tr("Propose a news to the next GeoRDP"), self.iface.mainWindow(), ) + self.action_form_rdp_news.setToolTip( + self.tr("Propose a news to the next GeoRDP") + ) self.action_form_rdp_news.triggered.connect(self.open_form_rdp_news) self.action_form_article = QAction( @@ -121,6 +124,7 @@ def initGui(self): self.tr("Submit an article"), self.iface.mainWindow(), ) + self.action_form_article.setToolTip(self.tr("Submit an article")) self.action_form_article.triggered.connect(self.open_form_article) self.action_open_chat = QAction( @@ -128,6 +132,7 @@ def initGui(self): self.tr("QChat"), self.iface.mainWindow(), ) + self.action_open_chat.setToolTip(self.tr("QChat")) self.action_open_chat.triggered.connect(self.open_chat) self.action_help = QAction( @@ -201,6 +206,7 @@ def initGui(self): # -- Toolbar self.toolbar.addAction(self.action_run) self.toolbar.addAction(self.action_open_contents) + self.toolbar.addAction(self.action_open_chat) self.toolbar.addAction(self.action_form_rdp_news) self.toolbar.addAction(self.action_form_article)