Skip to content
Permalink
Browse files
display project filename in project properties (implements #10788)
  • Loading branch information
jef-n committed Jul 3, 2014
1 parent 322cd0d commit 144f7eca8fc8c3098b3c07acb8264868d661cd60
Showing with 39 additions and 6 deletions.
  1. +1 −0 src/app/qgsprojectproperties.cpp
  2. +38 −6 src/ui/qgsprojectpropertiesbase.ui
@@ -106,6 +106,7 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *pa
// Properties stored in QgsProject

title( QgsProject::instance()->title() );
projectFileName->setText( QgsProject::instance()->fileName() );

// get the manner in which the number of decimal places in the mouse
// position display is set (manual or automatic)
@@ -231,7 +231,7 @@
<string notr="true">projgeneral</string>
</property>
<layout class="QGridLayout" name="gridLayout_26">
<item row="2" column="2" colspan="2">
<item row="3" column="2" colspan="2">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -244,7 +244,7 @@
</property>
</spacer>
</item>
<item row="2" column="1">
<item row="3" column="1">
<widget class="QComboBox" name="cbxAbsolutePath">
<item>
<property name="text">
@@ -258,7 +258,7 @@
</item>
</widget>
</item>
<item row="1" column="0" colspan="4">
<item row="2" column="0" colspan="4">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="textLabel1">
@@ -345,7 +345,7 @@
</item>
</layout>
</item>
<item row="2" column="0">
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
@@ -361,7 +361,7 @@
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<item row="1" column="1" colspan="3">
<widget class="QLineEdit" name="titleEdit">
<property name="toolTip">
<string>Descriptive project name</string>
@@ -371,8 +371,40 @@
</property>
</widget>
</item>
<item row="0" column="0">
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Project title</string>
</property>
<property name="buddy">
<cstring>projectFileName</cstring>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Project file</string>
</property>
<property name="buddy">
<cstring>titleEdit</cstring>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="projectFileName">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>

0 comments on commit 144f7ec

Please sign in to comment.