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

Blink/flash text #202

Open
videosmith opened this issue Aug 3, 2023 · 10 comments
Open

Blink/flash text #202

videosmith opened this issue Aug 3, 2023 · 10 comments
Labels
enhancement New feature or request help wanted I need help or don't know how to implement this
Milestone

Comments

@videosmith
Copy link

Is it possible to use the (somewhat deprecated) Blink parameter found in older html code?
(Please see attached example)

Blink.html.zip

@Cuperino
Copy link
Owner

Cuperino commented Aug 3, 2023

I know there must be a way to achieve this, but I do not know it at the time.

Qt's HTML corresponds to subset of standard HTML 4.01. Blink was never a part of the HTML standard, just a feature Microsoft popularized through their market dominance. So it's not implemented in Qt. Having said that, Qt is so flexible I don't see why it couldn't be implemented, other than it being a ton of work.

@Cuperino Cuperino added the enhancement New feature or request label Aug 3, 2023
@Cuperino Cuperino added this to QPrompt Aug 3, 2023
@github-project-automation github-project-automation bot moved this to Uncategorized Issues in QPrompt Aug 3, 2023
@Cuperino Cuperino moved this from Uncategorized Issues to Editor in QPrompt Aug 3, 2023
@Cuperino Cuperino added this to the 2.x milestone Aug 3, 2023
@videosmith
Copy link
Author

Is CSS supported?

@Cuperino
Copy link
Owner

Cuperino commented Aug 4, 2023

Yes, but because Qt is not a browser, only CSS 2 selector types are supported, and not all styling options are implemented.
https://doc.qt.io/qt-5/stylesheet-syntax.html#selector-types

When writing HTML or CSS for Qt to parse, I do it in the style I would've done it back in 2010, and that typically gets me the results I'm looking for. (That typically translates just to don't use flex-box.)

@videosmith
Copy link
Author

Could selected text be "color cycled" between 2 colors at a specified duration?

@Cuperino
Copy link
Owner

Cuperino commented Aug 4, 2023

Yes, and it is also possible to have multiple text cursors at once, tho some refactoring would be required depending on how they were to be used.

@Cuperino
Copy link
Owner

Cuperino commented Aug 5, 2023

Question, what are use-cases for this feature? By going from problem to solution instead of feature to solution, I might see solutions that were previously not as evident.

@videosmith
Copy link
Author

Very limited, so not critical in any way for my usage. Mostly as a method to alert live event speakers that they are running over their alloted time, changes in program cues, last minute housekeeping announcements etc.

@Cuperino
Copy link
Owner

Cuperino commented Aug 5, 2023

I see! It makes total sense to add blink.

What if in addition to the text's blink, I added a button that when pressed started oscillating the timer and the screen's borders between black and red? Other colors could also be used to indicate other kinds of feedback.

@Cuperino Cuperino modified the milestones: 2.x, 1.x Aug 5, 2023
@videosmith
Copy link
Author

videosmith commented Aug 9, 2023 via email

@Cuperino Cuperino added the help wanted I need help or don't know how to implement this label Nov 3, 2024
@Liebeg
Copy link
Contributor

Liebeg commented Nov 7, 2024

Very limited, so not critical in any way for my usage. Mostly as a method to alert live event speakers that they are running over their alloted time, changes in program cues, last minute housekeeping announcements etc.

If the text is blinking tho it makes it harder to read wich could lead to stuttering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted I need help or don't know how to implement this
Projects
Status: Editor
Development

No branches or pull requests

3 participants