The EditorWidgetBase class.
More...
#include <editorwidgetbase.h>
◆ Tool
Enumerator |
---|
NONE | |
SELECT | |
DRAW_LINE | |
DRAW_RECT | |
DRAW_POLYGON | |
DRAW_CIRCLE | |
DRAW_ARC | |
DRAW_TEXT | |
DRAW_ZONE | |
ADD_NAMES | |
ADD_VALUES | |
ADD_PINS | |
ADD_THT_PADS | |
ADD_SMT_PADS | |
ADD_HOLES | |
MEASURE | |
RENUMBER_PADS | |
◆ Feature
Enumerator |
---|
Close | |
Filter | |
GraphicsView | |
OpenGlView | |
BackgroundImage | |
ExportGraphics | |
GenerateOutline | |
GenerateCourtyard | |
ReNumberPads | |
SelectGraphics | |
ImportGraphics | |
Abort | |
Cut | |
Copy | |
Paste | |
Remove | |
Move | |
Rotate | |
Mirror | |
Flip | |
MoveAlign | |
SnapToGrid | |
Properties | |
◆ EditorWidgetBase() [1/3]
◆ EditorWidgetBase() [2/3]
◆ EditorWidgetBase() [3/3]
◆ ~EditorWidgetBase()
◆ getFilePath()
◆ isDirty()
◆ isBackgroundImageSet()
virtual bool isBackgroundImageSet |
( |
| ) |
const |
|
inlinevirtualnoexcept |
◆ getAvailableFeatures()
virtual QSet< Feature > getAvailableFeatures |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ connectEditor()
◆ disconnectEditor()
void disconnectEditor |
( |
| ) |
|
|
virtualnoexcept |
◆ operator=()
◆ save
◆ selectAll
virtual bool selectAll |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ cut
|
inlinevirtualslotnoexcept |
◆ copy
|
inlinevirtualslotnoexcept |
◆ paste
|
inlinevirtualslotnoexcept |
◆ move
virtual bool move |
( |
Qt::ArrowType |
direction | ) |
|
|
inlinevirtualslotnoexcept |
◆ rotate
|
inlinevirtualslotnoexcept |
◆ mirror
virtual bool mirror |
( |
Qt::Orientation |
orientation | ) |
|
|
inlinevirtualslotnoexcept |
◆ flip
virtual bool flip |
( |
Qt::Orientation |
orientation | ) |
|
|
inlinevirtualslotnoexcept |
◆ moveAlign
virtual bool moveAlign |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ snapToGrid
virtual bool snapToGrid |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ remove
|
inlinevirtualslotnoexcept |
◆ editProperties
virtual bool editProperties |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ zoomIn
|
inlinevirtualslotnoexcept |
◆ zoomOut
|
inlinevirtualslotnoexcept |
◆ zoomAll
|
inlinevirtualslotnoexcept |
◆ toggle3D
virtual bool toggle3D |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ abortCommand
virtual bool abortCommand |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ processGenerateOutline
virtual bool processGenerateOutline |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ processGenerateCourtyard
virtual bool processGenerateCourtyard |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ importDxf
virtual bool importDxf |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ exportImage
◆ exportPdf
◆ print
◆ editGridProperties
virtual bool editGridProperties |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ increaseGridInterval
virtual bool increaseGridInterval |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ decreaseGridInterval
virtual bool decreaseGridInterval |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ toggleBackgroundImage
virtual bool toggleBackgroundImage |
( |
| ) |
|
|
inlinevirtualslotnoexcept |
◆ setupInterfaceBrokenWarningWidget()
void setupInterfaceBrokenWarningWidget |
( |
QWidget & |
widget | ) |
|
|
protectednoexcept |
◆ setupErrorNotificationWidget()
void setupErrorNotificationWidget |
( |
QWidget & |
widget | ) |
|
|
protectednoexcept |
◆ isInterfaceBroken()
virtual bool isInterfaceBroken |
( |
| ) |
const |
|
protectedpure virtualnoexcept |
◆ toolChangeRequested()
virtual bool toolChangeRequested |
( |
Tool |
newTool, |
|
|
const QVariant & |
mode |
|
) |
| |
|
inlineprotectedvirtualnoexcept |
◆ runChecks()
◆ setMessageApproved()
◆ execGraphicsExportDialog()
|
inlineprotectedvirtualnoexcept |
◆ undoStackStateModified()
void undoStackStateModified |
( |
| ) |
|
|
protectednoexcept |
◆ setStatusBarMessage()
void setStatusBarMessage |
( |
const QString & |
message, |
|
|
int |
timeoutMs = -1 |
|
) |
| |
|
protectednoexcept |
◆ getLibLocaleOrder()
const QStringList & getLibLocaleOrder |
( |
| ) |
const |
|
protectednoexcept |
◆ getWorkspaceSettingsUserName()
QString getWorkspaceSettingsUserName |
( |
| ) |
|
|
protectednoexcept |
◆ updateCheckMessages
void updateCheckMessages |
( |
| ) |
|
|
privateslotnoexcept |
◆ askForRestoringBackup()
bool askForRestoringBackup |
( |
const FilePath & |
dir | ) |
|
|
staticprivate |
Ask the user whether to restore a backup of a library element.
- Parameters
-
dir | The library element directory to be restored. |
- Return values
-
true | Restore backup. |
false | Do not restore backup. |
- Exceptions
-
Exception | to abort opening the library element. |
◆ toolRequested()
void toolRequested |
( |
int |
tool, |
|
|
const QVariant & |
mode |
|
) |
| |
|
privatenoexcept |
◆ undoStackCleanChanged()
void undoStackCleanChanged |
( |
bool |
clean | ) |
|
|
privatenoexcept |
◆ scheduleLibraryElementChecks()
void scheduleLibraryElementChecks |
( |
| ) |
|
|
privatenoexcept |
◆ processRuleCheckMessage()
virtual bool processRuleCheckMessage |
( |
std::shared_ptr< const RuleCheckMessage > |
msg, |
|
|
bool |
applyFix |
|
) |
| |
|
privatepure virtual |
◆ ruleCheckFixAvailable()
|
overrideprivatevirtualnoexcept |
◆ ruleCheckFixRequested()
|
overrideprivatevirtualnoexcept |
◆ ruleCheckDescriptionRequested()
void ruleCheckDescriptionRequested |
( |
std::shared_ptr< const RuleCheckMessage > |
msg | ) |
|
|
overrideprivatevirtualnoexcept |
◆ ruleCheckMessageSelected()
|
overrideprivatevirtualnoexcept |
◆ ruleCheckMessageDoubleClicked()
void ruleCheckMessageDoubleClicked |
( |
std::shared_ptr< const RuleCheckMessage > |
msg | ) |
|
|
overrideprivatevirtualnoexcept |
◆ dirtyChanged
void dirtyChanged |
( |
bool |
dirty | ) |
|
|
signal |
◆ elementEdited
◆ interfaceBrokenChanged
void interfaceBrokenChanged |
( |
bool |
broken | ) |
|
|
signal |
◆ errorsAvailableChanged
void errorsAvailableChanged |
( |
bool |
hasErrors | ) |
|
|
signal |
◆ availableFeaturesChanged
◆ mContext
◆ mFilePath
◆ mFileSystem
◆ mUndoStack
◆ mUndoStackActionGroup
◆ mToolsActionGroup
◆ mStatusBar
◆ mCommandToolBarProxy
◆ mManualModificationsMade
bool mManualModificationsMade |
|
protected |
Modifications bypassing the undo stack.
◆ mIsInterfaceBroken
◆ mStatusBarMessage
QString mStatusBarMessage |
|
protected |
◆ mSupportedApprovals
◆ mDisappearedApprovals
The documentation for this class was generated from the following files: