Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Technical facts
Application type(s)
Operating system(s) or programming environment(s)
IDE(s):
Project type:
C++ standard:
Compiler(s):
Libraries used:
Qt: version 5.4.1 (32 bit)
STL: GNU ISO C++ Library, version 4.9.2
Qt project file: ./CppQToolBoxExample1/CppQToolBoxExample1.pro
./CppQToolBoxExample1/qtdialog.h
./CppQToolBoxExample1/qtdialog.cpp
#include "qtdialog.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#include "ui_qtdialog.h"
#pragma GCC diagnostic pop
QtDialog::QtDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::QtDialog)
{
ui->setupUi(this);
}
QtDialog::~QtDialog()
{
delete ui;
}
void QtDialog::on_pushButton_1_clicked()
{
ui->label->setText("1");
}
void QtDialog::on_pushButton_2_clicked()
{
ui->label->setText("2");
}
void QtDialog::on_pushButton_3_clicked()
{
ui->label->setText("3");
}
|
./CppQToolBoxExample1/qtmain.cpp
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.

This page has been created by the tool CodeToHtml