M
Michael Pope
I'm currently trying to build an application using Ruby with QT which
just shows output from a log with colors and logos etc. I would like to
hide the mouse cursor if possible.
I have managed to hide the cursor on the application using:
# Start GUI
app = Qt::Application.new(ARGV)
widget = MyWidget.new(nil)
widget.show()
# set the cursor for the main area to blank.
widget.cursor = Qt::Cursor.new(Qt::BlankCursor)
# Start the app
app.exec()
But I cannot do the same for a TextEdit Widget.
How do I go about hiding the cursor on a TextEdit widget?
Or is it possible to say hide the cursor for every widget in my
application?
just shows output from a log with colors and logos etc. I would like to
hide the mouse cursor if possible.
I have managed to hide the cursor on the application using:
# Start GUI
app = Qt::Application.new(ARGV)
widget = MyWidget.new(nil)
widget.show()
# set the cursor for the main area to blank.
widget.cursor = Qt::Cursor.new(Qt::BlankCursor)
# Start the app
app.exec()
But I cannot do the same for a TextEdit Widget.
How do I go about hiding the cursor on a TextEdit widget?
Or is it possible to say hide the cursor for every widget in my
application?