Changeset 2217
- Timestamp:
- 08/06/08 18:15:31 (4 months ago)
- Location:
- v2/branches/dev
- Files:
-
- 10 modified
-
monkey/src/consolemanager/pCommandParser.cpp (modified) (1 diff)
-
monkey/src/consolemanager/pConsoleManager.cpp (modified) (3 diffs)
-
monkey/src/consolemanager/pConsoleManager.h (modified) (1 diff)
-
plugins/base/MessageBox/src/MessageBox.cpp (modified) (5 diffs)
-
plugins/base/MessageBox/src/MessageBox.h (modified) (3 diffs)
-
plugins/base/MessageBox/src/ui/MessageBoxDocks.cpp (modified) (23 diffs)
-
plugins/base/MessageBox/src/ui/MessageBoxDocks.h (modified) (6 diffs)
-
plugins/base/MessageBox/src/ui/UIMessageBoxSettings.cpp (modified) (4 diffs)
-
plugins/base/MessageBox/src/ui/UIMessageBoxSettings.h (modified) (2 diffs)
-
plugins/base/Navigator/src/Navigator.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
v2/branches/dev/monkey/src/consolemanager/pCommandParser.cpp
r2204 r2217 125 125 \param rex Already matched regular expression (searching of a pattern 126 126 should be called before this function) 127 \param s String, which contains %d (where d is number) patterns. 128 Patterns will be replaced with according submatch of string 127 129 \return Resulting string 128 130 */ -
v2/branches/dev/monkey/src/consolemanager/pConsoleManager.cpp
r2215 r2217 2 2 ** 3 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com> 5 5 ** Project : Monkey Studio IDE 6 6 ** FileName : pConsoleManager.cpp … … 30 30 \file pConsoleManager.cpp 31 31 \date 2008-01-14T00:36:50 32 \author Filipe AZEVEDO aka Nox P @sNox <pasnox@gmail.com>32 \author Filipe AZEVEDO aka Nox PasNox <pasnox@gmail.com> 33 33 \brief Implementation of pConsoleManager class 34 34 */ … … 129 129 /*! 130 130 Remove parser to list of available parsers (which could be used for some commands) 131 \param pName of parser131 \param s Name of parser 132 132 */ 133 133 void pConsoleManager::removeParser( const QString& s ) -
v2/branches/dev/monkey/src/consolemanager/pConsoleManager.h
r2215 r2217 30 30 \file pConsoleManager.h 31 31 \date 2008-01-14T00:36:50 32 \author Filipe AZEVEDO aka Nox P @sNox <pasnox@gmail.com>32 \author Filipe AZEVEDO aka Nox PasNox <pasnox@gmail.com> 33 33 \brief Header of pConsoleManager class 34 34 */ -
v2/branches/dev/plugins/base/MessageBox/src/MessageBox.cpp
r2117 r2217 27 27 ** 28 28 ****************************************************************************/ 29 /*! 30 \file MessageBox.cpp 31 \date 2008-01-14T00:40:08 32 \author Andrei Kopats 33 \brief implementation of main class of MessageBox plugin 34 */ 29 35 #include "MessageBox.h" 30 36 #include "ui/MessageBoxDocks.h" … … 38 44 #include <QTabWidget> 39 45 46 /*! 47 Constructor of class 48 */ 40 49 MessageBox::MessageBox() 41 50 { … … 51 60 } 52 61 62 /*! 63 Destructor of class. Uninstalls plugin from IDE 64 */ 53 65 MessageBox::~MessageBox() 54 66 { … … 57 69 } 58 70 71 /*! 72 Enable/disable plugin 73 74 If plugin is enabled - it visible on main window and it's actions are in 75 the main menu 76 \param b Flag. Enable = true, Disable = false 77 \return Status of process 78 \retval true Successfully enabled 79 \retval false Some error ocurred 80 */ 59 81 bool MessageBox::setEnabled( bool b ) 60 82 { … … 98 120 } 99 121 122 /*! 123 Get settings widget for configuring plugin 124 \return Pointer to widget 125 */ 100 126 QWidget* MessageBox::settingsWidget() 101 127 { return new UIMessageBoxSettings( this ); } -
v2/branches/dev/plugins/base/MessageBox/src/MessageBox.h
r2117 r2217 2 2 ** 3 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>, Andrei KOPATS aka hlamer, <hlamer at tut by> 5 5 ** Project : Monkey Studio Base Plugins 6 6 ** FileName : MessageBox.h … … 27 27 ** 28 28 ****************************************************************************/ 29 /*! 30 \file MessageBox.h 31 \date 2008-01-14T00:40:08 32 \author Filipe AZEVEDO, Andrei KOPATS 33 \brief Header file for MessageBox plugin 34 */ 29 35 #ifndef MESSAGEBOX_H 30 36 #define MESSAGEBOX_H … … 34 40 class MessageBoxDocks; 35 41 42 /*! 43 Main class of MessageBox plugin 44 45 Plugin displaying console output and build steps of current building project 46 */ 36 47 class MessageBox : public BasePlugin 37 48 { -
v2/branches/dev/plugins/base/MessageBox/src/ui/MessageBoxDocks.cpp
r2142 r2217 1 /**************************************************************************** 2 ** 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>, 5 ** Andrei KOPATS aka hlamer <hlamer at tut by> 6 ** 7 ** Project : Monkey Studio Base Plugins 8 ** FileName : MessageBoxDocs.cpp 9 ** Date : 2008-01-14T00:40:08 10 ** License : GPL 11 ** Comment : This header has been automatically generated, if you are the original author, or co-author, fill free to replace/append with your informations. 12 ** Home Page : http://www.monkeystudio.org 13 ** 14 Copyright (C) 2005 - 2008 Filipe AZEVEDO & The Monkey Studio Team 15 16 This program is free software; you can redistribute it and/or modify 17 it under the terms of the GNU General Public License as published by 18 the Free Software Foundation; either version 2 of the License, or 19 (at your option) any later version. 20 21 This program is distributed in the hope that it will be useful, 22 but WITHOUT ANY WARRANTY; without even the implied warranty of 23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 GNU General Public License for more details. 25 26 You should have received a copy of the GNU General Public License 27 along with this program; if not, write to the Free Software 28 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 ** 30 ****************************************************************************/ 31 /*! 32 \file MessageBoxDocks.cpp 33 \date 2008-01-14T00:40:08 34 \author Filipe AZEVEDO, Andrei KOPATS 35 \brief Implementation of MessageBoxDocks class 36 37 */ 38 1 39 #include "MessageBoxDocks.h" 2 40 … … 8 46 #include <xupmanager.h> 9 47 48 /*! 49 Constructor of class 50 51 Installs plugin to IDE, creates GUI, connects self to signals from sources 52 on informations. 53 54 \param parent Parent object 55 */ 10 56 MessageBoxDocks::MessageBoxDocks( QObject* parent ) 11 57 : QObject( parent ) … … 30 76 } 31 77 78 /*! 79 Destuctor of class 80 81 Deletes docks of Message Box 82 */ 32 83 MessageBoxDocks::~MessageBoxDocks() 33 84 { … … 38 89 } 39 90 91 /*! 92 Make text colored by adding HTML tags before and after text 93 94 \param s Source string 95 \param c Desired color 96 \return String, containing color tags at start and end 97 */ 40 98 QString MessageBoxDocks::colourText( const QString& s, const QColor& c ) 41 99 { return QString( "<font color=\"%1\">%2</font>" ).arg( c.name() ).arg( s ); } 42 100 101 /*! 102 Append text to Output dock 103 \param s Text to append 104 */ 43 105 void MessageBoxDocks::appendOutput( const QString& s ) 44 106 { … … 56 118 } 57 119 120 /*! 121 Append text to Commands dock 122 \param s Text to append 123 */ 58 124 void MessageBoxDocks::appendLog( const QString& s ) 59 125 { … … 71 137 } 72 138 139 /*! 140 Append text to Commands dock, which will be displayed in the box of stars 141 142 Example: 143 ******************************************************* 144 Here is your text 145 ******************************************************* 146 \param s String to append 147 \param c Color of string 148 */ 73 149 void MessageBoxDocks::appendInBox( const QString& s, const QColor& c ) 74 150 { … … 78 154 } 79 155 156 /*! 157 Append build step to Build Steps dock 158 \param s Build step to append 159 */ 80 160 void MessageBoxDocks::appendStep( const pConsoleManager::Step& s ) 81 161 { … … 183 263 } 184 264 265 /*! 266 Append search result to Search Results dock 267 268 Search result representing by same structure, as Build Step 269 \param s Search result to append 270 */ 185 271 void MessageBoxDocks::appendSearchResult( const pConsoleManager::Step& s ) 186 272 { … … 195 281 } 196 282 283 /*! 284 Show Build Steps dock 285 */ 197 286 void MessageBoxDocks::showBuild() 198 287 { … … 202 291 } 203 292 293 /*! 294 Show Output dock 295 */ 204 296 void MessageBoxDocks::showOutput() 205 297 { … … 209 301 } 210 302 303 /*! 304 Show Log dock 305 */ 211 306 void MessageBoxDocks::showLog() 212 307 { … … 216 311 } 217 312 313 /*! 314 Show Search Results dock 315 */ 218 316 void MessageBoxDocks::showSearchResults() 219 317 { … … 223 321 } 224 322 323 /*! 324 Show next error on Build Steps dock 325 */ 225 326 void MessageBoxDocks::showNextError() 226 327 { … … 239 340 } 240 341 342 /*! 343 Clear Search Results dock 344 */ 241 345 void MessageBoxDocks::clearSearchResults() 242 346 { … … 244 348 } 245 349 350 /*! 351 Handler of pressing on step in the Build Steps dock 352 353 Trying to open file/line according to step in the editor 354 If there are more than one file, which possible are target file, (same name, 355 but different path) - user will asked, which file should be opened 356 */ 246 357 void MessageBoxDocks::lwBuildSteps_itemPressed( QListWidgetItem* it ) 247 358 { … … 293 404 } 294 405 406 /*! 407 Handler of pressing on item in the Search Results dock 408 409 Opens file/line in the editor 410 \param it Item, which was pressed 411 */ 295 412 void MessageBoxDocks::lwSearchResults_itemPressed( QListWidgetItem* it ) 296 413 { … … 300 417 } 301 418 419 /*! 420 Handler of pressing return in the edit of Raw Command. Executes command 421 using console manager 422 */ 302 423 void MessageBoxDocks::cbRawCommand_returnPressed() 303 424 { … … 308 429 } 309 430 431 /*! 432 Handler of finishing command with error. Prints information about error 433 to Commands dock 434 \param c Command, which are finished 435 \param e Error type 436 */ 310 437 void MessageBoxDocks::commandError( const pCommand& c, QProcess::ProcessError e ) 311 438 { … … 342 469 } 343 470 471 /*! 472 Handler of finishing command 473 474 Prints information about exit status to Commands tab 475 \param c Finished command 476 \param exitCode Exit code of process 477 \param e Exit status of process 478 */ 344 479 void MessageBoxDocks::commandFinished( const pCommand& c, int exitCode, QProcess::ExitStatus e ) 345 480 { … … 369 504 } 370 505 506 /*! 507 Handler of Ready Read event from runned command. 508 509 Appends text, readed from process to Output dock 510 \param a Text in the QByteArray format 511 */ 371 512 void MessageBoxDocks::commandReadyRead( const pCommand&, const QByteArray& a ) 372 513 { … … 391 532 } 392 533 534 /*! 535 Handler of Command Started event 536 537 Prints information about start to Commands dock 538 \param c Command, which are started 539 */ 393 540 void MessageBoxDocks::commandStarted( const pCommand& c ) 394 541 { … … 406 553 } 407 554 555 /*! 556 Handler of State Changed event from executed process. 557 558 Prints information about change to Commands dock 559 \param c Command 560 \param s State of process 561 */ 408 562 void MessageBoxDocks::commandStateChanged( const pCommand& c, QProcess::ProcessState s ) 409 563 { … … 430 584 } 431 585 586 /*! 587 Handler of Command Skipped event. 588 589 Prints information to Commands dock 590 \param c Command, which was skipped 591 */ 432 592 void MessageBoxDocks::commandSkipped( const pCommand& c ) 433 593 { -
v2/branches/dev/plugins/base/MessageBox/src/ui/MessageBoxDocks.h
r2142 r2217 1 /**************************************************************************** 2 ** 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>, 5 ** Andrei KOPATS aka hlamer <hlamer at tut by> 6 ** 7 ** Project : Monkey Studio Base Plugins 8 ** FileName : MessageBoxDocs.h 9 ** Date : 2008-01-14T00:40:08 10 ** License : GPL 11 ** Comment : This header has been automatically generated, if you are the original author, or co-author, fill free to replace/append with your informations. 12 ** Home Page : http://www.monkeystudio.org 13 ** 14 Copyright (C) 2005 - 2008 Filipe AZEVEDO & The Monkey Studio Team 15 16 This program is free software; you can redistribute it and/or modify 17 it under the terms of the GNU General Public License as published by 18 the Free Software Foundation; either version 2 of the License, or 19 (at your option) any later version. 20 21 This program is distributed in the hope that it will be useful, 22 but WITHOUT ANY WARRANTY; without even the implied warranty of 23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 GNU General Public License for more details. 25 26 You should have received a copy of the GNU General Public License 27 along with this program; if not, write to the Free Software 28 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 ** 30 ****************************************************************************/ 31 /*! 32 \file MessageBoxDocks.h 33 \date 2008-01-14T00:40:08 34 \author Filipe AZEVEDO, Andrei KOPATS 35 \brief Header of MessageBoxDocks class 36 37 File also contains classes of tabs of Message Box 38 MessageBox 39 */ 40 1 41 #ifndef MESSAGEBOXDOCKS_H 2 42 #define MESSAGEBOXDOCKS_H … … 10 50 #include <consolemanager.h> 11 51 52 /*! 53 Implementation of Build Steps tab of Message box 54 */ 12 55 class UIBuildStep : public pDockWidget, public Ui::UIBuildStep 13 56 { … … 18 61 }; 19 62 63 /*! 64 Implementation of Output tab of Message box 65 */ 20 66 class UIOutput : public pDockWidget, public Ui::UIOutput 21 67 { … … 26 72 }; 27 73 74 /*! 75 Implementation of Commands tab of Message box 76 */ 28 77 class UICommand : public pDockWidget, public Ui::UICommand 29 78 { … … 34 83 }; 35 84 85 /*! 86 Implementation of Search Results tab of Message box 87 */ 36 88 class UISearchResult : public pDockWidget, public Ui::UISearchResult 37 89 { … … 42 94 }; 43 95 96 /*! 97 Implementation of GUI of MessageBox plugin 98 99 Manages tabs, implements functionality of plugin. Appends and removes 100 information from docks, according with signals from sources of information) 101 Allows to show some tab of message box 102 */ 44 103 class MessageBoxDocks : public QObject 45 104 { -
v2/branches/dev/plugins/base/MessageBox/src/ui/UIMessageBoxSettings.cpp
r2142 r2217 1 /**************************************************************************** 2 ** 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>, 5 ** 6 ** Project : Monkey Studio Base Plugins 7 ** FileName : UIMessageBoxSettings.h 8 ** Date : 2008-01-14T00:40:08 9 ** License : GPL 10 ** Comment : This header has been automatically generated, if you are the original author, or co-author, fill free to replace/append with your informations. 11 ** Home Page : http://www.monkeystudio.org 12 ** 13 Copyright (C) 2005 - 2008 Filipe AZEVEDO & The Monkey Studio Team 14 15 This program is free software; you can redistribute it and/or modify 16 it under the terms of the GNU General Public License as published by 17 the Free Software Foundation; either version 2 of the License, or 18 (at your option) any later version. 19 20 This program is distributed in the hope that it will be useful, 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 GNU General Public License for more details. 24 25 You should have received a copy of the GNU General Public License 26 along with this program; if not, write to the Free Software 27 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 ** 29 ****************************************************************************/ 30 /*! 31 \file UIMessageBoxSettings.h 32 \date 2008-01-14T00:40:08 33 \author Filipe AZEVEDO 34 \brief Header of UIMessageBoxSettings class 35 */ 36 1 37 #include "UIMessageBoxSettings.h" 2 38 #include "../MessageBox.h" … … 5 41 #include <QPushButton> 6 42 43 /*! 44 Create settings widget 45 \param plugin Pointer to MessageBox plugin 46 \param parent Parent widget 47 */ 7 48 UIMessageBoxSettings::UIMessageBoxSettings( MessageBox* plugin, QWidget* parent ) 8 49 : QWidget( parent ) … … 23 64 } 24 65 66 /*! 67 Handler of pressing of any button on settings widget 68 69 Help, Restore Defaults or Apply button can be pressed 70 Function will do action, according to button 71 \param button Pressed button (Help, RestoreDefaults, Apply) 72 */ 25 73 void UIMessageBoxSettings::on_dbbButtons_clicked( QAbstractButton* button ) 26 74 { … … 41 89 } 42 90 } 43 -
v2/branches/dev/plugins/base/MessageBox/src/ui/UIMessageBoxSettings.h
r2142 r2217 1 /**************************************************************************** 2 ** 3 ** Created using Monkey Studio v1.8.1.0 4 ** Authors : Filipe AZEVEDO aka Nox P@sNox <pasnox@gmail.com>, 5 ** 6 ** Project : Monkey Studio Base Plugins 7 ** FileName : UIMessageBoxSettings.h 8 ** Date : 2008-01-14T00:40:08 9 ** License : GPL 10 ** Comment : This header has been automatically generated, if you are the original author, or co-author, fill free to replace/append with your informations. 11 ** Home Page : http://www.monkeystudio.org 12 ** 13 Copyright (C) 2005 - 2008 Filipe AZEVEDO & The Monkey Studio Team 14 15 This program is free software; you can redistribute it and/or modify 16 it under the terms of the GNU General Public License as published by 17 the Free Software Foundation; either version 2 of the License, or 18 (at your option) any later version. 19 20 This program is distributed in the hope that it will be useful, 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 GNU General Public License for more details. 24 25 You should have received a copy of the GNU General Public License 26 along with this program; if not, write to the Free Software 27 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 ** 29 ****************************************************************************/ 30 /*! 31 \file UIMessageBoxSettings.h 32 \date 2008-01-14T00:40:08 33 \author Filipe AZEVEDO 34 \brief Header of UIMessageBoxSettings class 35 */ 1 36 #ifndef UIMESSAGEBOXSETTINGS_H 2 37 #define UIMESSAGEBOXSETTINGS_H … … 8 43 class MessageBox; 9 44 45 /*! 46 Settings widget for Message Box class 47 */ 10 48 class UIMessageBoxSettings : public QWidget, public Ui::UIMessageBoxSettings 11 49 { -
v2/branches/dev/plugins/base/Navigator/src/Navigator.cpp
r2201 r2217 31 31 \date 2008-01-14T00:40:08 32 32 \author Andrei Kopats 33 \brief Header file for Navigatorplugin33 \brief Implementation of main class of MessageBox plugin 34 34 */ 35 35
