I suppose, it work but where I could find the name of buttons I mean I only use the mainwindow.ui to define all of them.
If it is that what you are referring to yes the name is exit
<item row="6" column="3">
<widget class="QPushButton" name="exit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>Salir</string>
</property>
</widget>
</item>
<item row="6" column="3">
<widget class="QPushButton" name="exit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>Salir</string>
</property>
</widget>
</item>
To copy to clipboard, switch view to plain text mode
Thank you.
Added after 5 minutes:
Another question I have about that, sory xD I am too noob can I modify the text display whenI use that messageBox I mean:
QMessageBox::Cancel | QMessageBox::No | QMessageBox::Yes,
QMessageBox::Yes;
To copy to clipboard, switch view to plain text mode
For example , instead appear "Yes" appear "ok" in the box, or instead "No" , "Not really"
Bookmarks