Exemple #1
0
Reports::Reports(WContainerWidget *parent, int reportType):WContainerWidget(parent),m_iReportType(reportType),m_pReport(0),m_wcHeaders(0),m_reportContent(0)
{
#ifdef GSOAP
    std::string location = boost::any_cast<std::string>(((Portal *)WApplication::instance())->getSession()->userProperty("Регион"));
    m_soapClient = new SoapClient(location);
#endif
    setWidth(950);
    createReport();
}
Benchmarker::~Benchmarker()
{
    qDebug() << "commit";
    m_database->commit();

    if(m_testlibIntegration == 0)
        createReport();

    delete m_testlibIntegration;
    delete m_resultsTable;
}
Exemple #3
0
BOOL BugReport::OnInitDialog() 
{
  CDialog::OnInitDialog();
	
  CenterWindow();

  CString report = createReport();

  m_report.SetFont(CFont::FromHandle((HFONT)GetStockObject(SYSTEM_FIXED_FONT)));

  m_report.SetWindowText(report);
	
  return TRUE;  // return TRUE unless you set the focus to a control
  // EXCEPTION: OCX Property Pages should return FALSE
}
Exemple #4
0
void Integrator::openReport() {
    if (!report)
        createReport();
}