Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone explains code structure ? #149

Open
zefilipe opened this issue Feb 7, 2022 · 4 comments
Open

Can anyone explains code structure ? #149

zefilipe opened this issue Feb 7, 2022 · 4 comments

Comments

@zefilipe
Copy link

zefilipe commented Feb 7, 2022

Hi,

Im using qtodotxt a long years ago, and thats a good software tool, that i use for professional use !

In my job i started a new project in python + dijango in May 2020, and now i have very mutch know how, reading documentation, develop, test solutions ... !

A days ago, i see that QtodoTxt now has a fork QtodoTxt2 !
I cloned the code (git clone), and create a new project in pycharm, created a new virtualenv ... to test QtodoTxt2

But i think the code a little confuse, by example
in the class FilterItem appends the row
But if you want only append that rows that have more than 0 tasks ?
Counter its also defined in FiltersModel class

Can anyone explains a tittle of the code structure ?
Thank you !

The ideia it's contribute with somme code, but in my work pauses ... (part-time) !
In the first it's my job work of course !

Regards

@oroulet
Copy link
Contributor

oroulet commented Feb 8, 2022

Hi,
the main difference with 1 and 2 versions is that the UI in 2 is written using QML . As far as I remember the architecture was quite clean, it should not be hard to understand. My main issue is that the guy who wrte the QML code left and QML itself had quite a lot off bugs, it was relatively new at that time. The best is probably to try to upgrade to latest, Qt and QML versions and fix deprecatoin, it should already solve quite a lot of things.
I am not sure I understand your quesiton about rows...

@zefilipe
Copy link
Author

zefilipe commented Feb 9, 2022

Hi, the main difference with 1 and 2 versions is that the UI in 2 is written using QML . As far as I remember the architecture was quite clean, it should not be hard to understand. My main issue is that the guy who wrte the QML code left and QML itself had quite a lot off bugs, it was relatively new at that time. The best is probably to try to upgrade to latest, Qt and QML versions and fix deprecatoin, it should already solve quite a lot of things. I am not sure I understand your quesiton about rows...

Good evening,
I understand this changes in the code to get the code more clear, organized, reusable ... !

My question its for example:
Its shows rows with every projects, contexts ... having or not tasks todo associated (not done) !
How i can change to show only rows that have any todo task in the code ?

I understand this, but i have the first contact with the code, and im not familiarized !
Regards

@sergeevabc
Copy link

@oroulet, does it mean that QTodoTxt2 development is frozen and end-users should not expect any updates in the nearest future?

@oroulet
Copy link
Contributor

oroulet commented Nov 19, 2022

I am not working on it. But this is open source. Anyone can take over or rewrite or whatever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants