Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
added close button to attribute table
- Loading branch information
Showing
with
8 additions
and
0 deletions.
-
+1
−0
src/app/qgsattributetabledialog.cpp
-
+7
−0
src/ui/qgsattributetabledialog.ui
|
@@ -129,6 +129,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid |
|
|
connect( mLayer, SIGNAL( layerDeleted() ), this, SLOT( close() ) ); |
|
|
|
|
|
connect( searchButton, SIGNAL( clicked() ), this, SLOT( search() ) ); |
|
|
connect( mCloseButton, SIGNAL( clicked() ), this, SLOT( close() ) ); |
|
|
connect( mAddFeature, SIGNAL( clicked() ), this, SLOT( addFeature() ) ); |
|
|
|
|
|
connect( mView->verticalHeader(), SIGNAL( sectionClicked( int ) ), this, SLOT( updateRowSelection( int ) ) ); |
|
|
|
@@ -98,6 +98,13 @@ |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QPushButton" name="mCloseButton"> |
|
|
<property name="text"> |
|
|
<string>Close</string> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
</layout> |
|
|
</item> |
|
|
<item row="1" column="0"> |
|
|