1. 16 Dec, 2010 1 commit
    • finetjul's avatar
      BUG: · 20cb0f82
      finetjul authored
      Slot updateFromMRML was destroyed (in qSlicerScalarVolumeDisplayWidget)
      before ObjectEventObserver was destroyed (in qSlicerWidget).
      
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@15642 3bd1e089-480b-0410-8dfb-8563597acbee
      20cb0f82
  2. 15 Sep, 2010 1 commit
    • finetjul's avatar
      STYLE: Use Qt private implementation instead of obsolete CTK implementation · 9ad64a84
      finetjul authored
      Qt pimpls have the big advantage of supporting pimple derivation.
      The recommended way of using them is shown below:
      Header file:
      
      class MyClassPrivate;
      class MyClass
      {
      public:
         ...
         virtual ~MyClass();
         ...
      protected:
         QScopedPointer<MyClassPrivate> d_ptr;
      private:
         Q_DECLARE_PRIVATE(MyClass);
         Q_DISABLE_COPY(MyClass);
      };
      
      Implementation file (Private has no access to public:
      class MyClassPrivate
      {
      public:
        ...
      };
      ...
      MyClass::MyClass():d_ptr(new MyClassPrivate)
      {
      }
      
      Implementation file (Private has access to public):
      class MyClassPrivate
      {
         Q_DECLARE_PUBLIC(MyClass);
      protected:
        MyClass* const q_ptr;
      public:
        MyClassPrivate(MyClass&);
      ...
      };
      MyClassPrivate::MyClassPrivate(MyClass& o)
        :q_ptr(&o)
      {
      }
      ...
      MyClass::MyClass():d_ptr(new MyClassPrivate(*this))
      {
      }
      
      git-svn-id: http://svn.slicer.org/Slicer4/trunk@15003 3bd1e089-480b-0410-8dfb-8563597acbee
      9ad64a84
  3. 31 Aug, 2010 1 commit
  4. 29 Aug, 2010 1 commit
  5. 11 May, 2010 1 commit
  6. 09 Mar, 2010 1 commit