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

#include <ui/waresdev/WareSrcWidget.hpp>

Inheritance diagram for openfluid::ui::waresdev::WareSrcWidget:
Inheritance graph
[legend]
Collaboration diagram for openfluid::ui::waresdev::WareSrcWidget:
Collaboration graph
[legend]

Public Slots

void setReleaseMode ()
 
void setDebugMode ()
 
void setBuildWithInstallMode ()
 
void setBuildNoInstallMode ()
 
void configure ()
 
void build ()
 
void saveCurrentEditor ()
 
void saveAllFileTabs ()
 
int closeCurrentEditor (bool WithConfirm=true)
 
int onCloseFileTabRequested (int Index, bool WithConfirm=true)
 
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 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, QWidget *Parent=nullptr)
 
 ~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)
 

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,
QWidget *  Parent = nullptr 
)

◆ ~WareSrcWidget()

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

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

◆ 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

◆ openAPIDocRequested

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

◆ openDefaultFiles()

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

◆ openExplorerRequested

void openfluid::ui::waresdev::WareSrcWidget::openExplorerRequested ( )
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

◆ setBuildNoInstallMode

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

◆ setBuildWithInstallMode

void openfluid::ui::waresdev::WareSrcWidget::setBuildWithInstallMode ( )
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

◆ setDebugMode

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

◆ setReleaseMode

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

◆ 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: