10 #include "desiteCoreGui.h"
12 #include <domainBim/ProjectClosedInfo.h>
13 #include <domainBim/ProjectOpenedInfo.h>
16 class DataBaseWebInterfaceWidget;
21 class TextBrowserProgress;
27 class ExportPreviewWidget;
28 class WebViewWrapperWidget;
34 class NavigatorProject;
35 class NavigatorProjectAPI;
41 class WebFormsProgressWidget;
64 bool getOpeningFlag()
const {
return _isOpening; }
65 void setOpeningFlag(
bool opening ) { _isOpening = opening; }
67 void enableWebInspector(
bool enable);
68 void showButtonConsole(
bool v);
69 void showButtonPrintByTemplate(
bool v);
70 void showTitle(
bool v);
71 void changeTitle(
const QString& title);
73 void updateHomeButtonToolTip();
78 void setupTouchConfig(QObject* objectForTouchEventFilter,
const QString& footerStylesheet);
83 modelGui::WebViewWrapperWidget* getWebFormPtr();
88 void addOrRenameBookmark(
const QString& url,
const QString& suggestedName);
93 void lockTable(
bool v);
95 void onDbUpdateFinished();
99 #pragma region HEADER, FOOTER, DEBUG CONSOLE
126 #pragma region PRINTING
215 double getLogicalDpi();
221 #pragma region DATABASE
269 #pragma region URL, PAGE
336 #pragma region PROGRESS
451 void delegateSimulationActivated(
bool);
453 void delegateSimulationDateChanged(QDateTime);
460 void onImmediateUpdateChanged(
bool);
461 void onImmediateUpdateClicked();
472 void onAddBookmarkClicked();
477 void printPreview(QPrinter*);
479 void onProjectAboutToBeOpened();
480 void onProjectOpened(domainBim::ProjectOpenedInfo);
481 void onProjectClosed(domainBim::ProjectClosedInfo);
483 void printByTemplate(QString templateFN);
485 void updatePrintMenu();
486 void onMenuItemTriggered(QAction* action);
489 void showPrintTools();
491 void toggleNavigation();
496 void _clearDebugOutput();
501 void _onContextMenuRequested_DebugOutput(
const QPoint& pt);
508 void _onLoadFinished(
bool ok);
509 void _onLinkClicked(
const QUrl& url);
510 void _onUrlChanged (
const QUrl & url);
511 QString _renderHtmlTemplate(
const QString& templateFileName);
512 void _populateJavaScriptWindowObject();
515 std::unique_ptr<Ui::DataBaseWebInterfaceWidget> ui;
517 domainDB::DataBaseModel* _dbmodel;
518 desiteCore::NavigatorProject& _navProject;
521 QHash<QString,QString> _currentValues;
523 modelGui::WebViewWrapperWidget* _webForm;
528 modelGui::ExportPreviewWidget* _exportPreview;
532 QHash<QString,PrintTemplateRecord> _printTemplateHash;
533 basicGui::PrintWidget* _printWidget;
535 QStringList _handleLinksByWindowsSuffixList;
537 WebFormsProgressWidget* _progressWidget;
538 basicGui::TextBrowserProgress* _tbProgress;
540 QString _lockIconOpen;
541 QString _lockIconLocked;
543 QHash<QString, QString> _redirectURLs;
Definition: DataBaseWebInterfaceWidget.h:15
Definition: DataBaseWebInterfaceWidget.h:23
Definition: DataBaseWebInterfaceWidget.h:26
Definition: DataBaseWebInterfaceWidget.h:19
Definition: NavigatorProjectAPI.h:34
Definition: ProjectAPI.h:16
Definition: DataBaseWebInterfaceWidget.h:30
Definition: DataBaseWebInterfaceWidget.h:38