guck

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

status.cc (383B)


      1 #include "status.hh"
      2 
      3 
      4 void
      5 status_t::on_tab_change()
      6 {
      7 
      8 }
      9 
     10 void
     11 status_t::on_set_text(const QString& text)
     12 {
     13     m_text.setText(text);
     14 }
     15 
     16 void
     17 status_t::resize()
     18 {
     19     auto size = m_parent.size();
     20     if (size.height() > TAB_HEIGHT) {
     21         QWidget::move(0, size.height() - TAB_HEIGHT);
     22         QWidget::resize(size.width(), STATUSBAR_HEIGHT);
     23     }
     24 }
     25 
     26 void
     27 status_t::draw()
     28 {
     29 
     30 }