I assumed that you knew that I would like to also know how to change the border, and the border color
Sorry Tom, did in Designer but i guess you can also do it in Q7B,
I assumed that you knew that I would like to also know how to change the border, and the border color
QWidget:mouseDoubleClickEvent(Event As QMouseEvent)
QWidget:mouseMoveEvent(Event As QMouseEvent)
QWidget:mousePressEvent(Event As QMouseEvent)
QWidget:mouseReleaseEvent(Event As QMouseEvent)
QWidget:moveEvent(Event As QMoveEvent)
QWidget:wheelEvent(Event As QWheelEvent)
Frame:Click(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
Frame:DblClick(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
Frame:Enter()
Frame:Exit()
Frame:GotFocus()
Frame:LostFocus()
Frame:MouseDown(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
Frame:MouseUp(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
Frame:Resize(Width As Integer, Height As Integer, OldWidth As Integer, OldHeight As Integer)
Signal on_frame1_MouseDown(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
MsgBox(X & ":" & Y & "-" & GlobalX & ":" & GlobalY & "-" & LeftButton & "-" & RightButton & "-" & MidButton)
frame1.setStyleSheet("background-color: rgb(255, 255, 0)")
End Signal
Outlet aLabel As Label Set
Signal on_aLabel_MouseDown(X As Integer, Y As Integer, GlobalX As Integer, GlobalY As Integer, LeftButton As Boolean, RightButton As Boolean, MidButton As Boolean)
MsgBox("!on_aLabel_MouseDown " & LeftButton & RightButton & MidButton)
Outlet frame1 As QFrame Set Frame
'Or
Outlet frame1 As Frame Set
Users browsing this forum: No registered users and 1 guest