One more tip: Watch CRLF changes when working on different platforms
You shouldn't check-out code on Windows an check-in the same files on Linux or save files in DOS-format and check them in on Linux. Always do a "svn diff" before check-in.
We had some commits where just a few comments were changed and "diff" shows all lines changed because of CRLF changes. Hence you get unnecessary conflicts and troubles solving them.
Erhard
Noobie mistakes
Started by PT_Dreamer, Apr 11 2010 07:13 PM
25 replies to this topic
#21
Posted 30 July 2010 - 09:11 PM
#22
Posted 11 December 2011 - 04:58 AM
I have been looking into the GCS code so I have a bit of an understanding of structure and I am interested in looking at all the ui code. I found most of it but I have been unable to find the main screen outline where the configuration, PFD, scopes and other buttons reside. Is someone able to tell me where that part of the ui code exists.
#23
Posted 11 December 2011 - 05:17 AM
Its not really code but XML in the .UI files.
So if you are in QtCreator and you open a UI file you will get the design in it. The older way of doing it was with a tool called Qt Designer, I believe even though the App has been merged in to Qt Creator now, the manual for Qt Designer will be very helpful.
The most important part of the UI we need to fix is the tuning stuff, like PIDs, this should be a graphical representation rather than just entering numbers, however we need to keep the number there as well.
So if you are in QtCreator and you open a UI file you will get the design in it. The older way of doing it was with a tool called Qt Designer, I believe even though the App has been merged in to Qt Creator now, the manual for Qt Designer will be very helpful.
The most important part of the UI we need to fix is the tuning stuff, like PIDs, this should be a graphical representation rather than just entering numbers, however we need to keep the number there as well.
#24
Posted 11 December 2011 - 06:14 AM
dankers, on 11 December 2011 - 05:17 AM, said:
Its not really code but XML in the .UI files.
So if you are in QtCreator and you open a UI file you will get the design in it. The older way of doing it was with a tool called Qt Designer, I believe even though the App has been merged in to Qt Creator now, the manual for Qt Designer will be very helpful.
The most important part of the UI we need to fix is the tuning stuff, like PIDs, this should be a graphical representation rather than just entering numbers, however we need to keep the number there as well.
So if you are in QtCreator and you open a UI file you will get the design in it. The older way of doing it was with a tool called Qt Designer, I believe even though the App has been merged in to Qt Creator now, the manual for Qt Designer will be very helpful.
The most important part of the UI we need to fix is the tuning stuff, like PIDs, this should be a graphical representation rather than just entering numbers, however we need to keep the number there as well.
Brilliant, checking it out now but I cannot see references to the picture files for say the Configuration button, can you point me towards that please?
#25
Posted 11 December 2011 - 06:27 AM
Reddog, on 11 December 2011 - 06:14 AM, said:
Brilliant, checking it out now but I cannot see references to the picture files for say the Configuration button, can you point me towards that please?
If they are no input widgets, they live in qrc files, these are Qt Resource files. So Qt references these files when the GCS is compiled and drags in the files to the executable.
The qrc files are used to map external files to an internal directory structure. Basically look at the .qrc and it will make sense.
#26
Posted 11 December 2011 - 07:21 AM
dankers, on 11 December 2011 - 06:27 AM, said:
If they are no input widgets, they live in qrc files, these are Qt Resource files. So Qt references these files when the GCS is compiled and drags in the files to the executable.
The qrc files are used to map external files to an internal directory structure. Basically look at the .qrc and it will make sense.
The qrc files are used to map external files to an internal directory structure. Basically look at the .qrc and it will make sense.
Thanks it now makes sense.



Austria
Australia








