Definition at line 79 of file asn1browser.h.
Id's of menu commands.
cmdOpen | Open an ASN.1 file. |
cmdConfig | Set browser configuration. |
cmdCreDes | Create ASN.1 tag definitions. |
Definition at line 84 of file asn1browser.h.
OSB_GUI::Asn1Browser::Asn1Browser | ( | AdminType | type, | |
QWidget * | parent, | |||
const char * | name = 0 , |
|||
WFlags | flags = 0 | |||
) |
Constructor with type of administraction widget and Qt arguments.
OSB_GUI::Asn1Browser::~Asn1Browser | ( | ) |
Destructor: delete allocated resources.
OSB_GUI::Asn1Browser::Asn1Browser | ( | const Asn1Browser & | ) | [private] |
Prevent copying: not implemented.
void OSB_GUI::Asn1Browser::clearMenuAccels | ( | ) | [virtual] |
Clear any accelerators of the administration widget's popup menu.
This function is needed because any accelerators of the adminstratiion widget's menu are active even if the popup menu is not in the menu bar of the main window.
Implements OSB_GUI::AdminWidget.
bool OSB_GUI::Asn1Browser::cntRecords | ( | ) | [private] |
Count the ASN.1 records in the input file.
bool OSB_GUI::Asn1Browser::getAsn1Defs | ( | OSB_LIB::Asn1InputInfo & | dest, | |
bool | allRecords | |||
) | [private] |
Get ASN.1 tag definitions.
bool OSB_GUI::Asn1Browser::getConfig | ( | bool | showRecord | ) | [slot] |
Get browsing options.
showRecord | Flag to show the current record. |
bool OSB_GUI::Asn1Browser::getRecord | ( | size_t | recNum, | |
OSB_LIB::Asn1Info & | dest | |||
) | [private] |
Get an ASN.1 record.
recNum | Record number to retrieve (1 for the first record). | |
dest | Info buffer to populate. |
void OSB_GUI::Asn1Browser::languageChange | ( | ) | [virtual, slot] |
QPopupMenu* OSB_GUI::Asn1Browser::menu | ( | ) | [virtual] |
The popup menu of the administration widget.
If the administration window does not use a menu the function returns 0.
Else the admin widget should install the accelerators for the popup menu.
Implements OSB_GUI::AdminWidget.
void OSB_GUI::Asn1Browser::menuEvent | ( | int | cmd | ) | [slot] |
Handle commands from menu_.
std::string OSB_GUI::Asn1Browser::menuTitle | ( | ) | const [virtual] |
Title of the administration wiget's menu.
The returned string is empty if does not support a menu, i.e., menu() returns 0.
Implements OSB_GUI::AdminWidget.
void OSB_GUI::Asn1Browser::mkAsn1Des | ( | ) |
Create ASN.1 definitions from currenct record.
void OSB_GUI::Asn1Browser::open | ( | ) | [slot] |
Open an ASN.1 file.
OSB_LIB::Guard OSB_GUI::Asn1Browser::openFile | ( | ) | [private] |
Open the input file.
Asn1Browser& OSB_GUI::Asn1Browser::operator= | ( | const Asn1Browser & | ) | [private] |
Prevent assignment: not implemented.
bool OSB_GUI::Asn1Browser::saveAsn1Defs | ( | const OSB_LIB::Asn1InputInfo & | dest | ) | [private] |
Save ASN.1 tag definitions.
void OSB_GUI::Asn1Browser::setNesting | ( | int | level | ) | [slot] |
Nesting level was changed.
void OSB_GUI::Asn1Browser::showCurRecord | ( | ) | [slot] |
Show record number as set in sbRecNum_.
Asn1BrowserCfg* OSB_GUI::Asn1Browser::config_ [private] |
size_t OSB_GUI::Asn1Browser::filePos_ [private] |
std::string OSB_GUI::Asn1Browser::inputPath_ [private] |
QVBoxLayout* OSB_GUI::Asn1Browser::layout_ [private] |
QFrame* OSB_GUI::Asn1Browser::linePb_ [private] |
QHBoxLayout* OSB_GUI::Asn1Browser::loPb_ [private] |
LvAsn1* OSB_GUI::Asn1Browser::lvAsn1_ [private] |
QPopupMenu* OSB_GUI::Asn1Browser::menu_ [private] |
size_t OSB_GUI::Asn1Browser::numRecs_ [private] |
OSB_LIB::Asn1Reader* OSB_GUI::Asn1Browser::reader_ [private] |
QSpinBox* OSB_GUI::Asn1Browser::sbNesting_ [private] |
QSpinBox* OSB_GUI::Asn1Browser::sbRecNum_ [private] |
QSpacerItem* OSB_GUI::Asn1Browser::spPb_ [private] |
QLabel* OSB_GUI::Asn1Browser::tlInfo_ [private] |
QLabel* OSB_GUI::Asn1Browser::tlNesting_ [private] |