LibrePCB Developers Documentation
Loading...
Searching...
No Matches
RenameNetSegmentDialog Class Referencefinal

The RenameNetSegmentDialog class. More...

#include <renamenetsegmentdialog.h>

Inherits QDialog.

+ Collaboration diagram for RenameNetSegmentDialog:

Public Member Functions

 RenameNetSegmentDialog ()=delete
 
 RenameNetSegmentDialog (const RenameNetSegmentDialog &other)=delete
 
 RenameNetSegmentDialog (UndoStack &undoStack, SI_NetSegment &segment, QWidget *parent=nullptr) noexcept
 
 ~RenameNetSegmentDialog () noexcept
 
virtual void accept () noexcept override
 
RenameNetSegmentDialogoperator= (const RenameNetSegmentDialog &rhs)=delete
 

Private Types

enum class  Action
 

Private Member Functions

void updateAction () noexcept
 

Private Attributes

UndoStackmUndoStack
 
SI_NetSegmentmNetSegment
 
QScopedPointer< Ui::RenameNetSegmentDialog > mUi
 
Action mAction
 
QString mNewNetName
 
NetSignalmNewNetSignal
 

Detailed Description

Member Enumeration Documentation

◆ Action

enum class Action
strongprivate
Enumerator
NONE 
INVALID_NAME 
RENAME_NETSIGNAL 
MERGE_NETSIGNALS 
MOVE_NETSEGMENT_TO_EXISTING_NET 
MOVE_NETSEGMENT_TO_NEW_NET 

Constructor & Destructor Documentation

◆ RenameNetSegmentDialog() [1/3]

◆ RenameNetSegmentDialog() [2/3]

◆ RenameNetSegmentDialog() [3/3]

RenameNetSegmentDialog ( UndoStack undoStack,
SI_NetSegment segment,
QWidget *  parent = nullptr 
)
noexcept
+ Here is the call graph for this function:

◆ ~RenameNetSegmentDialog()

~RenameNetSegmentDialog ( )
noexcept

Member Function Documentation

◆ accept()

void accept ( )
overridevirtualnoexcept
+ Here is the call graph for this function:

◆ operator=()

RenameNetSegmentDialog & operator= ( const RenameNetSegmentDialog rhs)
delete

◆ updateAction()

void updateAction ( )
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mUndoStack

UndoStack& mUndoStack
private

◆ mNetSegment

SI_NetSegment& mNetSegment
private

◆ mUi

QScopedPointer<Ui::RenameNetSegmentDialog> mUi
private

◆ mAction

Action mAction
private

◆ mNewNetName

QString mNewNetName
private

◆ mNewNetSignal

NetSignal* mNewNetSignal
private

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