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

[extensions] Added the ability to add buttons to the toolbar #24833

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

igorkorsukov
Copy link
Contributor

Screencast.from.2024-09-20.11-42-12.webm

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Sep 20, 2024

Do I see it right that this allows for a Save button to get added to the toolbar?

@igorkorsukov
Copy link
Contributor Author

Do I see it right that this allows for a Save button to get added to the toolbar?

Yes ;)

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Sep 22, 2024

Nice! That'll finally close #18883/#18896

Comment on lines 454 to 455
int enumIndex = staticMetaObject.indexOfEnumerator("Code");
QMetaEnum me = staticMetaObject.enumerator(enumIndex);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps QMetaEnum::fromType<Code>()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we utilise StyledToolBarView here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation changed to using StyledToolBarView

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

Successfully merging this pull request may close these issues.

3 participants