1

I am using Qt designer to create a plugin in Qgis3. I want to add description of a tool beside the tool. For this I have tried using 'Text Browser' by connecting it with button. I am able to hide and display the description(A Text Browser) using following code:

    def hide(self):
    if self.dlg.textBrowser.isHidden()==True:
        self.dlg.textBrowser.setVisible(True)  
    else:
        self.dlg.textBrowser.hide()
    #connect the action using Push button
    self.dlg.pushButton_5.clicked.connect(self.hide)

But I want to pull in and pull out the description window. It should work like example showing below. enter image description here Is there any way to do this using Qt designer?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.