33 #include <QMainWindow>
34 #include <q3listview.h>
38 #include <QDesktopServices>
41 #include <QMessageBox>
52 #include <qtbrowserplugin.h>
56 #include <ActiveQt/QAxBindable>
57 #include <ActiveQt/QAxFactory>
58 #include <qt_windows.h>
65 class QDragEnterEvent;
75 class QAssistantClient;
134 #ifdef BROWSER_PLUGIN
135 ,
public QtNPBindable
143 #ifdef BROWSER_PLUGIN
144 Q_CLASSINFO(
"ClassID",
"{2e5b2715-46b2-4831-ba9b-6a3b195d5ec8}")
145 Q_CLASSINFO(
"InterfaceID",
"{94581136-3c0c-46cc-97a1-066061356d43}")
146 Q_CLASSINFO(
"EventsID",
"{8c191b77-1894-45c7-9d6b-201dede95410}")
148 Q_CLASSINFO(
"MIME",
"application/x-qtiplot")
179 void addCustomAction(QAction *,
const QString& parentName,
int index = -1);
184 QMenu*
addCustomMenu(
const QString& title,
const QString& parentName);
212 #ifdef SCRIPTING_CONSOLE
213 QTextEdit *scriptingConsole(){
return console;};
217 static QString
getFileName(QWidget *parent = 0,
const QString & caption = QString(),
218 const QString & dir = QString(),
const QString & filter = QString(),
219 QString * selectedFilter = 0,
bool save =
true,
bool confirmOverwrite =
true);
249 bool importUsingExcel();
250 bool isExcelInstalled(){
return d_has_excel;};
292 void saveProjectAs(
const QString& fileName = QString(),
bool compress =
false);
294 void saveWindowAs(
const QString& fileName = QString(),
bool compress =
false);
314 void setAppColors(
const QColor& wc,
const QColor& pc,
const QColor& tpc,
bool force =
false);
371 double yl,
double yr,
double zl,
double zr,
int columns = 40,
int rows = 30);
373 const QString& zFormula,
double ul,
double ur,
double vl,
double vr,
374 int columns,
int rows,
bool uPeriodic,
bool vPeriodic);
405 MultiLayer *
newFunctionPlot(QStringList &formulas,
double start,
double end,
int points = 100,
const QString& var =
"x",
int type = 0);
426 void convertTableToMatrixRandomXYZ();
430 void showMatrixResamplingDialog(
bool shrink =
false);
443 void exportMatrix(
const QString& exportFilter = QString::null);
466 Table*
newTable(
int r,
int c,
const QString& name = QString(),
const QString& legend = QString());
476 Table*
newHiddenTable(
const QString& name,
const QString& label,
int r,
int c,
const QString& text=QString());
498 void importASCII(
const QString& fileName = QString::null);
499 void importASCII(
const QStringList& files,
int import_mode,
const QString& local_column_separator,
int local_ignored_lines,
bool local_rename_columns,
500 bool local_strip_spaces,
bool local_simplify_spaces,
bool local_import_comments,
501 QLocale local_separators,
const QString& local_comment_string,
bool import_read_only,
int endLineChar,
502 const QList<int>& colTypes = QList<int>(),
const QStringList& colFormats = QStringList());
503 void exportAllTables(
const QString& dir,
const QString& filter,
const QString& sep,
bool colNames,
bool colComments,
bool expSelection);
516 int headLength,
int headAngle,
bool fillHead);
538 QString
stemPlot(
Table *t = 0,
const QString& colName = QString(),
int power = 0,
int startRow = 0,
int endRow = -1);
561 void exportGraph(
const QString& exportFilter = QString::null);
563 #if QT_VERSION >= 0x040500
564 void exportPresentationODF();
585 void renameWindow(Q3ListViewItem *item,
int,
const QString &s);
611 static QMessageBox*
about(
bool dialog =
true);
639 void updateColNames(
const QString& oldName,
const QString& newName);
687 #ifdef HAVE_TAMUANOVA
688 void showANOVADialog(
bool twoWay =
false);
689 void showTwoWayANOVADialog(){
return showANOVADialog(
true);};
760 void hideEvent (QHideEvent *);
882 void updateConfirmOptions(
bool askTables,
bool askMatrixes,
bool askPlots2D,
bool askPlots3D,
bool askNotes);
1032 void renameFolder(Q3ListViewItem *it,
int col,
const QString &text);
1073 void find(
const QString& s,
bool windowNames,
bool labels,
bool folderNames,
1074 bool caseSensitive,
bool partialMatch,
bool subfolders);
1100 void scriptError(
const QString &message,
const QString &scriptName,
int lineNumber);
1126 void init(
bool factorySettings =
false);
1137 void updateCompleter(
const QString& windowName,
bool remove =
false,
const QString& newName = QString::null);
1139 QString
getSaveProjectName(
const QString& fileName,
bool *compress = 0,
int scope = 0);
1194 #ifdef SCRIPTING_PYTHON
1195 void openQtDesignerUi();
1196 void executeStartupScripts();
1459 #ifdef SCRIPTING_CONSOLE
1460 QDockWidget *consoleWindow;
1489 #ifdef SCRIPTING_CONSOLE
1490 QAction *actionShowConsole;
1492 #ifdef SCRIPTING_PYTHON
1493 QAction *actionOpenQtDesignerUi, *actionCommentSelection, *actionUncommentSelection;
1517 QAction *actionConvertTableRandomXYZ, *actionExpandMatrix, *actionShrinkMatrix, *actionSmoothMatrix;
1563 #if QT_VERSION >= 0x040500
1564 QAction *actionPresentationODF;
1581 #ifdef HAVE_TAMUANOVA
1582 QAction *actionOneWayANOVA, *actionTwoWayANOVA;