LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 () noexceptoverride
 
RenameNetSegmentDialogoperator= (const RenameNetSegmentDialog &rhs)=delete
 

Private Types

enum  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

enum Action
strongprivate
Enumerator
NONE 
INVALID_NAME 
RENAME_NETSIGNAL 
MERGE_NETSIGNALS 
MOVE_NETSEGMENT_TO_EXISTING_NET 
MOVE_NETSEGMENT_TO_NEW_NET 

Constructor & Destructor Documentation

RenameNetSegmentDialog ( UndoStack undoStack,
SI_NetSegment segment,
QWidget *  parent = nullptr 
)
noexcept

+ Here is the call graph for this function:

~RenameNetSegmentDialog ( )
noexcept

Member Function Documentation

void accept ( )
overridevirtualnoexcept

+ Here is the call graph for this function:

RenameNetSegmentDialog& operator= ( const RenameNetSegmentDialog rhs)
delete
void updateAction ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

UndoStack& mUndoStack
private
SI_NetSegment& mNetSegment
private
QScopedPointer<Ui::RenameNetSegmentDialog> mUi
private
Action mAction
private
QString mNewNetName
private
NetSignal* mNewNetSignal
private

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