Developer Documentation
NewNameMessageBox Class Reference

Asks the user how to proceed after a name clash. More...

#include <Plugin-PropertyVis/Utils.hh>

Inheritance diagram for NewNameMessageBox:

Public Member Functions

 NewNameMessageBox (QString propName)
 

Public Attributes

bool replace
 
bool rename
 
bool cancel
 

Private Slots

void slotReplace ()
 
void slotRename ()
 
void slotCancel ()
 

Private Attributes

QLabel * problemDescription
 
QPushButton * buttonRename
 
QPushButton * buttonReplace
 
QPushButton * buttonCancel
 
QString propName
 

Detailed Description

Asks the user how to proceed after a name clash.

When loading a property the provided name can already be in use. This message box is used to ask the user how to proceed. Cancel loading, set a new name or replace the old property by the new one?

Definition at line 170 of file Utils.hh.

Constructor & Destructor Documentation

◆ NewNameMessageBox()

NewNameMessageBox::NewNameMessageBox ( QString  propName)
explicit

Definition at line 68 of file Utils.cc.

Member Function Documentation

◆ slotCancel

void NewNameMessageBox::slotCancel ( )
inlineprivateslot

Definition at line 180 of file Utils.hh.

◆ slotRename

void NewNameMessageBox::slotRename ( )
inlineprivateslot

Definition at line 179 of file Utils.hh.

◆ slotReplace

void NewNameMessageBox::slotReplace ( )
inlineprivateslot

Definition at line 178 of file Utils.hh.

Member Data Documentation

◆ buttonCancel

QPushButton* NewNameMessageBox::buttonCancel
private

Definition at line 187 of file Utils.hh.

◆ buttonRename

QPushButton* NewNameMessageBox::buttonRename
private

Definition at line 185 of file Utils.hh.

◆ buttonReplace

QPushButton* NewNameMessageBox::buttonReplace
private

Definition at line 186 of file Utils.hh.

◆ cancel

bool NewNameMessageBox::cancel

Definition at line 194 of file Utils.hh.

◆ problemDescription

QLabel* NewNameMessageBox::problemDescription
private

Definition at line 183 of file Utils.hh.

◆ propName

QString NewNameMessageBox::propName
private

Definition at line 189 of file Utils.hh.

◆ rename

bool NewNameMessageBox::rename

Definition at line 193 of file Utils.hh.

◆ replace

bool NewNameMessageBox::replace

Definition at line 192 of file Utils.hh.


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