WebEngineSettings
Base classes
| Name | Children | Inherits |
|---|---|---|
| MutableMapping collections.abc A MutableMapping is a generic container for associating |
|
â‹” Inheritance diagram
graph TD
2211765415["webenginecore.WebEngineSettings"]
1799060090["abc.MutableMapping"]
4016029557["abc.Mapping"]
2852422536["abc.Collection"]
4051874921["abc.Sized"]
2751680898["builtins.object"]
2021119437["abc.Iterable"]
1031828782["abc.Container"]
1799060090 --> 2211765415
4016029557 --> 1799060090
2852422536 --> 4016029557
4051874921 --> 2852422536
2751680898 --> 4051874921
2021119437 --> 2852422536
2751680898 --> 2021119437
1031828782 --> 2852422536
2751680898 --> 1031828782
🛈 DocStrings
Bases: MutableMapping
Source code in prettyqt/webenginecore/webenginesettings.py
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 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | |
get_font_family(family: FontFamilyStr | QtWebEngineCore.QWebEngineSettings.FontFamily) -> str
Return the actual font family for the specified generic font family.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
family
|
FontFamilyStr | FontFamily
|
generic font family |
required |
Source code in prettyqt/webenginecore/webenginesettings.py
get_font_size(typ: FontSizeStr | QtWebEngineCore.QWebEngineSettings.FontSize) -> int
Return the default font size for type in pixels.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
typ
|
FontSizeStr | FontSize
|
font size type |
required |
Source code in prettyqt/webenginecore/webenginesettings.py
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 the font size for type to size in pixels.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
typ
|
FontSizeStr | FontSize
|
font size type |
required |
size
|
int
|
size in pixels |
required |
Source code in prettyqt/webenginecore/webenginesettings.py
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 |