Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
355 stars 22 forks source link

Blink/flash text #202

Open videosmith opened 11 months ago

videosmith commented 11 months ago

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

Blink.html.zip

Cuperino commented 11 months ago

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.

videosmith commented 11 months ago

Is CSS supported?

Cuperino commented 11 months ago

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 commented 11 months ago

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

Cuperino commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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.

videosmith commented 10 months ago

Could be useful!

On Saturday, August 5, 2023 at 12:09:37 PM EDT, Javier O. Cordero Pérez ***@***.***> wrote:  

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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>