Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Changes by Aejwt

2 posters

Go down  Message [Page 1 of 1]

1Changes by Aejwt Empty Re: Changes by Aejwt Fri Mar 12, 2021 5:42 pm

Aejwt



Changes by Aejwt Simuli10

Changes by Aejwt Simuli11

0.4.14-SR4 on Slackware 15.0

I think multiple document interface is easier to use. Independent windows become annoying when using maximized with additional windows. (ram table, properties, serial monitor etc.) I am making all windows MDI. I also changed Ram Table and added Hex Viewer that I found on GitHub. (qhexview ) Unfortunately, I did not know that a new version had already existed when I wrote the code. Neutral

I could not find a way to download the new version as a zip file from launchpad. Is there a link?

https://meteorolojiverileri.wordpress.com

2Changes by Aejwt Empty Changes by Aejwt Fri Mar 12, 2021 6:11 pm

arcachofo

arcachofo

Hi Aejwt.

There are a few things in your post and some of them i don't understand very well:

I think multiple document interface is easier to use. Independent windows become annoying when using maximized with additional windows. (ram table, properties, serial monitor etc.) I am making all windows MDI.
- Multiple document interface.
This is a matter of taste, I personally don't like it very much.

- Independent windows (ram table, properties, serial monitor etc.)
I don't understand exactly the problem or suggestion.

- I also changed Ram Table.
Can you explain those changes, i see some interesting thing, but I'm not sure how it works.

- Added Hex Viewer that I found on GitHub.
That's nice, but there is already an hex viewer in trunk.
Still not complete, but this should be the base.


I could not find a way to download the new version as a zip file from launchpad. Is there a link?
I don't know a way to download source code other than using bazaar:
bzr branch lp:simulide

Maybe there is  a way to add it, but I don't know.


Also:
This topic is about problems in appearance in diferent systems.
I think Your post should have it's own thread, so i will split it once you reply.

Aejwt likes this post

3Changes by Aejwt Empty Re: Changes by Aejwt Fri Mar 12, 2021 6:30 pm

arcachofo

arcachofo

Topic splitted.

Here is a thread about Hex viewer:
https://simulide.forumotion.com/t94-memory-viewer

You could even open a thread for each topic with your ideas and suggestions:
- Multiple document interface.
- Independent windows.
- Ram Table.

It would be easier to discuss each topic separatedly, but that is upto you.

Aejwt likes this post

4Changes by Aejwt Empty Re: Changes by Aejwt Fri Mar 12, 2021 6:39 pm

Aejwt



Child windows go to back when main window is active. It is not very important, and MDI is not the only solution; they can be set as always on top. I think MDI option should be avaliable for who prefer it.

The change I made in ram table is just the register/variable list. This way it's possible to add a register to ram table by double clicking on the register. Not a big change.

I saw the hex viewer you added. I agree it can be a better base. The code I found has BSD license which is incompatible and it does not have editing capability.

I will download the new version.

https://meteorolojiverileri.wordpress.com

5Changes by Aejwt Empty Re: Changes by Aejwt Fri Mar 12, 2021 6:58 pm

arcachofo

arcachofo

Child windows go to back when main window is active.
This is a bug that is already solved (if I remember well).

I think MDI option should be avaliable for who prefer it.
Yes, that could be an option.

The change I made in ram table is just the register/variable list. This way it's possible to add a register to ram table by double clicking on the register. Not a big change.
That looks a good idea.

I will download the new version.
There are 2 branches:
- trunk: experimental new simulation engine and new features.
- 0.4.14: more stable, will be the next release.

Anyway i'm implementing most changes for both branches, so choose whatever you feel.


Do you have your code available somewhere?

Aejwt likes this post

6Changes by Aejwt Empty Re: Changes by Aejwt Fri Mar 12, 2021 7:25 pm

Aejwt



I will upload my code somewhere after integrating with the current version. My only purpose was making program easier to use for myself before starting an AVR project, so I need to make it a bit more stable before uploading.

arcachofo likes this post

https://meteorolojiverileri.wordpress.com

7Changes by Aejwt Empty Re: Changes by Aejwt Sat Mar 13, 2021 1:15 am

Aejwt



Changes by Aejwt Simuli12

I did the same changes in the current version. It can both use the original interface and MDI. The only functional difference is the register/variable list in Ram table.

https://meteorolojiverileri.wordpress.com

8Changes by Aejwt Empty Re: Changes by Aejwt Sat Mar 13, 2021 2:46 pm

Aejwt



Changes by Aejwt Turkce11

I completed Turkish translation. I'm not sure if everything is correct. Turkish versions of some terms are almost never used and may sound weird. I am going to use the program in Turkish for a week to check if there are any wrong or confusing translations before uploading here. Qt Linguist does not show where the word/sentence is going to be, so this can also be a source of mistakes.

I think there are some parts that cannot be changed using *.ts files without changing the source code. I don't completely understand how translations work in Qt.

https://meteorolojiverileri.wordpress.com

9Changes by Aejwt Empty Re: Changes by Aejwt Sat Mar 13, 2021 5:32 pm

arcachofo

arcachofo

I think there are some parts that cannot be changed using *.ts files without changing the source code. I don't completely understand how translations work in Qt.
To get text in the .ts files, those strings need to be marked for translation, for example using "tr":
tr( "Sentence to be translated" )
But there are other ways, for example Component property names in versions < 0.5
Or text in xml files like: /resources/data/ic74.xml

Some text is not marked for translation, for example in 0.5 there is a "Debug Panel" at the bottom of the circuit, before, this text went only to stdout, so only showed if you run simulide from a terminal.

Also "help" text in property windows is located in files at: resources/data/help/

In adition, in development versions, specially 0.5, translations are not completed.

More about translations in this topic:
https://simulide.forumotion.com/t1-translations

Aejwt likes this post

10Changes by Aejwt Empty Re: Changes by Aejwt Mon Mar 15, 2021 3:35 pm

Aejwt



Changes by Aejwt Mcuedi10

Changes by Aejwt Mcumon11

The new MCU Monitor I made for the current version. It can both view and edit RAM, Flash, EEPROM data during simulation.

Although it is not based on the existing MemTable class (because it's already a dialog, and cannot be part of a TabWidget), I made it as similar as possible by only using QTableWidget and slots. I did not use any external code.

It is still not stable. Valgrind shows a serious memory leak, and a segfault always occurs while program is closing. At least, these problems cannot be seen without running it on a terminal as there is no visible bugs during simulation. I don't think I will be able to solve them.
Attachments
Changes by Aejwt Attachmentmcumonitor.zip
Source code of the window and other changed files
You don't have permission to download attachments.
(27 Kb) Downloaded 3 times

Fizik_S likes this post

https://meteorolojiverileri.wordpress.com

11Changes by Aejwt Empty Re: Changes by Aejwt Mon Mar 15, 2021 6:51 pm

arcachofo

arcachofo

That is a very good idea.

Thanks for the code!!
I will have a look and try to solve those issues.

Aejwt likes this post

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum