30 #ifndef STDSTORAGEDIALOG_H 31 #define STDSTORAGEDIALOG_H 37 #include <QTreeWidgetItem> 40 class StdStorageDialog;
47 class StorageInterface;
48 class ReportInterface;
59 ShowStorageSelect = 0x01,
68 void setUrl(
const QString & url);
70 void setViewOptions(ViewOptions f);
71 void setExtensionAutocomplete(
bool b);
73 void setCurrentStorage(
const QString & storageName,
bool exclusive =
false);
74 QString currentStorageName();
83 void setNameFilters(
const QStringList & nameFilters,
bool addAllFilesOption =
true);
84 QString currentNameFilter()
const;
86 void setRootDir(
const QString & dir,
bool canGoOutRoot =
false);
87 QString rootDir()
const;
89 QString currentFolderUrl()
const;
90 QString currentObjectUrl()
const;
92 bool currentObjectExists()
const;
97 void currentStoragetIndexChanged(
int index);
98 void currentFiltertIndexChanged(
int index);
99 void currentItemChanged ( QTreeWidgetItem * current, QTreeWidgetItem * previous );
100 void itemDoubleClicked ( QTreeWidgetItem * current,
int);
101 void itemActivated ( QTreeWidgetItem * item,
int column );
104 void showEvent ( QShowEvent * event );
105 void filenameEdited(
const QString & filename);
106 void filenameCursorPositionChanged(
int oldPos,
int newPos);
110 QPixmap formPreviewPixmap(
const QTreeWidgetItem *item);
112 Ui::StdStorageDialog *
ui;
133 Q_DECLARE_OPERATORS_FOR_FLAGS(CuteReport::StdStorageDialog::ViewOptions)
135 #endif // STDSTORAGEDIALOG_H Definition: abstractpainterdelegate.h:42
QPointer< StorageInterface > m_storage
Definition: stdstoragedialog.h:114
bool m_useAllFilesFilter
Definition: stdstoragedialog.h:126
Definition: reportpreview.h:30
QString m_proposedFileName
Definition: stdstoragedialog.h:121
TODO v2: rename to ReportObject.
Definition: reportinterface.h:71
QPointer< ReportInterface > m_report
Definition: stdstoragedialog.h:115
QString m_rootDir
Definition: stdstoragedialog.h:118
Ui::StdStorageDialog * ui
Definition: stdstoragedialog.h:112
FormPixmapCache m_formPixmapCache
Definition: stdstoragedialog.h:125
QString m_extensionAutocomplete
Definition: stdstoragedialog.h:127
QStringList m_urlBackward
Definition: stdstoragedialog.h:122
QMap< const QTreeWidgetItem *, QPixmap > FormPixmapCache
Definition: stdstoragedialog.h:124
bool m_currentFileNameIsManuallyEntered
Definition: stdstoragedialog.h:128
Definition: stdstoragedialog.h:52
ViewOption
Definition: stdstoragedialog.h:57
bool m_canGoOutRoot
Definition: stdstoragedialog.h:119
CuteReport::ReportCore * m_reportCore
Definition: stdstoragedialog.h:113
Definition: reportcore.h:83
QString m_currentPath
Definition: stdstoragedialog.h:120