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 ()
 

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 ()
 
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

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

Member Function Documentation

void openfluid::ui::waresdev::WareSrcWidget::build ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::checkModifiedStatus ( )
void openfluid::ui::waresdev::WareSrcWidget::closeAllFileTabs ( )
int openfluid::ui::waresdev::WareSrcWidget::closeCurrentEditor ( bool  WithConfirm = true)
slot
int openfluid::ui::waresdev::WareSrcWidget::closeFileTab ( const QString &  Path)
void openfluid::ui::waresdev::WareSrcWidget::configure ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::copyText ( )
slot
WareFileEditor* openfluid::ui::waresdev::WareSrcWidget::currentEditor ( )
void openfluid::ui::waresdev::WareSrcWidget::currentTabChanged ( const QString &  Path)
signal
void openfluid::ui::waresdev::WareSrcWidget::cutText ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::deleteCurrentFile ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::editorSaved ( )
signal
bool openfluid::ui::waresdev::WareSrcWidget::eventFilter ( QObject *  Obj,
QEvent *  Event 
)
protected
void openfluid::ui::waresdev::WareSrcWidget::findReplaceRequested ( )
signal
QString openfluid::ui::waresdev::WareSrcWidget::getCurrentFilePath ( )
void openfluid::ui::waresdev::WareSrcWidget::goToLine ( )
slot
bool openfluid::ui::waresdev::WareSrcWidget::isWareModified ( )
void openfluid::ui::waresdev::WareSrcWidget::modifiedStatusChanged ( bool  CurrentEditorModified,
bool  WareModified 
)
signal
void openfluid::ui::waresdev::WareSrcWidget::newFile ( )
slot
int openfluid::ui::waresdev::WareSrcWidget::onCloseFileTabRequested ( int  Index,
bool  WithConfirm = true 
)
slot
void openfluid::ui::waresdev::WareSrcWidget::openAPIDocRequested ( )
signal
void openfluid::ui::waresdev::WareSrcWidget::openDefaultFiles ( )
void openfluid::ui::waresdev::WareSrcWidget::openExplorerRequested ( )
signal
void openfluid::ui::waresdev::WareSrcWidget::openFile ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::openFileTab ( const openfluid::waresdev::WareSrcManager::PathInfo Info,
int  Index = -1 
)
void openfluid::ui::waresdev::WareSrcWidget::openTerminalRequested ( )
signal
void openfluid::ui::waresdev::WareSrcWidget::pasteText ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::saveAllFileTabs ( )
slot
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
void openfluid::ui::waresdev::WareSrcWidget::saveCurrentEditor ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::setBuildNoInstallMode ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::setBuildWithInstallMode ( )
slot
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
void openfluid::ui::waresdev::WareSrcWidget::setDebugMode ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::setReleaseMode ( )
slot
void openfluid::ui::waresdev::WareSrcWidget::updateEditorsSettings ( )
openfluid::waresdev::WareSrcContainer& openfluid::ui::waresdev::WareSrcWidget::wareSrcContainer ( )
void openfluid::ui::waresdev::WareSrcWidget::wareTextModified ( WareSrcWidget Widget,
bool  Modified 
)
signal

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