Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ToolsGUI_CatalogGeneratorDlg Class Reference

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

#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
 

Constructor & Destructor Documentation

ToolsGUI_CatalogGeneratorDlg::~ToolsGUI_CatalogGeneratorDlg ( )

Member Function Documentation

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::updateButtonState ( )
protectedslot

References myApplyBtn, myIdlEdit, and myXmlEdit.

Member Data Documentation

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: