Hi All,

I m using Qt 4.2.2 on my Mac intel.
I want to create a .cfg file from qt.

I have a structure.
typedef struct tagAppendHdrFile
{
tagAppendHdrFile *next;

char bSoftwareName[260];
int iSoftwareNameLength;
char bFileExt[16];
int iFileExtLength;

long dwHeaderOffset;
char HeaderLength;
char bHeader[15];
char IfSelected;
char IndexNo;

}HEADER_FILE;

Actually I have a tableWidget in which I have two columns

1. HeaderName(As Nikon)
2. Extension (NEF)

I have to store this structure information for each Header in the .cfg file through qt.

I have a checkbox on each row and when I select any Header and click ok then the Header which is checked should be updated in the .cfg file.

If anybody knows then plz help me.

Thanks.