You asked
Should I switch from the pentax k 7 to mirrorless?
Here is what the site says about that.
From Pentax K-7: Pentax K-7: A DSLR by Pentax with a 14.6-megapixel APS-C sensor, announced in 2009. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 14.6 megapixels - Stabilisation: in the body - Announced: 2009 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, 23mm like 35mm, 33mm like 50mm, 57mm like ...
From Pentax K-01: Pentax K-01: A mirrorless camera by Pentax with a 16.3-megapixel APS-C sensor, announced in 2012. Pentax's only K-mount mirrorless camera, designed by Marc Newson, with no viewfinder.
Quoted from this site's pages.