2002-10-26 01:06:33 +00:00
|
|
|
/***************************************************************************
|
|
|
|
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"
|
|
|
|
|
2002-11-24 00:00:43 +00:00
|
|
|
QgsIdentifyResults::QgsIdentifyResults()
|
|
|
|
{
|
2002-10-26 01:06:33 +00:00
|
|
|
}
|
2002-11-24 00:00:43 +00:00
|
|
|
|
|
|
|
QgsIdentifyResults::~QgsIdentifyResults()
|
|
|
|
{
|
2002-10-26 01:06:33 +00:00
|
|
|
}
|
2002-11-24 00:00:43 +00:00
|
|
|
|
2002-10-26 01:06:33 +00:00
|
|
|
/** add an attribute and its value to the list */
|
2002-11-24 00:00:43 +00:00
|
|
|
void QgsIdentifyResults::addAttribute(QString field, QString value)
|
|
|
|
{
|
|
|
|
QListViewItem *lvi = new QListViewItem(lstResults, field, value);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QgsIdentifyResults::setTitle(QString title)
|
|
|
|
{
|
|
|
|
setCaption("Identify Results - " + title);
|
2002-10-26 01:06:33 +00:00
|
|
|
}
|