Manual for OpenFLUID 2.1.10

Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
openfluid::ui::waresdev::WareSrcWidget Class Reference

#include <ui/waresdev/WareSrcWidget.hpp>

Public Slots

void setConfigureMode (openfluid::waresdev::WareSrcContainer::ConfigMode Mode)
 
void setBuildMode (openfluid::waresdev::WareSrcContainer::BuildMode Mode)
 
void setBuildJobs (unsigned int Jobs)
 
void configure ()
 
void build ()
 
void generateDoc ()
 
void saveCurrentEditor ()
 
void saveAllFileTabs ()
 
int closeCurrentEditor (bool WithConfirm=true)
 
int onCloseFileTabRequested (int Index, bool WithConfirm=true)
 
void onOpenExternalToolRequested ()
 
void newFile ()
 
void deleteCurrentFile ()
 
void openFile ()
 
QString saveAs (const QString &TopDirectory="")
 
void copyText ()
 
void cutText ()
 
void pasteText ()
 
void goToLine ()
 

Signals

void wareTextModified (WareSrcWidget *Widget, bool Modified)
 
void editorSaved ()
 
void currentTabChanged (const QString &Path)
 
void findReplaceRequested ()
 
void openTerminalRequested ()
 
void openExplorerRequested ()
 
void openExternalToolRequested (const QString &Context, const QString &Path)
 
void modifiedStatusChanged (bool CurrentEditorModified, bool WareModified)
 
void openAPIDocRequested ()
 
void configureLaunched (openfluid::ware::WareType Type, const QString &ID)
 
void configureFinished (openfluid::ware::WareType Type, const QString &ID)
 
void buildLaunched (openfluid::ware::WareType Type, const QString &ID)
 
void buildFinished (openfluid::ware::WareType Type, const QString &ID)
 

Public Member Functions

 WareSrcWidget (const openfluid::waresdev::WareSrcManager::PathInfo &Info, bool IsStandalone, openfluid::waresdev::WareSrcContainer::ConfigMode Config, openfluid::waresdev::WareSrcContainer::BuildMode Build, unsigned int Jobs, QWidget *Parent=nullptr)
 
virtual ~WareSrcWidget ()
 
void openFileTab (const openfluid::waresdev::WareSrcManager::PathInfo &Info, int Index=-1)
 
void openDefaultFiles ()
 
bool setCurrent (const openfluid::waresdev::WareSrcManager::PathInfo &Info)
 
openfluid::waresdev::WareSrcContainerwareSrcContainer ()
 
bool isWareModified ()
 
bool isWareProcessRunning () const
 
void closeAllFileTabs ()
 
WareFileEditorcurrentEditor ()
 
QString getCurrentFilePath ()
 
int closeFileTab (const QString &Path)
 
void checkModifiedStatus ()
 
void updateEditorsSettings ()
 

Protected Member Functions

bool eventFilter (QObject *Obj, QEvent *Event)
 
Inheritance diagram for openfluid::ui::waresdev::WareSrcWidget:
Inheritance graph
[legend]
Collaboration diagram for openfluid::ui::waresdev::WareSrcWidget:
Collaboration graph
[legend]

Constructor & Destructor Documentation

◆ WareSrcWidget()

openfluid::ui::waresdev::WareSrcWidget::WareSrcWidget ( const openfluid::waresdev::WareSrcManager::PathInfo Info,
bool  IsStandalone,
openfluid::waresdev::WareSrcContainer::ConfigMode  Config,
openfluid::waresdev::WareSrcContainer::BuildMode  Build,
unsigned int  Jobs,
QWidget *  Parent = nullptr 
)

◆ ~WareSrcWidget()

virtual openfluid::ui::waresdev::WareSrcWidget::~WareSrcWidget ( )
virtual

Member Function Documentation

◆ build

void openfluid::ui::waresdev::WareSrcWidget::build ( )
slot

◆ buildFinished

void openfluid::ui::waresdev::WareSrcWidget::buildFinished ( openfluid::ware::WareType  Type,
const QString &  ID 
)
signal

◆ buildLaunched

void openfluid::ui::waresdev::WareSrcWidget::buildLaunched ( openfluid::ware::WareType  Type,
const QString &  ID 
)
signal

◆ checkModifiedStatus()

void openfluid::ui::waresdev::WareSrcWidget::checkModifiedStatus ( )

◆ closeAllFileTabs()

void openfluid::ui::waresdev::WareSrcWidget::closeAllFileTabs ( )

◆ closeCurrentEditor

int openfluid::ui::waresdev::WareSrcWidget::closeCurrentEditor ( bool  WithConfirm = true)
slot

◆ closeFileTab()

int openfluid::ui::waresdev::WareSrcWidget::closeFileTab ( const QString &  Path)

◆ configure

void openfluid::ui::waresdev::WareSrcWidget::configure ( )
slot

◆ configureFinished

void openfluid::ui::waresdev::WareSrcWidget::configureFinished ( openfluid::ware::WareType  Type,
const QString &  ID 
)
signal

◆ configureLaunched

void openfluid::ui::waresdev::WareSrcWidget::configureLaunched ( openfluid::ware::WareType  Type,
const QString &  ID 
)
signal

◆ copyText

void openfluid::ui::waresdev::WareSrcWidget::copyText ( )
slot

◆ currentEditor()

WareFileEditor* openfluid::ui::waresdev::WareSrcWidget::currentEditor ( )

◆ currentTabChanged

void openfluid::ui::waresdev::WareSrcWidget::currentTabChanged ( const QString &  Path)
signal

◆ cutText

void openfluid::ui::waresdev::WareSrcWidget::cutText ( )
slot

◆ deleteCurrentFile

void openfluid::ui::waresdev::WareSrcWidget::deleteCurrentFile ( )
slot

◆ editorSaved

void openfluid::ui::waresdev::WareSrcWidget::editorSaved ( )
signal

◆ eventFilter()

bool openfluid::ui::waresdev::WareSrcWidget::eventFilter ( QObject *  Obj,
QEvent *  Event 
)
protected

◆ findReplaceRequested

void openfluid::ui::waresdev::WareSrcWidget::findReplaceRequested ( )
signal

◆ generateDoc

void openfluid::ui::waresdev::WareSrcWidget::generateDoc ( )
slot

◆ getCurrentFilePath()

QString openfluid::ui::waresdev::WareSrcWidget::getCurrentFilePath ( )

◆ goToLine

void openfluid::ui::waresdev::WareSrcWidget::goToLine ( )
slot

◆ isWareModified()

bool openfluid::ui::waresdev::WareSrcWidget::isWareModified ( )

◆ isWareProcessRunning()

bool openfluid::ui::waresdev::WareSrcWidget::isWareProcessRunning ( ) const

◆ modifiedStatusChanged

void openfluid::ui::waresdev::WareSrcWidget::modifiedStatusChanged ( bool  CurrentEditorModified,
bool  WareModified 
)
signal

◆ newFile

void openfluid::ui::waresdev::WareSrcWidget::newFile ( )
slot

◆ onCloseFileTabRequested

int openfluid::ui::waresdev::WareSrcWidget::onCloseFileTabRequested ( int  Index,
bool  WithConfirm = true 
)
slot

◆ onOpenExternalToolRequested

void openfluid::ui::waresdev::WareSrcWidget::onOpenExternalToolRequested ( )
slot

◆ openAPIDocRequested

void openfluid::ui::waresdev::WareSrcWidget::openAPIDocRequested ( )
signal

◆ openDefaultFiles()

void openfluid::ui::waresdev::WareSrcWidget::openDefaultFiles ( )

◆ openExplorerRequested

void openfluid::ui::waresdev::WareSrcWidget::openExplorerRequested ( )
signal

◆ openExternalToolRequested

void openfluid::ui::waresdev::WareSrcWidget::openExternalToolRequested ( const QString &  Context,
const QString &  Path 
)
signal

◆ openFile

void openfluid::ui::waresdev::WareSrcWidget::openFile ( )
slot

◆ openFileTab()

void openfluid::ui::waresdev::WareSrcWidget::openFileTab ( const openfluid::waresdev::WareSrcManager::PathInfo Info,
int  Index = -1 
)

◆ openTerminalRequested

void openfluid::ui::waresdev::WareSrcWidget::openTerminalRequested ( )
signal

◆ pasteText

void openfluid::ui::waresdev::WareSrcWidget::pasteText ( )
slot

◆ saveAllFileTabs

void openfluid::ui::waresdev::WareSrcWidget::saveAllFileTabs ( )
slot

◆ saveAs

QString openfluid::ui::waresdev::WareSrcWidget::saveAs ( const QString &  TopDirectory = "")
slot
Parameters
TopDirectoryThe path to the topmost directory where may be saved the file, an empty string meaning this ware directory
Returns
The path where has been saved the file if it's above this ware, an empty string otherwise

◆ saveCurrentEditor

void openfluid::ui::waresdev::WareSrcWidget::saveCurrentEditor ( )
slot

◆ setBuildJobs

void openfluid::ui::waresdev::WareSrcWidget::setBuildJobs ( unsigned int  Jobs)
slot

◆ setBuildMode

void openfluid::ui::waresdev::WareSrcWidget::setBuildMode ( openfluid::waresdev::WareSrcContainer::BuildMode  Mode)
slot

◆ setConfigureMode

void openfluid::ui::waresdev::WareSrcWidget::setConfigureMode ( openfluid::waresdev::WareSrcContainer::ConfigMode  Mode)
slot

◆ setCurrent()

bool openfluid::ui::waresdev::WareSrcWidget::setCurrent ( const openfluid::waresdev::WareSrcManager::PathInfo Info)

Set the file editor for the absolute path of Info as the current tab

Check if the file editor is already opened. If true, set this editor as the current tab. Otherwise does nothing.

Returns
true if the file editor was already opened, false otherwise

◆ updateEditorsSettings()

void openfluid::ui::waresdev::WareSrcWidget::updateEditorsSettings ( )

◆ wareSrcContainer()

openfluid::waresdev::WareSrcContainer& openfluid::ui::waresdev::WareSrcWidget::wareSrcContainer ( )

◆ wareTextModified

void openfluid::ui::waresdev::WareSrcWidget::wareTextModified ( WareSrcWidget Widget,
bool  Modified 
)
signal

The documentation for this class was generated from the following file: