Logo Search packages:      
Sourcecode: lemonpos-kde4 version File versions  Download package

void lemon::enableUi (  )  [private, slot]

Slot used to enable the UI (kposview_base widget)

Definition at line 380 of file lemon.cpp.

Referenced by reactOnLogOn().

{
  m_view->setEnabled(true);
  QAction *action = actionCollection()->action("enterCode");
  action->setEnabled(true);
  action = actionCollection()->action("searchItem");
  action->setEnabled(true);
  action = actionCollection()->action("deleteSelectedItem");
  action->setEnabled(true);
  action = actionCollection()->action("finishTransaction");
  action->setEnabled(true);
  action = actionCollection()->action("cancelTransaction");
  action->setEnabled(true);
  action = actionCollection()->action("balance");
  action->setEnabled(true);
  action = actionCollection()->action("payFocus");
  action->setEnabled(true);
  action = actionCollection()->action("cancelTicket");
  action->setEnabled(true);
  action = actionCollection()->action("showProductsGrid");
  action->setEnabled(true);
}


Generated by  Doxygen 1.6.0   Back to index