View Single Post
Posts: 23 | Thanked: 0 times | Joined on Dec 2009
#5
omg, I didn't think that so much of everything is to make text change (I didn't make it to work yet) :O

BTW. Can u gudie me what i have to change (to make text text text to text2 text2 text2 and later to something else and so on...) and why? I would be very grateful, here's my current script:
Code:
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLabel>
MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::changeEvent(QEvent *e)
{
    QMainWindow::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        ui->retranslateUi(this);
        break;
    default:
        break;
    }
}

void MainWindow::buttonClickHandler()
{
}

void MainWindow::on_Button_clicked()
{
}
(yes, I know it's totally empty)

Last edited by tdesws; 2010-03-21 at 21:05.