guck

Vim-like QtWebEngine-powered browser, written in C++
git clone git://git.deurzen.net/guck
Log | Files | Refs | LICENSE

position.hh (426B)


      1 #ifndef __GUCK__BROWSER__STATUSBAR__POSITION__GUARD__
      2 #define __GUCK__BROWSER__STATUSBAR__POSITION__GUARD__
      3 
      4 #include "textbase.hh"
      5 
      6 
      7 class position_t : public textbase_t
      8 {
      9     Q_OBJECT
     10 
     11 public:
     12     position_t(QWidget& parent)
     13         : textbase_t(parent),
     14           m_parent(parent)
     15     {
     16         textbase_t::setText("[top]");
     17     }
     18 
     19 private:
     20     QWidget& m_parent;
     21 
     22 };
     23 
     24 #endif//__GUCK__BROWSER__STATUSBAR__POSITION__GUARD__