Click here to Skip to main content
15,512,908 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question.hex file converter Pin
Muhammad Adnan 202224-Sep-22 22:18
Muhammad Adnan 202224-Sep-22 22:18 
AnswerRe: .hex file converter Pin
Victor Nijegorodov24-Sep-22 22:34
Victor Nijegorodov24-Sep-22 22:34 
AnswerRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 4:43
mveRichard MacCutchan25-Sep-22 4:43 
GeneralRe: .hex file converter Pin
Muhammad Adnan 202225-Sep-22 8:14
Muhammad Adnan 202225-Sep-22 8:14 
GeneralRe: .hex file converter Pin
Richard MacCutchan25-Sep-22 8:19
mveRichard MacCutchan25-Sep-22 8:19 
GeneralRe: .hex file converter Pin
Dave Kreskowiak25-Sep-22 11:20
mveDave Kreskowiak25-Sep-22 11:20 
QuestionRe: .hex file converter Pin
CPallini26-Sep-22 3:26
mveCPallini26-Sep-22 3:26 
Questionbasic C++ question... Pin
Member 1496877116-Sep-22 15:17
Member 1496877116-Sep-22 15: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 5:56
mvek505417-Sep-22 5:56 
GeneralRe: basic C++ question... Pin
Member 1496877117-Sep-22 9:17
Member 1496877117-Sep-22 9:17 
AnswerRe: basic C++ question... Pin
David Crow17-Sep-22 16:44
David Crow17-Sep-22 16:44 
GeneralRe: basic C++ question... Pin
Richard MacCutchan17-Sep-22 22:16
mveRichard MacCutchan17-Sep-22 22:16 
QuestionMessage Closed Pin
16-Sep-22 8:38
Member 1496877116-Sep-22 8:38 
AnswerRe: Help with xterm Pin
Richard MacCutchan16-Sep-22 23:26
mveRichard MacCutchan16-Sep-22 23:26 
AnswerRe: Help with xterm Pin
k505417-Sep-22 6:09
mvek505417-Sep-22 6:09 
GeneralRe: Help with xterm Pin
Member 1496877117-Sep-22 6:54
Member 1496877117-Sep-22 6:54 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:03
samzcs11-Sep-22 13:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:24
mveGreg Utas11-Sep-22 13:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:29
samzcs11-Sep-22 14:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:34
samzcs11-Sep-22 14:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 14:46
mveGreg Utas11-Sep-22 14:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 16:09
mvaMircea Neacsu11-Sep-22 16:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 1:00
mveRichard MacCutchan12-Sep-22 1:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 5:06
magnomagna23-Sep-22 5:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 22:15
jur20028-Sep-22 22: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.