Qt - add a hyperlink to a dialog - c++

Is there a way to add a clickable hyperlink in a Qt Dialog? I.e. it should look like a hyperlink (blue text), and when you click on it, it should open the hyperlink in the browser. Something like that:

Use QLabel::setOpenExternalLinks(bool), and set text on label link text.

Related

changing text on contents link in slidy presentation (Rmarkdown)

I am creating a slidy presentation with Rmarkdown in RStudio.
The bottom left border of the browser window shows a clickable link to access the TOC.
I would like to replace the text Contents with something else, in my case Inhalt, because the presentation is in German. How can I achieve this?

Qt: how can I make hyperlink in qpushbutton?

hi I'm trying to make hyperlink in a QPushbutton.
I searched for information that mights help and I found this:
Qt - add a hyperlink to a dialog
this told me how can I use hyperlink at a dialog(or mainwindow.)
However, what I want to is to use hyperlink in the QMessagebox when appears after clicking QPushbutton.
I searched that if I can use qlabel in qmessagebox but I couldn't find any information..
How can I do this?
(Any other way I can apply to make hyperlink by clicking a second button is fine. What I'm trying to do is 1st. click a button and my program will get an url information. 2nd. clicking a second button and it will activate my url)
If all you want is clicking a second button and it will activate my url then you can use QDesktopServices::openUrl() to open a URL. It automatically uses the application the user has configured, i.e. the browser or mail programm depending on the type of URL you give it.

Sitecore Remove Button

I have a "Slide Show" control and I'd like to remove the first "X" button in the tool bar of the control. I have checked .ascx and .ascx.cs file to see if there is any related code, but nothing.
I think these buttons are from Core DB and I don't know where I can remove or hide this "X" button in Sitecore.
Could you help me, please?
Find Slide Show sublayout in your Sitecore tree.
Scroll to Editor Options section and remove Delete from the Page Editor Buttons field.

Change text shown while liking a page

I have used fb like button in my website.But while clicking the button the link of my page is shown in the face book.I need to change the link to a text with hyperlink to my site.How can I implement this ?
To customise the appearance of the Like story you need to add Open Graph meta tags to your HTML head:
https://developers.facebook.com/docs/opengraphprotocol/

Adding buttons for HTML elements to the Sitecore rich text editor

I would like to add a button to the Sitecore rich text editor toolbar, specifically one that inserts the H2 element.
I know the H2 element can be inserted using the paragraph styles pulldown menu, but all my editors are now using the bold button for their headings because they don't "see" the paragraph styles pulldown. So, I want to make the H2 easily available using a toolbar button. (And maybe even removing the bold buttons, since it's not semantic at all.)
But no matter how I go through the documentation, I cannot find a good explanation on how to do this.
In addition to the guide Yan posted, here's another guide.
I found a couple of walkthroughs for this...
Sitecore v6.3 and previous: link
Sitecore v6.4: link
Make sure that you select the core database (bottom right of Sitecore desktop) so that you can see the /sitecore/system/Settings/Html Editor Profiles area.
In my article here the first step of wiring up an event to a button is in javascript. From there you can insert text or tags. You can also get the selected text and wrap it in tags. You don't need to compile anything I was just showing how you would if you needed to, but you can entirely cut that piece out and just use the editor to send whatever text you want back to the wysiwyg editor.