elglanto
22nd September 2016, 18:59
Hello there,
First, a bit of background so you can understand my needs. I work in experimental physics reseach and we usually control and read our devices with some basic code. In my group, we use Python for that. However, I would like to spend a bit of time to build GUIs to do that. The idea is that the GUI would use the already made Python codes that was developped in our lab and already used to talk with devices as written earlier. As an exemple, let's say we want to read the channel of an oscilloscope and save the data from this channel. Currently, we change the channel number in our code, run the code and the data is saved in the folder path written in the code. What I would like instead is a GUI on which I could display what is on the oscilloscope in real time, choose which channel(s) I want to display on my GUI and save the data when I click on a "save" button.
So, I would like to start playing around with GUI design and thus, would like to use Qt. However, after having installed Qt Creator and Qt Designer, I am not fully sure if I correctly understand the difference between them and which one is better to use for a given purpose and for my purpose.
For Qt Designer, it seems fairly obvious when you open it. It seems to be only to make GUI. But for Qt Creator, I am very confused. It seems to include everything Qt Designer can do but has much more options. Is that correct? For exemple, in Qt Creator, if I start a new project, I can choose Application => Qt Widgets Application which gives me something very similar to Qt Designer in the "Forms" section containing a "mainwindows.ui" file. However it also has more stuff such as an "Headers" section etc. for which I have no clue of their use.
In a nutshell, I don't understand what Qt Creator exactly does and if I would benefits form it for my purpose.
Thanks in advance for any help.
First, a bit of background so you can understand my needs. I work in experimental physics reseach and we usually control and read our devices with some basic code. In my group, we use Python for that. However, I would like to spend a bit of time to build GUIs to do that. The idea is that the GUI would use the already made Python codes that was developped in our lab and already used to talk with devices as written earlier. As an exemple, let's say we want to read the channel of an oscilloscope and save the data from this channel. Currently, we change the channel number in our code, run the code and the data is saved in the folder path written in the code. What I would like instead is a GUI on which I could display what is on the oscilloscope in real time, choose which channel(s) I want to display on my GUI and save the data when I click on a "save" button.
So, I would like to start playing around with GUI design and thus, would like to use Qt. However, after having installed Qt Creator and Qt Designer, I am not fully sure if I correctly understand the difference between them and which one is better to use for a given purpose and for my purpose.
For Qt Designer, it seems fairly obvious when you open it. It seems to be only to make GUI. But for Qt Creator, I am very confused. It seems to include everything Qt Designer can do but has much more options. Is that correct? For exemple, in Qt Creator, if I start a new project, I can choose Application => Qt Widgets Application which gives me something very similar to Qt Designer in the "Forms" section containing a "mainwindows.ui" file. However it also has more stuff such as an "Headers" section etc. for which I have no clue of their use.
In a nutshell, I don't understand what Qt Creator exactly does and if I would benefits form it for my purpose.
Thanks in advance for any help.