// This is the SIP interface definition for TQInputDialog. // // Copyright (c) 2007 // Riverbank Computing Limited // // This file is part of PyTQt. // // This copy of PyTQt is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free // Software Foundation; either version 2, or (at your option) any later // version. // // PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with // PyTQt; see the file LICENSE. If not, write to the Free Software Foundation, // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. %ExportedDoc TQInputDialog (TQt v2.1+) static TQString getText const TQString &caption const TQString &label const TQString &text = TQString::null bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the TQString result and the ok flag. (TQt v2.1 - v2.3.1) static TQString getText const TQString &caption const TQString &label TQLineEdit::EchoModeecho const TQString &text = TQString::null bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the TQString result and the ok flag. (TQt v2.2 - v2.3.1) static TQString getText const TQString &caption const TQString &label TQLineEdit::EchoModeecho = TQLineEdit::Normal const TQString &text = TQString::null bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the TQString result and the ok flag. (TQt v3+) static int getInteger const TQString &caption const TQString &label int num = 0 int from = -2147483647 int to = 2147483647 int step = 1 bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the int result and the ok flag. static double getDouble const TQString &caption const TQString &label double num = 0 double from = -2147483647 double to = 2147483647 int step = 1 bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the double result and the ok flag. static TQString getItem const TQString &caption const TQString &label const TQStringList &list int current = 0 bool editable = TRUE bool *ok = 0 TQWidget *parent = 0 const char *name = 0 The ok is not passed and the returned value is a tuple of the TQString result and the ok flag. %End %If (TQt_2_1_0 -) %If (TQt_INPUTDIALOG) class TQInputDialog : TQDialog { %TypeHeaderCode #include %End public: %If (TQt_3_0_0 -) static TQString getText(const TQString &,const TQString &, TQLineEdit::EchoMode = TQLineEdit::Normal, const TQString & = TQString::null, bool * = 0,TQWidget * = 0,const char * = 0); %End %If (- TQt_3_0_0) static TQString getText(const TQString &,const TQString &, const TQString & = TQString::null, bool * = 0,TQWidget * = 0,const char * = 0); %End %If (TQt_2_2_0 - TQt_3_0_0) static TQString getText(const TQString &,const TQString &, TQLineEdit::EchoMode, const TQString & = TQString::null, bool * = 0,TQWidget * = 0,const char * = 0); %End static int getInteger(const TQString &,const TQString &,int = 0, int = -2147483647,int = 2147483647,int = 1, bool * = 0,TQWidget * = 0,const char * = 0); static double getDouble(const TQString &,const TQString &, double = 0,double = -2147483647, double = 2147483647,int = 1, bool * = 0,TQWidget * = 0,const char * = 0); static TQString getItem(const TQString &,const TQString &, const TQStringList &,int = 0,bool = TRUE, bool * = 0,TQWidget * = 0,const char * = 0); private: TQInputDialog(const TQInputDialog &); ~TQInputDialog(); }; %End %End