mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
39 lines
1.5 KiB
C++
39 lines
1.5 KiB
C++
/***************************************************************************
|
|
qgsidentifyresults.cpp - description
|
|
-------------------
|
|
begin : Fri Oct 25 2002
|
|
copyright : (C) 2002 by Gary E.Sherman
|
|
email : sherman at mrcc dot com
|
|
Romans 3:23=>Romans 6:23=>Romans 5:8=>Romans 10:9,10=>Romans 12
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
#include <qlistview.h>
|
|
#include "qgsidentifyresults.h"
|
|
|
|
QgsIdentifyResults::QgsIdentifyResults()
|
|
{
|
|
}
|
|
|
|
QgsIdentifyResults::~QgsIdentifyResults()
|
|
{
|
|
}
|
|
|
|
/** add an attribute and its value to the list */
|
|
void QgsIdentifyResults::addAttribute(QString field, QString value)
|
|
{
|
|
QListViewItem *lvi = new QListViewItem(lstResults, field, value);
|
|
}
|
|
|
|
void QgsIdentifyResults::setTitle(QString title)
|
|
{
|
|
setCaption("Identify Results - " + title);
|
|
}
|