21 #include <QPlainTextEdit>
37 #define DEV_BJT 0x0001
38 #define DEV_MOS 0x0002
39 #define DEV_MASK_DEV 0x00FF
40 #define DEV_DIG 0x0100
41 #define DEV_ANA 0x0200
42 #define DEV_ALL 0x0300
43 #define DEV_MASK_TYP 0xFF00
44 #define DEV_DEF 0x0200 // default value
void slotCursorPosChanged()
TextDoc::slotCursorPosChanged update status bar with line:column.
int save()
TextDoc::save saves the current document and it settings.
void becomeCurrent(bool)
TextDoc::becomeCurrent sets text document as current.
~TextDoc()
TextDoc::~TextDoc Text document destructor.
float zoomBy(float)
TextDoc::zoomBy increases/decreases the text font size.
bool saveSettings(void)
TextDoc::saveSettings saves the text document settings .cfg.
void setLanguage(int)
TextDoc::setLanguage(int)
QString getModuleName(void)
TextDoc::getModuleName parse the module name ou of the text file contents.
bool loadSimulationTime(QString &)
TextDoc::loadSimulationTime set SimTime member variable.
bool load()
TextDoc::load loads a text document.
SyntaxHighlighter * syntaxHighlight
bool loadSettings(void)
TextDoc::loadSettings loads the text document settings.
void slotSetChanged()
TextDoc::slotSetChanged togles tab icon to indicate unsaved changes.
void refreshLanguage(void)
TextDoc(QucsApp *, const QString &)
TextDoc::TextDoc Text document constructor.
void setName(const QString &)
TextDoc::setName sets the text file name on its tab.
void insertSkeleton()
TextDoc::insertSkeleton adds a basic skeleton for type of text file.
The TextDoc class definition.
void commentSelected()
TextDoc::commentSelected toggles the comment of selected text See also QucsApp::slotEditActivate.
void showNoZoom()
TextDoc::showNoZoom resets the font scaling.
void highlightCurrentLine()
TextDoc::highlightCurrentLine mark the current line.
QMenu * createStandardContextMenu(const QPoint &)
TextDoc::createStandardContextMenu creates the standard context menu.
const char * smallsave_xpm[]