MainPage   Related pages 
Public Slots | Public Member Functions | Public Attributes | List of all members
desiteCoreGui::DataBaseWebInterfaceWidget Class Reference

#include <desiteCoreGui/DataBaseWebInterfaceWidget.h>

Inheritance diagram for desiteCoreGui::DataBaseWebInterfaceWidget:

Public Slots

void lockTable (bool v)
 
void onDbUpdateFinished ()
 
void copyPropertyInDatabase (QString pNameA, QString pNameB, QString pType)
 
QString addDays (QString date, int nrDays)
 
void savePicture ()
 
HEADER, FOOTER
void setFooterVisible (bool visible)
 
void setHeaderVisible (bool visible)
 
void showConsole (bool)
 
PRINTING
QString createPdfByTemplate (QString templateFileName, QString pdfFileName)
 
void setPaperSize (int paperSize)
 
void setOrientation (int orientation)
 
void setPageMargins (double L, double R, double T, double B)
 
double getPageMarginTop ()
 
double getPageMarginBottom ()
 
double getPageMarginLeft ()
 
double getPageMarginRight ()
 
DATABASE
void getData ()
 
void processUpdate ()
 
void writeData ()
 
void dataChanged ()
 
void setImmediateUpdate (bool)
 
URL, PAGE
void reloadPage ()
 
void loadUrl (QString url)
 
void addSuffix (QString suffix)
 
void resetSuffixList ()
 
PROGRESS
void showProgress (QVariantMap v)
 
void hideProgress ()
 
void clearProgressMessage ()
 
void showProgressMessage (QString)
 
void showProgressMessageLabel (QString)
 
void showProgressValue (double v)
 
void showProgressMessageConsole (QString v)
 
int getProgressState ()
 
void processEvents ()
 
void enableInterruptJavaScriptMsg (bool enable)
 

Public Member Functions

void setNavigatorProject (desiteCore::NavigatorProject *np)
 
desiteCore::NavigatorProject * getNavigatorProject ()
 
Constructors
 DataBaseWebInterfaceWidget (model::IGlobalProject *gp, QWidget *parent=0, Qt::WFlags flags=0)
 
 ~DataBaseWebInterfaceWidget ()
 

Public Attributes

Ui::DataBaseWebInterfaceWidget ui
 
QString lockIconOpen
 
QString lockIconLocked
 

DELEGATES 4D SIM

void delegateSimulationActivated (bool)
 
void delegateSimulationDateChanged (QDateTime)
 
bool getOpeningFlag ()
 
void setOpeningFlag (bool opening)
 

Detailed Description

API in WebForms
Objectname: desiteMD

Since
2013
Id
DataBaseWebInterfaceWidget.h 458 2017-11-15 16:36:18Z stefan.losch

(c) ceapoint aec technologies GmbH

Member Function Documentation

void desiteCoreGui::DataBaseWebInterfaceWidget::addSuffix ( QString  suffix)
slot

Handle links by calling desktop services. All documents ending with one of the suffixes in this list are handled by calling the desktop services, i.e. using the standard application of the opertaing system.

void desiteCoreGui::DataBaseWebInterfaceWidget::copyPropertyInDatabase ( QString  pNameA,
QString  pNameB,
QString  pType 
)
slot
Deprecated:
Use setPropertyValueDB()
QString desiteCoreGui::DataBaseWebInterfaceWidget::createPdfByTemplate ( QString  templateFileName,
QString  pdfFileName 
)
slot

Page settings can be configured by setPapersize(), setOrientation() and setMargins(). Page settings configured by the dialog are taken into account as well.

Returns
File Name
'Error' if file could not be printed.
void desiteCoreGui::DataBaseWebInterfaceWidget::enableInterruptJavaScriptMsg ( bool  enable)
slot
Parameters
enabletrue: An interrupt message is shown if the scripts runs a long period of time.
false: No information is displayed, the script will run without interruption.
Since
1.5.0, 09 feb 2016, mm
void desiteCoreGui::DataBaseWebInterfaceWidget::loadUrl ( QString  url)
slot

Clear webpage cache and open URL.

void desiteCoreGui::DataBaseWebInterfaceWidget::processEvents ( )
inlineslot

Enforce the processing of the event queue.

void desiteCoreGui::DataBaseWebInterfaceWidget::reloadPage ( )
slot

Load start page.

void desiteCoreGui::DataBaseWebInterfaceWidget::resetSuffixList ( )
slot

Handle links by calling desktop services.

void desiteCoreGui::DataBaseWebInterfaceWidget::savePicture ( )
slot

Open file dialog and save current view as screenshot.

void desiteCoreGui::DataBaseWebInterfaceWidget::setFooterVisible ( bool  visible)
slot
Since
1.3.7, 01 may 2014, jh
void desiteCoreGui::DataBaseWebInterfaceWidget::setHeaderVisible ( bool  visible)
slot
Since
1.3.7, 01 may 2014, jh
void desiteCoreGui::DataBaseWebInterfaceWidget::setImmediateUpdate ( bool  )
slot

Set 'Immediate Update'-flag. If this flag is set to true, the database values in this widget is updated immediately after every change of the selction in the 3D-model.

Since
10 mar 2017, 2.0.10, jh
void desiteCoreGui::DataBaseWebInterfaceWidget::setOrientation ( int  orientation)
slot

Portrait 0 the page's height is greater than its width. Landscape 1 the page's width is greater than its height.

void desiteCoreGui::DataBaseWebInterfaceWidget::setPageMargins ( double  L,
double  R,
double  T,
double  B 
)
slot

set page margins in mm.

Left, Right, Top, Bottom

void desiteCoreGui::DataBaseWebInterfaceWidget::setPaperSize ( int  paperSize)
slot

Set paper size. These values are available

A0 5 841 x 1189 mm
A1 6 594 x 841 mm
A2 7 420 x 594 mm
A3 8 297 x 420 mm
A4 0 210 x 297 mm, 8.26 x 11.69 inches
A5 9 148 x 210 mm
A6 10 105 x 148 mm
A7 11 74 x 105 mm
A8 12 52 x 74 mm
A9 13 37 x 52 mm
B0 14 1000 x 1414 mm
B1 15 707 x 1000 mm
B2 17 500 x 707 mm
B3 18 353 x 500 mm
B4 19 250 x 353 mm
B5 1 176 x 250 mm, 6.93 x 9.84 inches
B6 20 125 x 176 mm
B7 21 88 x 125 mm
B8 22 62 x 88 mm
B9 23 33 x 62 mm
B10 16 31 x 44 mm
C5E 24 163 x 229 mm
Comm10E 25 105 x 241 mm, U.S. Common 10 Envelope
DLE 26 110 x 220 mm
Executive 4 7.5 x 10 inches, 190.5 x 254 mm
Folio 27 210 x 330 mm
Ledger 28 431.8 x 279.4 mm
3 8.5 x 14 inches, 215.9 x 355.6 mm
Letter 2 8.5 x 11 inches, 215.9 x 279.4 mm
Tabloid 29 279.4 x 431.8 mm
Custom 30 Unknown, or a user defined size.
Since
1.3.0, 15 nov 2013, jh
void desiteCoreGui::DataBaseWebInterfaceWidget::showConsole ( bool  )
slot

Show/hide debug console.

void desiteCoreGui::DataBaseWebInterfaceWidget::showProgress ( QVariantMap  v)
slot

Show/hide progress widget.

Parameters
vConfig as JSON

Config:

{
text: true,
bar: true,
label: true,
title: "Write data"
}
Since
1.4.11
void desiteCoreGui::DataBaseWebInterfaceWidget::showProgressMessageConsole ( QString  v)
slot

Print to console.

void desiteCoreGui::DataBaseWebInterfaceWidget::showProgressValue ( double  v)
slot

Value [0,1]


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

Created: Mon Dec 11 2017 05:07:34