Back to index

texmacs  1.0.7.15
Public Slots | Public Member Functions | Private Attributes
QTMInteractiveInputHelper Class Reference

#include <QTMInteractiveInputHelper.hpp>

Collaboration diagram for QTMInteractiveInputHelper:
Collaboration graph
[legend]

List of all members.

Public Slots

void commit (int result)

Public Member Functions

 QTMInteractiveInputHelper (qt_tm_widget_rep *_wid)

Private Attributes

qt_tm_widget_repwid

Detailed Description

Definition at line 19 of file QTMInteractiveInputHelper.hpp.


Constructor & Destructor Documentation

Definition at line 24 of file QTMInteractiveInputHelper.hpp.

                                                           :
    QObject(), wid(_wid) {}

Member Function Documentation

void QTMInteractiveInputHelper::commit ( int  result) [slot]

Definition at line 77 of file qt_tm_widget.cpp.

                                                 {
  if (wid) {
    if (result == QDialog::Accepted) {
      QString item = "#f";
      QComboBox *cb = sender()->findChild<QComboBox*>("input");
      if (cb) {
        item = cb->currentText();
      }      
      ((qt_input_text_widget_rep*) wid->int_input.rep) -> text=
//      scm_quote (from_qstring (item));
      from_qstring (item);
      ((qt_input_text_widget_rep*) wid->int_input.rep) -> cmd ();      
    }
  }
  sender()->deleteLater();
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 21 of file QTMInteractiveInputHelper.hpp.


The documentation for this class was generated from the following files: