Skip to content

Commit

Permalink
Sip_skip some private api
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 14, 2022
1 parent 479d37d commit 7211692
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 0 additions & 8 deletions python/core/auto_generated/project/qgsmapviewsmanager.sip.in
Expand Up @@ -67,15 +67,7 @@ Removes the configuration of the 3D view named ``name``
Renames the 3D view named ``oldTitle`` to ``newTitle``
%End

void set3DViewInitiallyVisible( const QString &name, bool visible );
%Docstring
Sets whether the 3D view named ``name`` will be initially visible when the project is opened
%End

bool is3DViewOpen( const QString &name );
%Docstring
Returns whether the 3D view named ``name`` will is opened
%End

signals:
void views3DListChanged();
Expand Down
16 changes: 12 additions & 4 deletions src/core/project/qgsmapviewsmanager.h
Expand Up @@ -99,11 +99,19 @@ class CORE_EXPORT QgsMapViewsManager : public QObject
//! Renames the 3D view named \a oldTitle to \a newTitle
void rename3DView( const QString &oldTitle, const QString &newTitle );

//! Sets whether the 3D view named \a name will be initially visible when the project is opened
void set3DViewInitiallyVisible( const QString &name, bool visible );
/**
* Sets whether the 3D view named \a name will be initially visible when the project is opened.
*
* \note Not available in Python bindings
*/
void set3DViewInitiallyVisible( const QString &name, bool visible ) SIP_SKIP;

//! Returns whether the 3D view named \a name will is opened
bool is3DViewOpen( const QString &name );
/**
* Returns whether the 3D view named \a name will is opened.
*
* \note Not available in Python bindings.
*/
bool is3DViewOpen( const QString &name ) SIP_SKIP;

signals:
//! Emitted when the views list has changed (whenever a view was removed, added, renamed..)
Expand Down

0 comments on commit 7211692

Please sign in to comment.