The StyleEditor class allows the user to directly edit a style sheet.
Publicly inherits QWidget, StyleSheetReceiver.
StyleEditor | ( QWidget* parent=???, const char* name=??? ); | |
void | styleSheet | ( StyleSheet* styleSheet ); |
~StyleEditor | ( ); |
void | displayActivated | ( int index ); |
bool | fileClose | ( ); |
void | fileDismiss | ( ); |
void | fileNew | ( ); |
void | fileOpen | ( ); |
bool | fileSave | ( ); |
bool | fileSaveAs | ( ); |
void | sgmlAttrAdd | ( ); |
void | sgmlAttrDelete | ( ); |
void | sgmlAttrHighlighted | ( int index ); |
void | sgmlAttrUpdate | ( ); |
void | styleAdd | ( ); |
void | styleDelete | ( ); |
void | styleHighlighted | ( int index ); |
void | styleUpdate | ( ); |
void | closeEvent | ( QCloseEvent* e ); |
void | resizeEvent | ( QResizeEvent* e ); |
void | constrain | ( ); |
void | setFileName | ( const char* fileName ); |
void | setStyleSheet | ( StyleSheet* styleSheet ); |
QPushButton* | _addButton; |
QList<AttrInput> | _attrInputs; |
QLineEdit* | _attrNameEntry; |
QLineEdit* | _attrValueEntry; |
QPushButton* | _deleteButton; |
QComboBox* | _displayCombo; |
QLabel* | _displayLabel; |
QLabel* | _equalLabel; |
QPopupMenu* | _fileMenu; |
QString | _fileName; |
QLabel* | _fileNameLabel; |
QLabel* | _fileNameValue; |
int | _lastSgmlAttrIndex; |
QMenuBar* | _menu; |
bool | _modified; |
QPushButton* | _sgmlAttrAddButton; |
QPushButton* | _sgmlAttrDeleteButton; |
QPushButton* | _sgmlAttrUpdateButton; |
QGroupBox* | _sgmlAttrsGroup; |
SgmlAttrListBox* | _sgmlAttrsList; |
QWidget* | _styleAttrs; |
QGroupBox* | _styleAttrsGroup; |
ScrolledWindow* | _styleAttrsWindow; |
StyleListBox* | _styleList; |
QGroupBox* | _styleListGroup; |
QGroupBox* | _styleSelectorGroup; |
StyleSheet* | _styleSheet; |
QLineEdit* | _tagEntry; |
QLabel* | _tagLabel; |
QPushButton* | _updateButton; |
Create a new StyleEditor. Create a StyleNotebook as a child widget,
and connect it to my done() slot.
Reposition my widgets.