Qwidget properties, learning of functions

Source: Internet
Author: User

I put all the properties in the function again, so that I can get into my mind, and make it easy for me to find later:

--------------------Color/Render mode-----------------------
Qwidget::D rawwindowbackground background is rendered to the destination window (default on)
Qwidget::D Rawchildren child controls are rendered recursively to the destination window
Qwidget::ignoremask Ignoring masks

Autofillbackground Auto Fill background color (default is False)
Font fonts
Palette palette of controls

--------------------size and position-----------------------
Basesize Basic Size (default width is 0)
Whether the maximized has been maximized
MaximumHeight maximum height of pixels
MaximumSize maximum size of pixels
MaximumWidth Maximum width of pixels
Whether the minimized has been minimized
Minimumheight min. pixel height
MinimumSize the smallest pixel size
Minimumsizehint Recommended minimum Size
Minimumwidth min. width
Height does not include control heights for window frame
Width of control
Childrenrect Rectangle size of child controls
Childrenregion the area of the child control

Size does not include control dimensions for window frame
Recommended dimensions for Sizehint controls
Sizeincrement size of the control when the size of the change
Sizepolicy The default layout behavior of the control
Framesize includes control dimensions for window frame
Framegeometry position relative to the parent control (including window frame)
Geometry does not include the position of the window frame relative to the parent control
Normalgeometry the location of the control when it is in the normal state
Fullscreen Full Screen mode

LayoutDirection direction of layout
Visible if the control is invisible
The inner rectangle position of the Rect control
Position of the Pos control in the parent control
x coordinate relative to the parent control (including window frame)
Y relative to the y-coordinate of the parent control (including window frame)

--------------------Text-----------------------
Focus Spotlight
Focuspolicy Focus Policy
WindowTitle the title of the window
AccessibleDescription description (default is empty)
AccessibleName name (default is empty)
Help content for Whatsthis controls
ToolTip for ToolTip control
Tooltipduration control's prompt time
Statustip Status hints for controls

--------------------Window Properties-----------------------
Enabled is valid
Updatesenabled whether the updates feature is activated
Modal whether the modal control
Isactivewindow whether the window is activated

StyleSheet the style of the control
Windowfilepath the file path of the control
A combination of window styles for Windowflags controls
Windowicon the icon for the control
Windowicontext the text of the control icon
Windowmodality which windows are masked by the modal window (current window)
The document contained in the Windowmodified window has been changed, but has not been saved
windowopacity transparency of Windows

Acceptdrops Accept Drag
Contextmenupolicy How to display the context menu
Cursor Cursors
Tips for the input mode of the Inputmethodhints control
Locale Local Property
Mousetracking whether mouse tracking is activated

Qwidget properties, learning of functions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.