All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
#include <BugReport.h>
Public Member Functions | |
BugReport (QWidget *parent=0, Qt::WindowFlags fl=0) | |
void | setInfo (const QString &bugInfo) |
~BugReport () |
QGpGuiTools::BugReport::BugReport | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
References QGpGuiTools::Dialog::getRect(), and TRACE.
: Dialog(parent, fl) { TRACE; setupUi(this); #ifdef Q_WS_MAC QSettings reg(qApp->organizationDomain()); #else QSettings reg(qApp->organizationName()); #endif if(reg.contains("usermail")) { from->setText(reg.value("usermail").toString()); _fromTouched=true; } else { from->setText("Enter here YOUR email address"); _fromTouched=false; } Settings::getRect(this, "BugReport"); infoContent->setFont(QFont("Monospace")); _commentTouched=false; _access=new HttpAccess("http://www.geopsy.org/access_testing.txt", this); connect(_access, SIGNAL(finished(bool)), this, SLOT(sent(bool))); }
References QGpGuiTools::Dialog::setRect(), and TRACE.
{ TRACE; #ifdef Q_WS_MAC QSettings reg(qApp->organizationDomain()); #else QSettings reg(qApp->organizationName()); #endif reg.setValue("usermail",from->text()); delete _access; Settings::setRect(this, "BugReport"); }
void QGpGuiTools::BugReport::setInfo | ( | const QString & | bugInfo | ) |