~ubuntu-branches/ubuntu/maverick/datakiosk/maverick

« back to all changes in this revision

Viewing changes to src/src/reportwizardbaseimpl.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-06-27 22:48:06 UTC
  • Revision ID: james.westby@ubuntu.com-20050627224806-8farkci1dc2onhbs
Tags: upstream-0.7
ImportĀ upstreamĀ versionĀ 0.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2005 by Adam Treat                                      *
 
3
 *   treat@kde.org                                                         *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 ***************************************************************************/
 
11
 
 
12
#ifndef REPORTWIZARDBASEIMPL_H
 
13
#define REPORTWIZARDBASEIMPL_H
 
14
 
 
15
#include "reportwizard.h"
 
16
 
 
17
class Project;
 
18
class DataTable;
 
19
class DataReport;
 
20
 
 
21
class ReportWizard : public ReportWizardBase
 
22
{
 
23
    Q_OBJECT
 
24
 
 
25
public:
 
26
    ReportWizard( Project* project, DataReport *report, DataTable* parentTable = 0, bool configure = false );
 
27
    ~ReportWizard();
 
28
 
 
29
    void accept();
 
30
 
 
31
protected slots:
 
32
    void reportTemplateChanged( const QString &temp );
 
33
    void reportLabelChanged( const QString &label );
 
34
    void reportIconChanged();
 
35
 
 
36
    void addSortField();
 
37
    void reSortSortField();
 
38
    void removeSortField();
 
39
    void sortFieldUp();
 
40
    void sortFieldDown();
 
41
 
 
42
    void nextPageClicked();
 
43
 
 
44
private:
 
45
    void enableAllReportPage( bool b );
 
46
    void enableAllSortPage( bool b );
 
47
 
 
48
private:
 
49
    Project *m_project;
 
50
    DataReport *m_report;
 
51
    DataTable *m_parentTable;
 
52
    bool m_configure;
 
53
 
 
54
private:
 
55
    void setupFirstPage();
 
56
    void setupReportPage();
 
57
    void setupSortPage();
 
58
};
 
59
 
 
60
#endif