Changing more Window titles

This commit is contained in:
Richard Duivenvoorde 2015-07-01 14:58:56 +02:00 committed by Matthias Kuhn
parent e4dac07627
commit c77db4f285
6 changed files with 47 additions and 11 deletions

View File

@ -209,7 +209,7 @@ void QgsUndoWidget::setupUi( QDockWidget *UndoWidget )
void QgsUndoWidget::retranslateUi( QDockWidget *UndoWidget )
{
UndoWidget->setWindowTitle( QApplication::translate( "UndoWidget", "Undo/Redo", 0, QApplication::UnicodeUTF8 ) );
UndoWidget->setWindowTitle( QApplication::translate( "UndoWidget", "Undo/Redo Panel", 0, QApplication::UnicodeUTF8 ) );
undoButton->setText( QApplication::translate( "UndoWidget", "Undo", 0, QApplication::UnicodeUTF8 ) );
redoButton->setText( QApplication::translate( "UndoWidget", "Redo", 0, QApplication::UnicodeUTF8 ) );
Q_UNUSED( UndoWidget );

View File

@ -19,7 +19,7 @@
#include <QBoxLayout>
QgsUserInputDockWidget::QgsUserInputDockWidget( QWidget *parent )
: QDockWidget( tr( "User input" ), parent )
: QDockWidget( tr( "User Input Panel" ), parent )
, mLayoutHorizontal( true )
{
QWidget* w = new QWidget( 0 );

View File

@ -139,7 +139,7 @@ void QgsTileScaleWidget::showTileScale( QMainWindow *mainWindow )
}
//create the dock widget
dock = new QDockWidget( tr( "Tile scale" ), mainWindow );
dock = new QDockWidget( tr( "Tile Scale Panel" ), mainWindow );
dock->setObjectName( "theTileScaleDock" );
dock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
mainWindow->addDockWidget( Qt::RightDockWidgetArea, dock );

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>222</width>
<width>228</width>
<height>220</height>
</rect>
</property>
@ -17,7 +17,7 @@
</size>
</property>
<property name="windowTitle">
<string>Advanced Digitizing</string>
<string>Advanced Digitizing Panel</string>
</property>
<widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout">
@ -45,7 +45,16 @@
<item>
<widget class="QWidget" name="mCadWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
@ -78,7 +87,16 @@
</sizepolicy>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
@ -188,7 +206,16 @@
<item>
<widget class="QWidget" name="mInputWidgets" native="true">
<layout class="QGridLayout" name="mInputLayout">
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">

View File

@ -11,11 +11,20 @@
</rect>
</property>
<property name="windowTitle">
<string>Spatial Bookmarks</string>
<string>Spatial Bookmarks Panel</string>
</property>
<widget class="QWidget" name="bookmarksDockContents">
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Statistics</string>
<string>Statistics Panel</string>
</property>
<widget class="QWidget" name="mContents">
<layout class="QVBoxLayout" name="verticalLayout">