mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
missing bindings for user input tool bar
This commit is contained in:
parent
57d21c8383
commit
42f0993c32
@ -165,6 +165,9 @@ class QgisInterface : QObject
|
||||
/** Return the message bar of the main app */
|
||||
virtual QgsMessageBar * messageBar() = 0;
|
||||
|
||||
/** Adds a widget to the user input tool bar.*/
|
||||
virtual void addUserInputWidget( QWidget* widget ) = 0;
|
||||
|
||||
/** Return mainwindows / composer views of running composer instances (currently only one) */
|
||||
virtual QList<QgsComposerView*> activeComposers() = 0;
|
||||
|
||||
|
@ -195,7 +195,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
|
||||
/** Return the messageBar object which allows displaying unobtrusive messages to the user.*/
|
||||
QgsMessageBar *messageBar();
|
||||
|
||||
/** Adds a widget to the user input tool br.*/
|
||||
/** Adds a widget to the user input tool bar.*/
|
||||
void addUserInputWidget( QWidget* widget );
|
||||
|
||||
//! Set theme (icons)
|
||||
|
@ -321,6 +321,11 @@ QgsMessageBar * QgisAppInterface::messageBar()
|
||||
return qgis->messageBar();
|
||||
}
|
||||
|
||||
void QgisAppInterface::addUserInputWidget( QWidget *widget )
|
||||
{
|
||||
qgis->addUserInputWidget( widget );
|
||||
}
|
||||
|
||||
QList<QgsComposerView*> QgisAppInterface::activeComposers()
|
||||
{
|
||||
QList<QgsComposerView*> composerViewList;
|
||||
|
@ -177,6 +177,9 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
|
||||
|
||||
QgsMessageBar * messageBar() override;
|
||||
|
||||
/** Adds a widget to the user input tool bar.*/
|
||||
void addUserInputWidget( QWidget* widget ) override;
|
||||
|
||||
// ### QGIS 3: return QgsComposer*, not QgsComposerView*
|
||||
QList<QgsComposerView*> activeComposers() override;
|
||||
|
||||
|
@ -211,6 +211,9 @@ class GUI_EXPORT QgisInterface : public QObject
|
||||
/** Return the message bar of the main app */
|
||||
virtual QgsMessageBar * messageBar() = 0;
|
||||
|
||||
/** Adds a widget to the user input tool bar.*/
|
||||
virtual void addUserInputWidget( QWidget* widget ) = 0;
|
||||
|
||||
/** Return mainwindows / composer views of running composer instances (currently only one) */
|
||||
virtual QList<QgsComposerView*> activeComposers() = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user