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

feature: Auto save & restore project in out? #24

Open
zvezdochiot opened this issue Jan 26, 2024 · 2 comments
Open

feature: Auto save & restore project in out? #24

zvezdochiot opened this issue Jan 26, 2024 · 2 comments
Labels
dispute Debate question Further information is requested

Comments

@zvezdochiot
Copy link
Member

zvezdochiot commented Jan 26, 2024

Hi all.

Interested in the possibility of periodically autosaving the project if there are changes in the project to the out folder and adding functionality with the "Restore" button.

See Ru-board.com (comment).

@zvezdochiot zvezdochiot added question Further information is requested dispute Debate labels Jan 26, 2024
@plzombie
Copy link
Contributor

Из того что там есть:

Сохранение делается через

    ProjectWriter writer(m_ptrPages, m_selectedPage, m_outFileNameGen);

    if (!writer.write(project_file, m_ptrStages->filters())) { /* error */ }

Можно куда-нибудь вставить в код переключения фильтров (с добавлением опции "Autosave")

А вот Restore просто так в лоб не сделаешь. Потому что у каждого фильтра свой набор опций. И они их сами через ProjectWriter/ProjectReader сохраняют. Только если автосохранённый проект открывать

@zvezdochiot
Copy link
Member Author

@plzombie .

Да я тоже думаю, что "это" чепушнина какая то. Один геморой, а толку ноль.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dispute Debate question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants