[Qt-interest] change the text of the button in a QMessageBox
SALOMEHER at terra.es
SALOMEHER at terra.es
Fri Aug 13 13:33:40 CEST 2010
Thank you for the suggestions. But the solution is not this.
When I do:
QMessageBox mensajeBox;
MensajeBox.setDetailedText (MemLogs -> toPlainText ());
The buttons are created "Show Details ... " and the button " Hide Details ... " automatically. What I ask is what I can access to these buttons.
A greeting.
----Mensaje original----
De: Scott.Bloom at onshorecs.com
Fecha: 12/08/2010 17:46
Para: <SALOMEHER at terra.es>, "Qt interest"<qt-interest at trolltech.com>
Asunto: RE: [Qt-interest] change the text of the button in a QMessageBox
-->
Look into using linguist, lupdate, and lrelease.
http://doc.qt.nokia.com/4.6/linguist-programmers.html
From:
qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On
Behalf Of SALOMEHER at terra.es
Sent: Thursday, August 12, 2010 5:00 AM
To: Qt interest
Subject: [Qt-interest] change the text of the button in a QMessageBox
Hello,
how I can change the text of the button "Show Details ..." and the
button "Hide Details ..." they have by default when we
setDetailedText (..) in a QMessageBox. I would like to rename the buttons to
"Mostrar Detalles..." and "Ocultar Detalles..." in Spanish.
A greeting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100813/d4a586ad/attachment.html
More information about the Qt-interest-old
mailing list