Version: 9.12.0
ToolsGUI_CatalogGeneratorDlg Class Reference

A dialog box which allows converting the IDL files to the XML description. More...

#include <ToolsGUI_CatalogGeneratorDlg.h>

Inheritance diagram for ToolsGUI_CatalogGeneratorDlg:
Inheritance graph

Public Member Functions

 ToolsGUI_CatalogGeneratorDlg (QWidget *parent=0)
 Constructor. More...
 
 ~ToolsGUI_CatalogGeneratorDlg ()
 Destructor. More...
 
QString getIdlPath ()
 Get IDL path of the modules. More...
 
QString getIdlFile ()
 Get IDL file name. More...
 
QString getXmlFile ()
 Get XML file name. More...
 
QString getPngFile ()
 Get module icon file name. More...
 
QString getAuthor ()
 Get author name. More...
 
QString getVersion ()
 Get version number. More...
 
QString getCompName ()
 Get component name. More...
 
QString getCompUserName ()
 Get component title (user name) More...
 
QString getCompType ()
 Get component type. More...
 
QString getCompMultiStd ()
 Get multistudy flag. More...
 

Protected Slots

void onBrowseBtnClicked ()
 Called when user presses "Browse" button. More...
 
void updateButtonState ()
 Update <OK> button's state. More...
 
void onApply ()
 Called when user presses <Apply> button. More...
 

Private Attributes

QLineEditmyIdlEdit
 
QLineEditmyXmlEdit
 
QLineEditmyPngEdit
 
QLineEditmyVersionEdit
 
QLineEditmyAuthorEdit
 
QLineEditmyCompName
 
QLineEditmyCompUserName
 
QLineEditmyCompType
 
QLineEditmyCompMultiStd
 
QPushButton * myBrowseIdlBtn
 
QPushButton * myBrowseXmlBtn
 
QPushButton * myBrowsePngBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCloseBtn
 

Detailed Description

A dialog box which allows converting the IDL files to the XML description.

Constructor & Destructor Documentation

◆ ToolsGUI_CatalogGeneratorDlg()

ToolsGUI_CatalogGeneratorDlg::ToolsGUI_CatalogGeneratorDlg ( QWidget parent = 0)

◆ ~ToolsGUI_CatalogGeneratorDlg()

ToolsGUI_CatalogGeneratorDlg::~ToolsGUI_CatalogGeneratorDlg ( )

Destructor.

Member Function Documentation

◆ getAuthor()

QString ToolsGUI_CatalogGeneratorDlg::getAuthor ( )

Get author name.

Returns
author name entered by the user

References myAuthorEdit.

◆ getCompMultiStd()

QString ToolsGUI_CatalogGeneratorDlg::getCompMultiStd ( )

Get multistudy flag.

Returns
multistudy flag for the component entered by the user

References myCompMultiStd.

◆ getCompName()

QString ToolsGUI_CatalogGeneratorDlg::getCompName ( )

Get component name.

Returns
name of the component entered by the user

References myCompName.

◆ getCompType()

QString ToolsGUI_CatalogGeneratorDlg::getCompType ( )

Get component type.

Returns
type of the component entered by the user

References myCompType.

◆ getCompUserName()

QString ToolsGUI_CatalogGeneratorDlg::getCompUserName ( )

Get component title (user name)

Returns
title of the component entered by the user

References myCompUserName.

◆ getIdlFile()

QString ToolsGUI_CatalogGeneratorDlg::getIdlFile ( )

Get IDL file name.

Returns
IDL file name entered by the user

References myIdlEdit.

◆ getIdlPath()

QString ToolsGUI_CatalogGeneratorDlg::getIdlPath ( )

Get IDL path of the modules.

Returns
IDL path of modules

◆ getPngFile()

QString ToolsGUI_CatalogGeneratorDlg::getPngFile ( )

Get module icon file name.

Returns
icon file name entered by the user

References myPngEdit.

◆ getVersion()

QString ToolsGUI_CatalogGeneratorDlg::getVersion ( )

Get version number.

Returns
version number entered by the user

References myVersionEdit.

◆ getXmlFile()

QString ToolsGUI_CatalogGeneratorDlg::getXmlFile ( )

Get XML file name.

Returns
XML file name entered by the user

References myXmlEdit.

◆ onApply

void ToolsGUI_CatalogGeneratorDlg::onApply ( )
protectedslot

Called when user presses <Apply> button.

Performs IDL to XML file conversion using runIDLparser SALOME utility.

References SUIT_MessageBox::critical(), getAuthor(), getCompMultiStd(), getCompName(), getCompType(), getCompUserName(), Qtx::getenv(), getIdlFile(), getIdlPath(), getPngFile(), getVersion(), and getXmlFile().

◆ onBrowseBtnClicked

void ToolsGUI_CatalogGeneratorDlg::onBrowseBtnClicked ( )
protectedslot

◆ updateButtonState

void ToolsGUI_CatalogGeneratorDlg::updateButtonState ( )
protectedslot

Update <OK> button's state.

References myApplyBtn, myIdlEdit, and myXmlEdit.

Member Data Documentation

◆ myApplyBtn

QPushButton* ToolsGUI_CatalogGeneratorDlg::myApplyBtn
private

◆ myAuthorEdit

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myAuthorEdit
private

◆ myBrowseIdlBtn

QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowseIdlBtn
private

◆ myBrowsePngBtn

QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowsePngBtn
private

◆ myBrowseXmlBtn

QPushButton* ToolsGUI_CatalogGeneratorDlg::myBrowseXmlBtn
private

◆ myCloseBtn

QPushButton* ToolsGUI_CatalogGeneratorDlg::myCloseBtn
private

◆ myCompMultiStd

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompMultiStd
private

◆ myCompName

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompName
private

◆ myCompType

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompType
private

◆ myCompUserName

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myCompUserName
private

◆ myIdlEdit

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myIdlEdit
private

◆ myPngEdit

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myPngEdit
private

◆ myVersionEdit

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myVersionEdit
private

◆ myXmlEdit

QLineEdit* ToolsGUI_CatalogGeneratorDlg::myXmlEdit
private

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