API Documentation
Loading...
Searching...
No Matches
ProjectEditor Class Reference

A popup Editor dialog for showing options or information related to Project model objects. This dialog is shown when the user first creates a project and can be accessed from the top of the SceneTree widget. More...

#include <ProjectEditor.h>

Inheritance diagram for ProjectEditor:
[legend]
Collaboration diagram for ProjectEditor:
[legend]

Public Slots

void fileChoosen ()
 
void workingDirectory ()
 

Public Member Functions

 ProjectEditor (const DynamicPointer< QTDesignObject > &project, QWidget *parent=nullptr)
 
virtual void updateValues () override
 
virtual ~ProjectEditor ()
 
- Public Member Functions inherited from Editor
virtual bool allowDocking () const
 
virtual Buffer< QWidget * > bottomOptions ()
 
virtual String customDialogIcon () const
 
virtual TranslatedString customDialogTitle () const
 
 Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
 Editor (QWidget *parent=nullptr)
 
virtual bool isBusy () const
 
virtual InterfaceOrientationControllerorientationController () const
 
virtual Buffer< QWidget * > printableWidgetOptions ()
 
virtual Buffer< QWidget * > printableWidgets ()
 
virtual void requestScrollEnabled (bool enabled)
 
virtual void setHorizontal (bool horizontal)
 
virtual void setTarget (const DynamicPointer< QTDesignObject > &object)
 
virtual void setup (DesignObjectDialog *, const ShowPropertiesSettings &)
 
const DynamicPointer< QTDesignObject > & target () const
 

Protected Member Functions

virtual bool fullscreenTouch () const override
 
void hideFileChooser ()
 
bool willOverrideExisting (const String &folder_name, const String &project_name)
 

Static Protected Member Functions

static File getFileName (const String &folder_name, const String &project_name)
 
static String getProjectName (const String &project_name)
 

Protected Attributes

FileChooserDialogm_file_chooser_dialog
 
Ui::ProjectUI * ui
 
- Protected Attributes inherited from Editor
DynamicPointer< QTDesignObjectm_design_object
 
InterfaceOrientationControllerm_orientation_controller
 

Additional Inherited Members

- Signals inherited from Editor
void isBusyStatusChanged ()
 
void objectUpdatedSignal ()
 
- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Detailed Description

A popup Editor dialog for showing options or information related to Project model objects. This dialog is shown when the user first creates a project and can be accessed from the top of the SceneTree widget.


Constructor & Destructor Documentation

◆ ProjectEditor()

ProjectEditor ( const DynamicPointer< QTDesignObject > & project,
QWidget * parent = nullptr )

◆ ~ProjectEditor()

virtual ~ProjectEditor ( )
virtual

Member Function Documentation

◆ fileChoosen

void fileChoosen ( )
slot

◆ fullscreenTouch()

virtual bool fullscreenTouch ( ) const
inlineoverrideprotectedvirtual

Reimplemented from Editor.

◆ getFileName()

static File getFileName ( const String & folder_name,
const String & project_name )
staticprotected

◆ getProjectName()

static String getProjectName ( const String & project_name)
staticprotected

◆ hideFileChooser()

void hideFileChooser ( )
protected

◆ updateValues()

virtual void updateValues ( )
overridevirtual

Implements Editor.

◆ willOverrideExisting()

bool willOverrideExisting ( const String & folder_name,
const String & project_name )
protected

◆ workingDirectory

void workingDirectory ( )
slot

Member Data Documentation

◆ m_file_chooser_dialog

FileChooserDialog* m_file_chooser_dialog
protected

◆ ui

Ui::ProjectUI* ui
protected

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