mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
parent
9f8e1ccfb6
commit
ae2c9f2dc9
@ -56,17 +56,17 @@ Similar to the previous method, but prints a variable int-value pair
|
|||||||
|
|
||||||
static void warning( const QString &msg );
|
static void warning( const QString &msg );
|
||||||
%Docstring
|
%Docstring
|
||||||
Goes to qWarning
|
Goes to qWarning.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static void critical( const QString &msg );
|
static void critical( const QString &msg );
|
||||||
%Docstring
|
%Docstring
|
||||||
Goes to qCritical
|
Goes to qCritical.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static void fatal( const QString &msg );
|
static void fatal( const QString &msg );
|
||||||
%Docstring
|
%Docstring
|
||||||
Goes to qFatal
|
Goes to qFatal.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static int debugLevel();
|
static int debugLevel();
|
||||||
@ -77,7 +77,7 @@ the function returns 1 if QGISDEBUG is defined and 0 if not.
|
|||||||
|
|
||||||
static void logMessageToFile( const QString &message );
|
static void logMessageToFile( const QString &message );
|
||||||
%Docstring
|
%Docstring
|
||||||
Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. *
|
Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any.
|
||||||
%End
|
%End
|
||||||
|
|
||||||
static QString logFile();
|
static QString logFile();
|
||||||
|
@ -304,7 +304,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
|
|||||||
//! Returns the messageBar object which allows displaying unobtrusive messages to the user.
|
//! Returns the messageBar object which allows displaying unobtrusive messages to the user.
|
||||||
QgsMessageBar *messageBar();
|
QgsMessageBar *messageBar();
|
||||||
|
|
||||||
//! Open the message log dock widget *
|
//! Open the message log dock widget
|
||||||
void openMessageLog();
|
void openMessageLog();
|
||||||
|
|
||||||
//! Adds a widget to the user input tool bar.
|
//! Adds a widget to the user input tool bar.
|
||||||
|
@ -314,7 +314,7 @@ namespace pal
|
|||||||
*/
|
*/
|
||||||
int connectedFeatureId( QgsFeatureId featureId ) const;
|
int connectedFeatureId( QgsFeatureId featureId ) const;
|
||||||
|
|
||||||
//! Chop layer features at the repeat distance *
|
//! Chop layer features at the repeat distance
|
||||||
void chopFeaturesAtRepeatDistance();
|
void chopFeaturesAtRepeatDistance();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -70,7 +70,7 @@ class CORE_EXPORT QgsGmlStreamingParser
|
|||||||
//! Axis orientation logic.
|
//! Axis orientation logic.
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
//! Honour EPSG axis order only if srsName is of the form urn:ogc:def:crs:EPSG: *
|
//! Honour EPSG axis order only if srsName is of the form urn:ogc:def:crs:EPSG:
|
||||||
Honour_EPSG_if_urn,
|
Honour_EPSG_if_urn,
|
||||||
//! Honour EPSG axis order
|
//! Honour EPSG axis order
|
||||||
Honour_EPSG,
|
Honour_EPSG,
|
||||||
|
@ -91,13 +91,13 @@ class CORE_EXPORT QgsLogger
|
|||||||
debug( var, os.str().c_str(), file, function, line, debuglevel );
|
debug( var, os.str().c_str(), file, function, line, debuglevel );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Goes to qWarning
|
//! Goes to qWarning.
|
||||||
static void warning( const QString &msg );
|
static void warning( const QString &msg );
|
||||||
|
|
||||||
//! Goes to qCritical
|
//! Goes to qCritical.
|
||||||
static void critical( const QString &msg );
|
static void critical( const QString &msg );
|
||||||
|
|
||||||
//! Goes to qFatal
|
//! Goes to qFatal.
|
||||||
static void fatal( const QString &msg );
|
static void fatal( const QString &msg );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -111,7 +111,7 @@ class CORE_EXPORT QgsLogger
|
|||||||
return sDebugLevel;
|
return sDebugLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any. *
|
//! Logs the message passed in to the logfile defined in QGIS_LOG_FILE if any.
|
||||||
static void logMessageToFile( const QString &message );
|
static void logMessageToFile( const QString &message );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1637,7 +1637,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
|
|||||||
//! A flag that tells us whether to use the above vars to restrict layer visibility
|
//! A flag that tells us whether to use the above vars to restrict layer visibility
|
||||||
bool mScaleBasedVisibility = false;
|
bool mScaleBasedVisibility = false;
|
||||||
|
|
||||||
//! Collection of undoable operations for this layer. *
|
//! Collection of undoable operations for this layer.
|
||||||
QUndoStack *mUndoStack = nullptr;
|
QUndoStack *mUndoStack = nullptr;
|
||||||
|
|
||||||
QUndoStack *mUndoStackStyles = nullptr;
|
QUndoStack *mUndoStackStyles = nullptr;
|
||||||
|
@ -128,7 +128,7 @@ void QgsNewOgrConnection::updateOkButtonState()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
void QgsNewOgrConnection::accept()
|
void QgsNewOgrConnection::accept()
|
||||||
{
|
{
|
||||||
QgsSettings settings;
|
QgsSettings settings;
|
||||||
@ -170,4 +170,4 @@ void QgsNewOgrConnection::btnConnect_clicked()
|
|||||||
testConnection();
|
testConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
@ -462,7 +462,7 @@ void QgsGeometryCheckerResultTab::openAttributeTable()
|
|||||||
void QgsGeometryCheckerResultTab::fixErrors( bool prompt )
|
void QgsGeometryCheckerResultTab::fixErrors( bool prompt )
|
||||||
{
|
{
|
||||||
|
|
||||||
//! Collect errors to fix *
|
//! Collect errors to fix
|
||||||
QModelIndexList rows = ui.tableWidgetErrors->selectionModel()->selectedRows();
|
QModelIndexList rows = ui.tableWidgetErrors->selectionModel()->selectedRows();
|
||||||
if ( rows.isEmpty() )
|
if ( rows.isEmpty() )
|
||||||
{
|
{
|
||||||
@ -490,13 +490,13 @@ void QgsGeometryCheckerResultTab::fixErrors( bool prompt )
|
|||||||
// Disable sorting while fixing errors
|
// Disable sorting while fixing errors
|
||||||
ui.tableWidgetErrors->setSortingEnabled( false );
|
ui.tableWidgetErrors->setSortingEnabled( false );
|
||||||
|
|
||||||
//! Reset statistics, clear rubberbands *
|
//! Reset statistics, clear rubberbands
|
||||||
mStatistics = QgsGeometryCheckerFixSummaryDialog::Statistics();
|
mStatistics = QgsGeometryCheckerFixSummaryDialog::Statistics();
|
||||||
qDeleteAll( mCurrentRubberBands );
|
qDeleteAll( mCurrentRubberBands );
|
||||||
mCurrentRubberBands.clear();
|
mCurrentRubberBands.clear();
|
||||||
|
|
||||||
|
|
||||||
//! Fix errors *
|
//! Fix errors
|
||||||
mCloseable = false;
|
mCloseable = false;
|
||||||
if ( prompt )
|
if ( prompt )
|
||||||
{
|
{
|
||||||
|
@ -83,7 +83,7 @@ QgsDb2NewConnection::QgsDb2NewConnection( QWidget *parent, const QString &connNa
|
|||||||
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );
|
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
void QgsDb2NewConnection::accept()
|
void QgsDb2NewConnection::accept()
|
||||||
{
|
{
|
||||||
QgsSettings settings;
|
QgsSettings settings;
|
||||||
@ -150,7 +150,7 @@ void QgsDb2NewConnection::on_cb_trustedConnection_clicked()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
|
||||||
bool QgsDb2NewConnection::testConnection()
|
bool QgsDb2NewConnection::testConnection()
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@ QgsMssqlNewConnection::QgsMssqlNewConnection( QWidget *parent, const QString &co
|
|||||||
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );
|
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]+" ), txtName ) );
|
||||||
cb_trustedConnection_clicked();
|
cb_trustedConnection_clicked();
|
||||||
}
|
}
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
void QgsMssqlNewConnection::accept()
|
void QgsMssqlNewConnection::accept()
|
||||||
{
|
{
|
||||||
QgsSettings settings;
|
QgsSettings settings;
|
||||||
@ -156,7 +156,7 @@ void QgsMssqlNewConnection::cb_trustedConnection_clicked()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
|
||||||
bool QgsMssqlNewConnection::testConnection( const QString &testDatabase )
|
bool QgsMssqlNewConnection::testConnection( const QString &testDatabase )
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,7 @@ class QgsMssqlProvider final: public QgsVectorDataProvider
|
|||||||
//! Convert a QgsField to work with MSSQL
|
//! Convert a QgsField to work with MSSQL
|
||||||
static bool convertField( QgsField &field );
|
static bool convertField( QgsField &field );
|
||||||
|
|
||||||
//! Convert values to quoted values for database work *
|
//! Convert values to quoted values for database work
|
||||||
static QString quotedValue( const QVariant &value );
|
static QString quotedValue( const QVariant &value );
|
||||||
static QString quotedIdentifier( const QString &value );
|
static QString quotedIdentifier( const QString &value );
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ QgsOracleSourceSelect::QgsOracleSourceSelect( QWidget *parent, Qt::WindowFlags f
|
|||||||
|
|
||||||
populateConnectionList();
|
populateConnectionList();
|
||||||
}
|
}
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
// Slot for adding a new connection
|
// Slot for adding a new connection
|
||||||
void QgsOracleSourceSelect::on_btnNew_clicked()
|
void QgsOracleSourceSelect::on_btnNew_clicked()
|
||||||
{
|
{
|
||||||
@ -309,7 +309,7 @@ void QgsOracleSourceSelect::on_btnEdit_clicked()
|
|||||||
delete nc;
|
delete nc;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
|
||||||
// Remember which database is selected
|
// Remember which database is selected
|
||||||
void QgsOracleSourceSelect::on_cmbConnections_currentIndexChanged( const QString &text )
|
void QgsOracleSourceSelect::on_cmbConnections_currentIndexChanged( const QString &text )
|
||||||
|
@ -115,7 +115,7 @@ QgsPgNewConnection::QgsPgNewConnection( QWidget *parent, const QString &connName
|
|||||||
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]*" ), txtName ) );
|
txtName->setValidator( new QRegExpValidator( QRegExp( "[^\\/]*" ), txtName ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
void QgsPgNewConnection::accept()
|
void QgsPgNewConnection::accept()
|
||||||
{
|
{
|
||||||
QgsSettings settings;
|
QgsSettings settings;
|
||||||
@ -189,7 +189,7 @@ void QgsPgNewConnection::cb_geometryColumnsOnly_clicked()
|
|||||||
cb_publicSchemaOnly->setEnabled( true );
|
cb_publicSchemaOnly->setEnabled( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
|
||||||
void QgsPgNewConnection::testConnection()
|
void QgsPgNewConnection::testConnection()
|
||||||
{
|
{
|
||||||
|
@ -295,7 +295,7 @@ QgsPgSourceSelect::QgsPgSourceSelect( QWidget *parent, Qt::WindowFlags fl, QgsPr
|
|||||||
mSearchModeLabel->setVisible( false );
|
mSearchModeLabel->setVisible( false );
|
||||||
mSearchTableEdit->setVisible( false );
|
mSearchTableEdit->setVisible( false );
|
||||||
}
|
}
|
||||||
//! Autoconnected SLOTS *
|
//! Autoconnected SLOTS
|
||||||
// Slot for adding a new connection
|
// Slot for adding a new connection
|
||||||
void QgsPgSourceSelect::btnNew_clicked()
|
void QgsPgSourceSelect::btnNew_clicked()
|
||||||
{
|
{
|
||||||
@ -354,7 +354,7 @@ void QgsPgSourceSelect::btnEdit_clicked()
|
|||||||
delete nc;
|
delete nc;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! End Autoconnected SLOTS *
|
//! End Autoconnected SLOTS
|
||||||
|
|
||||||
// Remember which database is selected
|
// Remember which database is selected
|
||||||
void QgsPgSourceSelect::cmbConnections_currentIndexChanged( const QString &text )
|
void QgsPgSourceSelect::cmbConnections_currentIndexChanged( const QString &text )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user