On Screen Keyboard Display Issue
#2. Is it possible to style the onscreen keyboard or use an overlay with it?
#3. I have been able to customize most of the GcodeDisplay/GcodeEditor to suit what I want but I am having a devil of a time with the fonts. I can change the font color/size on the margin and the body at initialisation. As soon as a file is loaded then the size reverts to some default value. I can then change the margin font color dynamically but not the body font color. Any suggestions?
Please Log in or Create an account to join the conversation.
Maybe it has to do with anchor position, This property was introduced in QtQuick.VirtualKeyboard 2.2.
doc.qt.io/qt-5/qml-qtquick-virtualkeyboa...#anchorPosition-prop
doc.qt.io/qt-5/qtquick-positioning-anchors.html
Please Log in or Create an account to join the conversation.
I don't even know what qtquick is. So far I have found qt a real rabbit hole but I have so much time invested in it that I need to keep going.Hi Phill,
Maybe it has to do with anchor position, This property was introduced in QtQuick.VirtualKeyboard 2.2.
doc.qt.io/qt-5/qml-qtquick-virtualkeyboa...#anchorPosition-prop
doc.qt.io/qt-5/qtquick-positioning-anchors.html
Please Log in or Create an account to join the conversation.
This soft input widget was built early in the project and maybe using a regular qtvcp dialog (that can remember position) would be better.
this is the stock style of the softinputwidget )it's a Qdialog):
SoftInputWidget {
font-weight: bold;
color: #333;
border: 2px solid #555;
border-radius: 15px;
padding: px;
background: qradialgradient(cx: 0.3, cy: -0.4,
fx: 0.3, fy: -0.4,
radius: 1.35, stop: 0 #fff, stop: 1 #888);
min-width: 30px;
}
there is also style for the pushbuttons:
MyFlatPushButton {
font-weight: bold;
color: #333;
border: 2px solid #555;
border-radius: 11px;
padding: px;
background: qradialgradient(cx: 0.3, cy: -0.4,
fx: 0.3, fy: -0.4,
radius: 1.35, stop: 0 #fff, stop: 1 #888);
min-width: 30px;
}
I'll have to look into the font problem. the editor is certainly a pain style wise.
Chris
Please Log in or Create an account to join the conversation.
Yeah it is really odd, there are two other permutations of thisGUI where it woks perfectly well. They have the MDI widget on the left side of the GUI. If it is too difficult I can move the GcodeDisplay widget to the the right hand side.The softimputwidget does have code for positioning the window when displayed - ill have to dig into that.
This soft input widget was built early in the project and maybe using a regular qtvcp dialog (that can remember position) would be better.
Thanks, I'll have a play in the morning.this is the stock style of the softinputwidget )it's a Qdialog):
SoftInputWidget { font-weight: bold; color: #333; border: 2px solid #555; border-radius: 15px; padding: px; background: qradialgradient(cx: 0.3, cy: -0.4, fx: 0.3, fy: -0.4, radius: 1.35, stop: 0 #fff, stop: 1 #888); min-width: 30px; }
there is also style for the pushbuttons:Hopefully that is helpful.MyFlatPushButton { font-weight: bold; color: #333; border: 2px solid #555; border-radius: 11px; padding: px; background: qradialgradient(cx: 0.3, cy: -0.4, fx: 0.3, fy: -0.4, radius: 1.35, stop: 0 #fff, stop: 1 #888); min-width: 30px; }
Yep, you are not wrong there.I'll have to look into the font problem. the editor is certainly a pain style wise.
Please Log in or Create an account to join the conversation.
For info, gscreen has a infinit terminal output if i start it with a rip install :
spindle bar err-->>> No widget 's_display2'
spindle bar err-->>> No widget 's_display2'
spindle bar err-->>> No widget 's_display2'
spindle bar err-->>> No widget 's_display2'
spindle bar err-->>> No widget 's_display2'
spindle bar err-->>> No widget 's_display2'
Phill,
If you share your current source code, i can simulate your problem, and maybe help a bit.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have put it on Github if you want to take a look.
github.com/phillc54/qtplasmac
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I submitted a little issue on github. Have a look. I would like to test your version today !
Please Log in or Create an account to join the conversation.