Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #145 behavior on edit constraint corrected
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_EditLine.h
diff --git
a/src/PartSet/PartSet_EditLine.h
b/src/PartSet/PartSet_EditLine.h
index f389a45f9ec5509aa1ea0b4cf3886f74d1313143..c043dc08a5008567c4ef67fba2f2f5b3b344a60c 100644
(file)
--- a/
src/PartSet/PartSet_EditLine.h
+++ b/
src/PartSet/PartSet_EditLine.h
@@
-16,15
+16,18
@@
class QWidget;
/*!
\class PartSet_EditLine
* \brief The class to give an editor to modify a real value
/*!
\class PartSet_EditLine
* \brief The class to give an editor to modify a real value
-*/
+
*/
class PARTSET_EXPORT PartSet_EditLine : public QObject
{
class PARTSET_EXPORT PartSet_EditLine : public QObject
{
-
Q_OBJECT
-public:
+Q_OBJECT
+
public:
/// Constructor
PartSet_EditLine(QWidget* theParent);
/// Destructor
/// Constructor
PartSet_EditLine(QWidget* theParent);
/// Destructor
- virtual ~PartSet_EditLine() {};
+ virtual ~PartSet_EditLine()
+ {
+ }
+ ;
/// Show the editor in the given global position
/// \param thePoint a position
/// Show the editor in the given global position
/// \param thePoint a position
@@
-43,17
+46,17
@@
signals:
/// \param theValue the editor value
void stopped(double theValue);
/// \param theValue the editor value
void stopped(double theValue);
-protected:
+
protected:
/// Returns the editor value
/// \return the real value
double getValue() const;
/// Returns the editor value
/// \return the real value
double getValue() const;
-protected slots:
+
protected slots:
/// Slot to check the editing stop
void onStopEditing();
/// Slot to check the editing stop
void onStopEditing();
-protected:
- QLineEdit* myEditor; /// the value editor
+
protected:
+ QLineEdit* myEditor;
/// the value editor
};
#endif
};
#endif