Click here to Skip to main content
15,608,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question.hex file converter Pin
Muhammad Adnan 202224-Sep-22 21:18
Muhammad Adnan 202224-Sep-22 21:18 
AnswerRe: .hex file converter Pin
Victor Nijegorodov24-Sep-22 21:34
Victor Nijegorodov24-Sep-22 21:34 
AnswerRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 3:43
mveRichard MacCutchan25-Sep-22 3:43 
GeneralRe: .hex file converter Pin
Muhammad Adnan 202225-Sep-22 7:14
Muhammad Adnan 202225-Sep-22 7:14 
GeneralRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 7:19
mveRichard MacCutchan25-Sep-22 7:19 
GeneralRe: .hex file converter Pin
Dave Kreskowiak25-Sep-22 10:20
mveDave Kreskowiak25-Sep-22 10:20 
QuestionRe: .hex file converter Pin
CPallini26-Sep-22 2:26
mveCPallini26-Sep-22 2:26 
Questionbasic C++ question... Pin
Member 1496877116-Sep-22 14:17
Member 1496877116-Sep-22 14:17 
Qt project creates 'folders" , for lack of other terminology

headers
sources
forms

resulting in this constructor

C++
<pre>
#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

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



I am trying to add "forms " to my exiting project.
I follow the Qt menus... but I do not know how to modify my constructor.


C++
#ifdef BYPASS 
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
#endif 


CCC_MdiChild::CCC_MdiChild()
{
    setAttribute(Qt::WA_DeleteOnClose);
    isUntitled = true;
}

Please help me to understand what Qt did and how to modify
my constructor so I can access my "form".
The verbal description / code annotation would be appreciated. 
Thanks

AnswerRe: basic C++ question... Pin
k505417-Sep-22 4:56
mvek505417-Sep-22 4:56 
GeneralRe: basic C++ question... Pin
Member 1496877117-Sep-22 8:17
Member 1496877117-Sep-22 8:17 
AnswerRe: basic C++ question... Pin
David Crow17-Sep-22 15:44
David Crow17-Sep-22 15:44 
GeneralRe: basic C++ question... Pin
Richard MacCutchan17-Sep-22 21:16
mveRichard MacCutchan17-Sep-22 21:16 
QuestionMessage Closed Pin
16-Sep-22 7:38
Member 1496877116-Sep-22 7:38 
AnswerRe: Help with xterm Pin
Richard MacCutchan16-Sep-22 22:26
mveRichard MacCutchan16-Sep-22 22:26 
AnswerRe: Help with xterm Pin
k505417-Sep-22 5:09
mvek505417-Sep-22 5:09 
GeneralRe: Help with xterm Pin
Member 1496877117-Sep-22 5:54
Member 1496877117-Sep-22 5:54 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 12:03
samzcs11-Sep-22 12:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 12:24
mveGreg Utas11-Sep-22 12:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:29
samzcs11-Sep-22 13:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:34
samzcs11-Sep-22 13:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:46
mveGreg Utas11-Sep-22 13:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 15:09
Mircea Neacsu11-Sep-22 15:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 0:00
mveRichard MacCutchan12-Sep-22 0:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 4:06
magnomagna23-Sep-22 4:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 21:15
jur20028-Sep-22 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.