• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • sources
  • kde-4.14
  • kdeedu
  • parley
  • src
  • editor
imagechooserwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  Copyright 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
4 
5  ***************************************************************************/
6 
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef IMAGECHOOSERWIDGET_H
17 #define IMAGECHOOSERWIDGET_H
18 
19 
20 #include "ui_imagechooserwidget.h"
21 
22 class KEduVocExpression;
23 
24 namespace Editor
25 {
26 
27 class ImageChooserWidget : public QWidget, public Ui::ImageChooserWidget
28 {
29  Q_OBJECT
30 public:
31  explicit ImageChooserWidget(QWidget* parent = 0);
32 
33 public slots:
39  void setTranslation(KEduVocExpression* entry, int translation);
40 
41 // signals:
42 // /**
43 // * Important to let other widgets know that a certain word type is edited (might make conjugations/comparison/declension appear)
44 // * @param
45 // */
46 // void imageChanged(const QString&);
47 
48 private slots:
49  void slotImageChanged(const QString & url);
50 
51 protected:
52  bool eventFilter(QObject *obj, QEvent *event);
53 
54 private:
56  int m_currentTranslation;
58  KEduVocExpression* m_entry;
59 
60 };
61 }
62 #endif
QEvent
QWidget
Editor::ImageChooserWidget::setTranslation
void setTranslation(KEduVocExpression *entry, int translation)
Update the word.
Definition: imagechooserwidget.cpp:38
Editor::ImageChooserWidget::ImageChooserWidget
ImageChooserWidget(QWidget *parent=0)
Definition: imagechooserwidget.cpp:26
QObject
QString
Editor::ImageChooserWidget::eventFilter
bool eventFilter(QObject *obj, QEvent *event)
Definition: imagechooserwidget.cpp:75
Editor::ImageChooserWidget
Definition: imagechooserwidget.h:27
QObject::parent
QObject * parent() const
QWidget::event
virtual bool event(QEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal