A dialog box which allows converting the IDL files to the XML description. More...
#include <ToolsGUI_CatalogGeneratorDlg.h>
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 | |
QLineEdit * | myIdlEdit |
QLineEdit * | myXmlEdit |
QLineEdit * | myPngEdit |
QLineEdit * | myVersionEdit |
QLineEdit * | myAuthorEdit |
QLineEdit * | myCompName |
QLineEdit * | myCompUserName |
QLineEdit * | myCompType |
QLineEdit * | myCompMultiStd |
QPushButton * | myBrowseIdlBtn |
QPushButton * | myBrowseXmlBtn |
QPushButton * | myBrowsePngBtn |
QPushButton * | myApplyBtn |
QPushButton * | myCloseBtn |
A dialog box which allows converting the IDL files to the XML description.
ToolsGUI_CatalogGeneratorDlg::ToolsGUI_CatalogGeneratorDlg | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | parent widget |
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 | ( | ) |
Destructor.
QString ToolsGUI_CatalogGeneratorDlg::getAuthor | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getCompMultiStd | ( | ) |
Get multistudy flag.
References myCompMultiStd.
QString ToolsGUI_CatalogGeneratorDlg::getCompName | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getCompType | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getCompUserName | ( | ) |
Get component title (user name)
References myCompUserName.
QString ToolsGUI_CatalogGeneratorDlg::getIdlFile | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getIdlPath | ( | ) |
Get IDL path of the modules.
QString ToolsGUI_CatalogGeneratorDlg::getPngFile | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getVersion | ( | ) |
QString ToolsGUI_CatalogGeneratorDlg::getXmlFile | ( | ) |
|
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().
|
protectedslot |
Called when user presses "Browse" button.
References SUIT_Session::activeApplication(), SUIT_Application::getFileName(), myBrowseIdlBtn, myBrowsePngBtn, myBrowseXmlBtn, myIdlEdit, myPngEdit, myXmlEdit, SUIT_Session::session(), and updateButtonState().
|
protectedslot |
Update <OK> button's state.
References myApplyBtn, myIdlEdit, and myXmlEdit.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |