A dialog box which allows converting the IDL files to the XML description.
#include <ToolsGUI_CatalogGeneratorDlg.h>
ToolsGUI_CatalogGeneratorDlg::ToolsGUI_CatalogGeneratorDlg |
( |
QWidget * |
parent = 0 | ) |
|
- Parameters
-
References MARGIN_SIZE, MIN_EDIT_SIZE, myApplyBtn, myAuthorEdit, myBrowseIdlBtn, myBrowsePngBtn, myBrowseXmlBtn, myCloseBtn, myCompMultiStd, myCompName, myCompType, myCompUserName, myIdlEdit, myPngEdit, myVersionEdit, myXmlEdit, onApply(), onBrowseBtnClicked(), SPACING_SIZE, and updateButtonState().
ToolsGUI_CatalogGeneratorDlg::~ToolsGUI_CatalogGeneratorDlg |
( |
| ) |
|
QString ToolsGUI_CatalogGeneratorDlg::getAuthor |
( |
| ) |
|
- Returns
- author name entered by the user
References myAuthorEdit.
QString ToolsGUI_CatalogGeneratorDlg::getCompMultiStd |
( |
| ) |
|
- Returns
- multistudy flag for the component entered by the user
References myCompMultiStd.
QString ToolsGUI_CatalogGeneratorDlg::getCompName |
( |
| ) |
|
- Returns
- name of the component entered by the user
References myCompName.
QString ToolsGUI_CatalogGeneratorDlg::getCompType |
( |
| ) |
|
- Returns
- type of the component entered by the user
References myCompType.
QString ToolsGUI_CatalogGeneratorDlg::getCompUserName |
( |
| ) |
|
- Returns
- title of the component entered by the user
References myCompUserName.
QString ToolsGUI_CatalogGeneratorDlg::getIdlFile |
( |
| ) |
|
- Returns
- IDL file name entered by the user
References myIdlEdit.
QString ToolsGUI_CatalogGeneratorDlg::getIdlPath |
( |
| ) |
|
- Returns
- IDL path of modules
QString ToolsGUI_CatalogGeneratorDlg::getPngFile |
( |
| ) |
|
- Returns
- icon file name entered by the user
References myPngEdit.
QString ToolsGUI_CatalogGeneratorDlg::getVersion |
( |
| ) |
|
- Returns
- version number entered by the user
References myVersionEdit.
QString ToolsGUI_CatalogGeneratorDlg::getXmlFile |
( |
| ) |
|
- Returns
- XML file name entered by the user
References myXmlEdit.
void ToolsGUI_CatalogGeneratorDlg::onApply |
( |
| ) |
|
|
protectedslot |
Performs IDL to XML file conversion using runIDLparser
SALOME utility.
References SUIT_MessageBox::critical(), getAuthor(), getCompMultiStd(), getCompName(), getCompType(), getCompUserName(), getIdlFile(), getIdlPath(), getPngFile(), getVersion(), and getXmlFile().
void ToolsGUI_CatalogGeneratorDlg::onBrowseBtnClicked |
( |
| ) |
|
|
protectedslot |
References SUIT_Session::activeApplication(), app, SUIT_Application::getFileName(), myBrowseIdlBtn, myBrowsePngBtn, myBrowseXmlBtn, myIdlEdit, myPngEdit, myXmlEdit, SUIT_Session::session(), and updateButtonState().
void ToolsGUI_CatalogGeneratorDlg::updateButtonState |
( |
| ) |
|
|
protectedslot |
QPushButton* ToolsGUI_CatalogGeneratorDlg::myApplyBtn |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myAuthorEdit |
|
private |
QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowseIdlBtn |
|
private |
QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowsePngBtn |
|
private |
QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowseXmlBtn |
|
private |
QPushButton* ToolsGUI_CatalogGeneratorDlg::myCloseBtn |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompMultiStd |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompName |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompType |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompUserName |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myIdlEdit |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myPngEdit |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myVersionEdit |
|
private |
QLineEdit* ToolsGUI_CatalogGeneratorDlg::myXmlEdit |
|
private |
The documentation for this class was generated from the following files: