code: def minLength( self, orientation ):
          
          padding         = self.padStart() + self.padEnd()
          count           = len(self.notches())
          notch_padding   = self.notchPadding()
          
          if ( orientation == Qt.Horizontal ):
              section     = self.maxNotchSize(Qt.Vertical)
          else:
              section     = self.maxNotchSize(Qt.Horizontal)
          
          return notch_padding * count + section * count + padding
docs: Returns the minimum length for this ruler based on its notches and the
          given orientation.
          
          :param      orientation | <Qt.Orientation>
          
          :return     <int>