Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qt Creator: accessing an object not defined in the source files

$
0
0
I have a .ui file that looks like this: http://img521.imageshack.us/img521/9753/nol.png Upon one of the QCheckBoxes being ticked, I want Generated Command Line Preview to update itself. Here’s the particular code I’m trying to work with: void Dialog::on_inputformatCombo_currentIndexChanged(const QString &arg1) {     commandline.insert(commandline.length(),arg1);     CLIPreview.setText(commandline); } However, the dialog.cpp and dialog.h files are bare and don’t make any mention of the objects I created in the .ui file. How am I supposed to access CLIPreview then?

Viewing all articles
Browse latest Browse all 18427

Trending Articles