-
Notifications
You must be signed in to change notification settings - Fork 214
Component Creator : Block component overwrite, fix issue with bad characters in component naming. #4391
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
base: dev
Are you sure you want to change the base?
Component Creator : Block component overwrite, fix issue with bad characters in component naming. #4391
Changes from 8 commits
0ade03d
7186d7a
d888d13
530753c
635f027
445d7dd
bf969b6
9f4843a
ab4828e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,6 +78,14 @@ class QtDisableRepaintUpdates | |
| QWidget& _widget; | ||
| }; | ||
|
|
||
| class TfValidIdentifierValidator : public QValidator | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason to call it with Tf prefix? At first I thought it was a pixar class.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Myeah the idea was to make it clear it's a "tf valid identifier"... "valid identifier" on its own could mean anything i guess
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's just confusing because I expect classes and functions beginning with Tf, Sdf, Usd to be Pixar stuff, but not very important. |
||
| { | ||
| public: | ||
| explicit TfValidIdentifierValidator(QObject* parent = nullptr); | ||
|
|
||
| State validate(QString& input, int& pos) const override; | ||
| }; | ||
|
|
||
| #ifdef Q_OS_DARWIN | ||
| const bool IS_MAC_OS = true; | ||
| #else | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How exactly does this solve the problem? I think we should make this condition more specific to 2023 only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see https://github.com/qt/qtbase/blob/dev/dist/changes-5.13.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, i can test for the MSVC version i guess