WebEngineSettings
Base classes
Name | Children | Inherits |
---|---|---|
MutableMapping collections.abc A MutableMapping is a generic container for associating |
⋔ Inheritance diagram
graph TD
1473574736640["webenginecore.WebEngineSettings"]
1473222543776["abc.MutableMapping"]
1473222540848["abc.Mapping"]
1473222211728["abc.Collection"]
1473222226368["abc.Sized"]
140713234304496["builtins.object"]
1473222223440["abc.Iterable"]
1473222220512["abc.Container"]
1473222543776 --> 1473574736640
1473222540848 --> 1473222543776
1473222211728 --> 1473222540848
1473222226368 --> 1473222211728
140713234304496 --> 1473222226368
1473222223440 --> 1473222211728
140713234304496 --> 1473222223440
1473222220512 --> 1473222211728
140713234304496 --> 1473222220512
🛈 DocStrings
Bases: MutableMapping
Source code in prettyqt\webenginecore\webenginesettings.py
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
|
get_font_family(family: FontFamilyStr) -> str
Return the actual font family for the specified generic font family.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
family |
FontFamilyStr
|
generic font family |
required |
Source code in prettyqt\webenginecore\webenginesettings.py
get_font_size(typ: FontSizeStr) -> int
Return the default font size for type in pixels.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
typ |
FontSizeStr
|
font size type |
required |
get_unknown_url_scheme_policy() -> UnknownUrlSchemePolicyStr
Return current unknown url scheme policy.
Source code in prettyqt\webenginecore\webenginesettings.py
set_font_family(which: FontFamilyStr | QtWebEngineCore.QWebEngineSettings.FontFamily, family: str)
Set the actual font family to family for the specified generic family, which.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
which |
FontFamilyStr | FontFamily
|
family to set |
required |
family |
str
|
generic family |
required |
Source code in prettyqt\webenginecore\webenginesettings.py
set_font_size(typ: FontSizeStr | QtWebEngineCore.QWebEngineSettings.FontSize, size: int)
set_unknown_url_scheme_policy(policy: UnknownUrlSchemePolicyStr | pol)
Set the unknown url scheme policy.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
policy |
UnknownUrlSchemePolicyStr | pol
|
unknown url scheme policy |
required |