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

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

Slot used to load an image file and assign it to the store logo.

Definition at line 427 of file lemon.cpp.

Referenced by optionsPreferences().

{
  QString fname = KFileDialog::getOpenFileName();
  if (!fname.isEmpty()) {
    ui_store_data.kcfg_editLogoFileName->setText(fname);
    ui_store_data.toolButton->setIcon(QIcon(fname));
  }
}


Generated by  Doxygen 1.6.0   Back to index