Quantcast
Channel: How do I display a counter function in qt - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by retinotop for How do I display a counter function in qt

#include "form.h" #include "ui_form.h" #include <QString> #include <QLabel> Form::Form(QWidget *parent) : QWidget(parent), ui(new Ui::Form) { counter = 0; ui->setupUi(this); }...

View Article



How do I display a counter function in qt

I know that in c++ you do int counter and when it does something I want its gonna do c++ and then cout<< counter to show the counter but now I want to do a GUI app which will have 20 buttons and...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images