mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Remove some dox details which are likely to go out of date quickly
This commit is contained in:
parent
857bbe1e66
commit
1118f4ac91
@ -110,7 +110,7 @@ Sets the global window ``manager``. Ownership is transferred to the QgsGui insta
|
|||||||
|
|
||||||
static QgsGui::HigFlags higFlags();
|
static QgsGui::HigFlags higFlags();
|
||||||
%Docstring
|
%Docstring
|
||||||
Returns HIG flags. Currently indicates whether titles should be title case depending on the current locale.
|
Returns the platform's HIG flags.
|
||||||
|
|
||||||
.. versionadded:: 3.4
|
.. versionadded:: 3.4
|
||||||
%End
|
%End
|
||||||
|
@ -117,7 +117,7 @@ void QgsGui::setWindowManager( QgsWindowManagerInterface *manager )
|
|||||||
QgsGui::HigFlags QgsGui::higFlags()
|
QgsGui::HigFlags QgsGui::higFlags()
|
||||||
{
|
{
|
||||||
QgsSettings settings;
|
QgsSettings settings;
|
||||||
if ( settings.value( QStringLiteral( "locale/userLocale" ), "" ).toString().startsWith( "en" ) )
|
if ( settings.value( QStringLiteral( "locale/userLocale" ), QString() ).toString().startsWith( QLatin1String( "en" ) ) )
|
||||||
{
|
{
|
||||||
return HigMenuTextIsTitleCase | HigDialogTitleIsTitleCase;
|
return HigMenuTextIsTitleCase | HigDialogTitleIsTitleCase;
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ class GUI_EXPORT QgsGui
|
|||||||
static void setWindowManager( QgsWindowManagerInterface *manager SIP_TRANSFER );
|
static void setWindowManager( QgsWindowManagerInterface *manager SIP_TRANSFER );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HIG flags. Currently indicate whether titles should be title case depending on the current locale.
|
* HIG flags, which indicate the Human Interface Guidelines for the current platform.
|
||||||
* \since QGIS 3.4
|
* \since QGIS 3.4
|
||||||
*/
|
*/
|
||||||
enum HigFlag
|
enum HigFlag
|
||||||
@ -137,7 +137,7 @@ class GUI_EXPORT QgsGui
|
|||||||
Q_DECLARE_FLAGS( HigFlags, HigFlag )
|
Q_DECLARE_FLAGS( HigFlags, HigFlag )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns HIG flags. Currently indicates whether titles should be title case depending on the current locale.
|
* Returns the platform's HIG flags.
|
||||||
* \since QGIS 3.4
|
* \since QGIS 3.4
|
||||||
*/
|
*/
|
||||||
static QgsGui::HigFlags higFlags();
|
static QgsGui::HigFlags higFlags();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user