kexi

#include <kexireportpart.h>

Inheritance diagram for KexiReportPart:
KexiPart::Part

Public Member Functions

 KexiReportPart (TQObject *parent, const char *name, const TQStringList &)
void generateForm (KexiDB::FieldList *list, TQDomDocument &domDoc)
virtual TQString i18nMessage (const TQCString &englishMessage, KexiDialogBase *dlg) const
Public Member Functions inherited from KexiPart::Part
 Part (TQObject *parent, const char *name, const TQStringList &)
virtual ~Part ()
virtual bool execute (KexiPart::Item *item, TQObject *sender=0)
int supportedViewModes () const
int supportedUserViewModes () const
KexiDialogBase * openInstance (KexiMainWindow *win, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, TQMap< TQString, TQString > *staticObjectArgs=0)
virtual bool remove (KexiMainWindow *win, KexiPart::Item &item)
virtual tristate rename (KexiMainWindow *win, KexiPart::Item &item, const TQString &newName)
TQCString instanceName () const
TQString instanceCaption () const
Info * info () const
GUIClient * guiClient () const
GUIClient * instanceGuiClient (int mode=0) const
TDEActionCollection * actionCollectionForMode (int viewMode) const
const Kexi::ObjectStatus & lastOperationStatus () const

Static Public Member Functions

static KFormDesigner::WidgetLibrary * library ()

Protected Member Functions

virtual KexiDialogTempData * createTempData (KexiDialogBase *dialog)
virtual KexiViewBase * createView (TQWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, TQMap< TQString, TQString > *staticObjectArgs=0)
virtual void initPartActions ()
virtual void initInstanceActions ()
Protected Member Functions inherited from KexiPart::Part
 Part (TQObject *parent, StaticInfo *info)
void createGUIClients (KexiMainWindow *win)
virtual KexiDB::SchemaData * loadSchemaData (KexiDialogBase *dlg, const KexiDB::SchemaData &sdata, int viewMode)
bool loadDataBlock (KexiDialogBase *dlg, TQString &dataString, const TQString &dataID=TQString())
TDEAction * createSharedAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0)
TDEAction * createSharedToggleAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name)
TDEAction * createSharedPartAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0)
TDEAction * createSharedPartToggleAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name)
void setActionAvailable (const char *action_name, bool avail)
void setInfo (Info *info)
virtual void setupCustomPropertyPanelTabs (KTabWidget *tab, KexiMainWindow *mainWin)

Static Protected Attributes

static KFormDesigner::WidgetLibrary * static_reportsLibrary = 0L

Additional Inherited Members

Signals inherited from KexiPart::Part
void newObjectRequest (KexiPart::Info *info)
Protected Slots inherited from KexiPart::Part
void slotCreate ()
Protected Attributes inherited from KexiPart::Part
TQMap< TQString, TQString > m_names
int m_supportedViewModes
int m_supportedUserViewModes
Info * m_info
GUIClient * m_guiClient
TQIntDict< GUIClient > m_instanceGuiClients
KexiMainWindow * m_mainWin
Kexi::ObjectStatus m_status
int m_registeredPartID
bool m_newObjectsAreDirty: 1
PartPrivate * d

Detailed Description

Kexi Report Plugin It just creates a KexiReportView. See there for most of code.

Definition at line 42 of file kexireportpart.h.

Constructor & Destructor Documentation

◆ KexiReportPart()

KexiReportPart::KexiReportPart ( TQObject * parent,
const char * name,
const TQStringList & l )

Definition at line 46 of file kexireportpart.cpp.

◆ ~KexiReportPart()

KexiReportPart::~KexiReportPart ( )
virtual

Definition at line 76 of file kexireportpart.cpp.

Member Function Documentation

◆ createTempData()

KexiDialogTempData * KexiReportPart::createTempData ( KexiDialogBase * dialog)
protectedvirtual

Creates and returns a new temporary data for a dialog dialog. This method is called on openInstance() once per dialog. Reimplement this to return KexiDialogTempData subclass instance. Default implemention just returns empty KexiDialogTempData object.

Reimplemented from KexiPart::Part.

Definition at line 98 of file kexireportpart.cpp.

◆ createView()

KexiViewBase * KexiReportPart::createView ( TQWidget * parent,
KexiDialogBase * dialog,
KexiPart::Item & item,
int viewMode = Kexi::DataViewMode,
TQMap< TQString, TQString > * staticObjectArgs = 0 )
protectedvirtual

Creates a new view for mode viewMode, item and parent. The view will be used inside dialog.

Implements KexiPart::Part.

Definition at line 104 of file kexireportpart.cpp.

◆ i18nMessage()

TQString KexiReportPart::i18nMessage ( const TQCString & englishMessage,
KexiDialogBase * dlg ) const
virtual
Returns
i18n'd message translated from englishMessage. This method is useful for messages like: "<p>Table \"%1\" has been modified.</p>", – such messages can be accurately translated, while this could not: "<p>%1 \"%2\" has been modified.</p>". See implementation of this method in KexiTablePart to see what strings are needed for translation.

Default implementation returns generic englishMessage. In special cases, englishMessage can start with ":", to indicate that empty string will be generated if a part does not offer a message for such englishMessage. This is used e.g. in KexiMainWindowImpl::closeDialog().

Reimplemented from KexiPart::Part.

Definition at line 119 of file kexireportpart.cpp.

◆ initInstanceActions()

void KexiReportPart::initInstanceActions ( )
protectedvirtual

Reimplemented from KexiPart::Part.

Definition at line 91 of file kexireportpart.cpp.

◆ initPartActions()

void KexiReportPart::initPartActions ( )
protectedvirtual

Reimplemented from KexiPart::Part.

Definition at line 86 of file kexireportpart.cpp.

◆ library()

KFormDesigner::WidgetLibrary * KexiReportPart::library ( )
static
Returns
a pointer to Reports Widget Library.

Definition at line 80 of file kexireportpart.cpp.

Member Data Documentation

◆ static_reportsLibrary

KFormDesigner::WidgetLibrary * KexiReportPart::static_reportsLibrary = 0L
staticprotected

Definition at line 82 of file kexireportpart.h.


The documentation for this class was generated from the following files: