Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

CUTE Class Reference

#include <cute.h>

List of all members.

Public Slots

void statusCallback (int id_)
void slotFileNew ()
void slotFileOpen ()
void slotFileReopen ()
void slotFileChangeWorkingDir ()
void slotFileSave ()
void slotFileSaveAs ()
void slotFileSaveAll ()
void slotFileClose ()
void slotFileLoadTagsFile ()
void slotFileUnloadTagsFile ()
void slotFilePrint ()
void slotFileQuit ()
void slotEditGotoMatchingBrace ()
void slotEditSelectToMatchingBrace ()
void slotEditUndo ()
void slotEditRedo ()
void slotEditCut ()
void slotEditCopy ()
void slotEditPaste ()
void slotEditDelete ()
void slotEditIndent ()
void slotEditUnindent ()
void slotEditSelectAll ()
void slotEditInsertCommand ()
void slotEditFilter ()
void slotEditBlockComment ()
void slotEditStreamComment ()
void slotSearchFind ()
void slotSearchFindNext ()
void slotSearchFindPrevious ()
void slotSearchFindInFiles ()
void slotSearchReplace ()
void slotSearchGoto ()
void slotSearchFindTag ()
void slotSearchFindNextTag ()
void slotSearchFindPreviousTag ()
void slotSearchToggleBookmark ()
void slotSearchNextBookmark ()
void slotSearchPrevBookmark ()
void slotSearchRenameBookmark ()
void slotViewToggleCurrentFold ()
void slotViewToggleAllFolds ()
void slotViewWrapLines ()
void slotViewBraceMatch ()
void slotViewToolBar ()
void slotViewCmdToolBar ()
void slotViewStatusBar ()
void slotViewTaskBar ()
void slotViewShowDirView ()
void slotViewShowMessages ()
void slotViewShowStdout ()
void slotViewShowStderr ()
void slotViewShowShell ()
void slotViewShowSearch ()
void slotViewFullScreen ()
void slotViewLineNumbers ()
void slotViewWhiteSpaces ()
void slotViewMargin ()
void slotViewFoldMargin ()
void slotViewZoomIn ()
void slotViewZoomOut ()
void slotToolsCompile ()
void slotToolsBuild ()
void slotToolsGo ()
void slotToolsKill ()
void slotToolsNextMessage ()
void slotToolsPrevMessage ()
void slotOptSettings ()
void slotOptShortcuts ()
void slotOptAutoIndent ()
void slotOptEditConfigFile ()
void slotOptShowCutercFile ()
void slotOptQtConfig ()
void slotExtraRunScript ()
void slotExtraRunCurrentFile ()
void slotExtraRunPythonString ()
void slotExtraEvalSelection ()
void slotExtraSaveSession ()
void slotExtraLoadSession ()
void slotExtraCloseSession ()
void slotExtraStartMacroRecording ()
void slotExtraStopMacroRecording ()
void slotExtraRunMacro ()
void slotExtraLoadMacro ()
void slotExtraSaveMacro ()
void slotExtraBuildTagsFile ()
void slotWindowsDialog ()
void slotHelpHandbook ()
void slotHelpAbout ()
void slotHelpLicense ()
void slotHelpAboutQt ()
void slotStatusHelpMsg (const QString &text)
virtual void switchToToplevelMode ()
virtual void switchToChildframeMode ()
void switchStyle (int item)
void switchLineFeed (int item)
void switchTab (int item)
void switchLang (int item)
void updateViews ()
void execCmd (QString cmd=QString::null)
void evalCmdParameter ()
void slotCursorPositionChanged (int line, int pos)
void slotEscapePressed ()
void slotUpdateBookmarksMenu ()
void slotGotoBookmark (int id)
void addRecentFile (QString file)
void configure ()
void slotClearAllOutputViews ()
void addTool (char *name, char *cute_command)
void updateEditActions ()

Public Methods

 CUTE ()
 ~CUTE ()
void initLangMenu ()
void initActions ()
void initEditActions ()
void initMenuBar ()
void initToolBar ()
void initStatusBar ()
void initDoc ()
void initView ()
bool loadFile (const QString &, bool recentFile=false)
bool queryExit ()
void addBookmark (Bookmark *bm)
void addBookmark (std::string file, int line)
void deleteBookmark ()
void printOutput (std::string str)
void clearOutput ()
void setSession (const char *str)
void saveSession ()
void loadSession (QString file)
void filter (QString cmd)
void insertCommand (QString cmd)

Protected Slots

void readStdout ()
void readStderr ()
void slotProcessExited ()

Protected Methods

void addQExtMDIFrame (QWidget *pNewView, int flags)
void resizeEvent (QResizeEvent *)
void showEvent (QShowEvent *e)
void closeEvent (QCloseEvent *e)
QPopupMenu * createLangConfigFileMenu ()


Detailed Description

This Class is the base class for your application. It sets up the main window and providing a menubar, toolbar and statusbar. For the main view, an instance of class CUTE is created which creates your view.


Constructor & Destructor Documentation

CUTE::CUTE  
 

construtor

CUTE::~CUTE  
 

destructor


Member Function Documentation

void CUTE::addBookmark std::string    file,
int    line
 

adds a bookmark to menu in file at line

void CUTE::addBookmark Bookmark   bm
 

adds a bookmark and an entry to the menu

void CUTE::addQExtMDIFrame QWidget *    pNewView,
int    flags
[protected]
 

add widget to MDI

void CUTE::addRecentFile QString    file [slot]
 

add a entry in the recent document menu

void CUTE::addTool char *    name,
char *    cute_command
[slot]
 

adds item to tools menu

void CUTE::clearOutput  
 

clears output view

void CUTE::closeEvent QCloseEvent *    e [protected]
 

handle close event

void CUTE::configure   [slot]
 

sets all configurations

QPopupMenu* CUTE::createLangConfigFileMenu   [protected]
 

creates menu with language config file entries

void CUTE::deleteBookmark  
 

deletes all invalid bookmark menu entries

void CUTE::evalCmdParameter   [slot]
 

evaluates the command parameter and maybe loads some f

void CUTE::execCmd QString    cmd = QString::null [slot]
 

executes a command from the command line

void CUTE::filter QString    cmd
 

filters selection with a shell command

void CUTE::initActions  
 

initialize all QActions for the tool and menubars

void CUTE::initDoc  
 

setup the document

void CUTE::initEditActions  
 

initalize all scintilla edit actions

void CUTE::initLangMenu  
 

initalizes all lexers

void CUTE::initMenuBar  
 

initMenuBar creates the menu_bar and inserts the menuitems

void CUTE::initStatusBar  
 

setup the statusbar

void CUTE::initToolBar  
 

this creates the toolbars. Change the toobar look and add new toolbars in this function

void CUTE::initView  
 

setup the mainview

void CUTE::insertCommand QString    cmd
 

insert output of a shell command at current cursor position

bool CUTE::loadFile const QString &   ,
bool    recentFile = false
 

loads a file

void CUTE::loadSession QString    file
 

loads all files in session and bookmarks etc...

void CUTE::printOutput std::string    str
 

writes string to output view

bool CUTE::queryExit  
 

overloaded for Message box on last window exit

void CUTE::readStderr   [protected, slot]
 

read from stderr of sub process

void CUTE::readStdout   [protected, slot]
 

read from stdout of sub process

void CUTE::resizeEvent QResizeEvent *    [protected]
 

just fits the system menu button position to the menu position

void CUTE::saveSession  
 

saves all names of loaded files bookmarks etc...

void CUTE::setSession const char *    str [inline]
 

sets the session`s file name

void CUTE::showEvent QShowEvent *    e [protected]
 

handle show event

void CUTE::slotClearAllOutputViews   [slot]
 

clears message, stdout and stderr view

void CUTE::slotCursorPositionChanged int    line,
int    pos
[slot]
 

changes the status bar

void CUTE::slotEditBlockComment   [slot]
 

block un/comment

void CUTE::slotEditCopy   [slot]
 

put the marked text/object into the clipboard

void CUTE::slotEditCut   [slot]
 

put the marked text/object into the clipboard and remove it from the document

void CUTE::slotEditDelete   [slot]
 

remove the marked text/object from the document

void CUTE::slotEditFilter   [slot]
 

filter selected text with a shell command

void CUTE::slotEditGotoMatchingBrace   [slot]
 

jums to the matching brace

void CUTE::slotEditIndent   [slot]
 

indents selected text

void CUTE::slotEditInsertCommand   [slot]
 

insert output of a shell command

void CUTE::slotEditPaste   [slot]
 

paste the clipboard into the document

void CUTE::slotEditRedo   [slot]
 

redo the last undone text operation

void CUTE::slotEditSelectAll   [slot]
 

select all

void CUTE::slotEditSelectToMatchingBrace   [slot]
 

selects to the matching brace

void CUTE::slotEditStreamComment   [slot]
 

stream un/comment

void CUTE::slotEditUndo   [slot]
 

undo the last text operation

void CUTE::slotEditUnindent   [slot]
 

unindents selected text

void CUTE::slotEscapePressed   [slot]
 

cmd line gets foces when escape is pressed

void CUTE::slotExtraBuildTagsFile   [slot]
 

builds ctags file of all sourcefiles in current dir

void CUTE::slotExtraCloseSession   [slot]
 

unloads all files of current session

void CUTE::slotExtraEvalSelection   [slot]
 

runs the selection with built-in python interpreter

void CUTE::slotExtraLoadMacro   [slot]
 

shows an open dialog and loads current macro

void CUTE::slotExtraLoadSession   [slot]
 

loads a session

void CUTE::slotExtraRunCurrentFile   [slot]
 

runs the current file

void CUTE::slotExtraRunMacro   [slot]
 

runs recorded macro

void CUTE::slotExtraRunPythonString   [slot]
 

runs a python command

void CUTE::slotExtraRunScript   [slot]
 

runs a CUTE/Python script

void CUTE::slotExtraSaveMacro   [slot]
 

shows an save dialog and saves current macro

void CUTE::slotExtraSaveSession   [slot]
 

saves the current session in a CUTE/python script

void CUTE::slotExtraStartMacroRecording   [slot]
 

starts macro recording

void CUTE::slotExtraStopMacroRecording   [slot]
 

stops macro recording

void CUTE::slotFileChangeWorkingDir   [slot]
 

change working dir

void CUTE::slotFileClose   [slot]
 

close the actual file

void CUTE::slotFileLoadTagsFile   [slot]
 

loads tag file

void CUTE::slotFileNew   [slot]
 

generate a new document in the actual view

void CUTE::slotFileOpen   [slot]
 

open a document

void CUTE::slotFilePrint   [slot]
 

print the actual file

void CUTE::slotFileQuit   [slot]
 

exits the application

void CUTE::slotFileReopen   [slot]
 

reopens a file

void CUTE::slotFileSave   [slot]
 

save a document

void CUTE::slotFileSaveAll   [slot]
 

Saves all loaded documents

void CUTE::slotFileSaveAs   [slot]
 

save a document under a different filename

void CUTE::slotFileUnloadTagsFile   [slot]
 

unloads tag file

void CUTE::slotGotoBookmark int    id [slot]
 

jumps to selected bookmark

void CUTE::slotHelpAbout   [slot]
 

shows an about dlg

void CUTE::slotHelpAboutQt   [slot]
 

shows the about Qt dlg

void CUTE::slotHelpHandbook   [slot]
 

show online documentation

void CUTE::slotHelpLicense   [slot]
 

shows the license dlg

void CUTE::slotOptAutoIndent   [slot]
 

auto indent

void CUTE::slotOptEditConfigFile   [slot]
 

opens the config file

void CUTE::slotOptQtConfig   [slot]
 

executes qtconfig

void CUTE::slotOptSettings   [slot]
 

shows settings dialog

void CUTE::slotOptShortcuts   [slot]
 

show shortcut dialog

void CUTE::slotOptShowCutercFile   [slot]
 

shows read-only ~/.cuterc file

void CUTE::slotProcessExited   [protected, slot]
 

calle when sub process exited

void CUTE::slotSearchFind   [slot]
 

shows the find dialog

void CUTE::slotSearchFindInFiles   [slot]
 

searches a string in each file of a directory

void CUTE::slotSearchFindNext   [slot]
 

redo the last find operation

void CUTE::slotSearchFindNextTag   [slot]
 

jumps to next tag position

void CUTE::slotSearchFindPrevious   [slot]
 

finds the previous matching

void CUTE::slotSearchFindPreviousTag   [slot]
 

jumps back to previous tag position

void CUTE::slotSearchFindTag   [slot]
 

finds selected tag(s)

void CUTE::slotSearchGoto   [slot]
 

go to the given line

void CUTE::slotSearchNextBookmark   [slot]
 

find next bookmark

void CUTE::slotSearchPrevBookmark   [slot]
 

find previous bookmark

void CUTE::slotSearchRenameBookmark   [slot]
 

renames the bookmark at the current line

void CUTE::slotSearchReplace   [slot]
 

replaces all matching string

void CUTE::slotSearchToggleBookmark   [slot]
 

toggle a bookmark at the current line

void CUTE::slotStatusHelpMsg const QString &    text [slot]
 

change the status message of the whole statusbar temporary

void CUTE::slotToolsBuild   [slot]
 

run makefile

void CUTE::slotToolsCompile   [slot]
 

compile current file

void CUTE::slotToolsGo   [slot]
 

run the application

void CUTE::slotToolsKill   [slot]
 

kills the current process

void CUTE::slotToolsNextMessage   [slot]
 

jumps to next message

void CUTE::slotToolsPrevMessage   [slot]
 

jumps to previous message

void CUTE::slotUpdateBookmarksMenu   [slot]
 

creates the bookmark menu

void CUTE::slotViewBraceMatch   [slot]
 

brace match

void CUTE::slotViewCmdToolBar   [slot]
 

toggle the toolbar

void CUTE::slotViewFoldMargin   [slot]
 

toggle fold margin

void CUTE::slotViewFullScreen   [slot]
 

toggle full screen mode

void CUTE::slotViewLineNumbers   [slot]
 

toggle line numbers

void CUTE::slotViewMargin   [slot]
 

toggle margin

void CUTE::slotViewShowDirView   [slot]
 

show file browser docklet

void CUTE::slotViewShowMessages   [slot]
 

show program output docklet

void CUTE::slotViewShowSearch   [slot]
 

show search docklet

void CUTE::slotViewShowShell   [slot]
 

show shell docklet

void CUTE::slotViewShowStderr   [slot]
 

show stderr docklet

void CUTE::slotViewShowStdout   [slot]
 

show stdout docklet

void CUTE::slotViewStatusBar   [slot]
 

toggle the statusbar

void CUTE::slotViewTaskBar   [slot]
 

toggle the taskbar

void CUTE::slotViewToggleAllFolds   [slot]
 

toggle all folds

void CUTE::slotViewToggleCurrentFold   [slot]
 

toggle current fold

void CUTE::slotViewToolBar   [slot]
 

toggle the toolbar

void CUTE::slotViewWhiteSpaces   [slot]
 

toggle white spaces

void CUTE::slotViewWrapLines   [slot]
 

wraps all lines

void CUTE::slotViewZoomIn   [slot]
 

zoom in

void CUTE::slotViewZoomOut   [slot]
 

zoom out

void CUTE::slotWindowsDialog   [slot]
 

shows the window Dialog

void CUTE::statusCallback int    id_ [slot]
 

switch argument for Statusbar help entries on slot selection

void CUTE::switchLang int    item [slot]
 

called when item in language menu is activated

void CUTE::switchLineFeed int    item [slot]
 

called when item in line feed menu is activated

void CUTE::switchStyle int    item [slot]
 

called when item in style menu is activated

void CUTE::switchTab int    item [slot]
 

called when item in tab menu is activated

virtual void CUTE::switchToChildframeMode   [virtual, slot]
 

docks all view windows (Windows-like)

virtual void CUTE::switchToToplevelMode   [virtual, slot]
 

undocks all view windows (unix-like)

void CUTE::updateEditActions   [slot]
 

updates all shortcuts in views

void CUTE::updateViews   [slot]
 

Update all windows in order to apply config changes


The documentation for this class was generated from the following file:
Generated on Wed Sep 10 03:46:24 2003 by doxygen1.2.18