Horje
qt qmessagebox Code Example
qt qmessagebox
/** 
 * int output = QMessageBox::icon(this, tr("Title"), tr("content"),
 *							  QMessageBox::button, QMessageBox::defaultButton);
 */
//for example :
int ret = QMessageBox::warning(this, tr("My Application"),
                               tr("The document has been modified.\n"
                                  "Do you want to save your changes?"),
                               QMessageBox::Save | QMessageBox::Discard
                               | QMessageBox::Cancel,
                               QMessageBox::Save);
Source: doc.qt.io




Cpp

Related
priority queue ordered by second element Code Example priority queue ordered by second element Code Example
char type casting in c++ Code Example char type casting in c++ Code Example
how to easily trim a str in c++ Code Example how to easily trim a str in c++ Code Example
fatal error: opencv2/opencv.hpp: No such file or directory Code Example fatal error: opencv2/opencv.hpp: No such file or directory Code Example
check variable type c++ Code Example check variable type c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8