Salome HOME
updated copyright message
[modules/gui.git] / tools / PyEditor / src / PyEditor_Settings.h
index aa6de041985d28231a8c35dc462622eb299de966..f80df9b15f2cdea8469e239186c90f79e65b7326 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  OPEN CASCADE
+// Copyright (C) 2015-2023  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -39,7 +39,8 @@ protected:
                 snNumberColumns,
                 snTabSpaceVisible,
                 snTabSize,
-                snFont };
+                snFont,
+                snCompletionPolicy };
 
 public:
   static PyEditor_Settings* settings();
@@ -75,6 +76,9 @@ public:
   void setFont( const QFont& );
   QFont font() const;
 
+  void setCompletionPolicy( int );
+  int completionPolicy() const;
+
   virtual void load();
   virtual void save();
 
@@ -101,6 +105,9 @@ private:
   // Font settings
   QFont myFont;
 
+  // Completion settings
+  int myCompletionPolicy;
+
   static PyEditor_Settings* myGlobalSettings;
 };