Qyoto
4.0.6
Qyoto is a C# language binding for Qt
|
The QInputDialog class provides a simple convenience dialog to get a single value from the user. More...
Public Types | |
enum | InputDialogOption { NoButtons = 1, UseListViewForComboBoxItems = 2 } |
More... | |
enum | InputMode { DoubleInput = 2, IntInput = 1, TextInput = 0 } |
More... | |
![]() | |
enum | DialogCode { Accepted = 1, Rejected = 0 } |
More... | |
![]() | |
enum | RenderFlag { DrawChildren = 2, DrawWindowBackground = 1, IgnoreMask = 4 } |
More... | |
Public Member Functions | |
QInputDialog (QWidget parent=null, Qt.WindowType flags=0) | |
| |
override void | CreateProxy () |
override void | Done (int result) |
| |
new void | Open () |
new void | Open (QObject receiver, string member) |
| |
new void | SetComboBoxEditable (bool editable) |
new void | SetDoubleRange (double min, double max) |
| |
new void | SetIntRange (int min, int max) |
| |
new void | SetOption (QInputDialog.InputDialogOption option, bool on=true) |
| |
new bool | TestOption (QInputDialog.InputDialogOption option) |
| |
new void | Dispose () |
![]() | |
QDialog (QWidget parent=null, Qt.WindowType f=0) | |
| |
virtual void | Accept () |
| |
override bool | EventFilter (QObject o, QEvent e) |
| |
new int | Exec () |
| |
new void | Open () |
| |
virtual void | Reject () |
| |
new void | ShowExtension (bool showIt) |
| |
new void | Dispose () |
![]() | |
QWidget (QWidget parent=null, Qt.WindowType f=0) | |
| |
override void | CreateProxy () |
new void | ActivateWindow () |
| |
new void | AddAction (QAction action) |
| |
new void | AddActions (System.Collections.Generic.List< QAction > actions) |
| |
new void | AdjustSize () |
| |
new QWidget | ChildAt (QPoint p) |
| |
new QWidget | ChildAt (int x, int y) |
| |
new void | ClearFocus () |
| |
new void | ClearMask () |
| |
new bool | Close () |
| |
new void | CreateWinId () |
new void | EnsurePolished () |
| |
override bool | OnEvent (QEvent @event) |
| |
new void | GetContentsMargins (ref int left, ref int top, ref int right, ref int bottom) |
| |
new void | GrabGesture (Qt.GestureType type, Qt.GestureFlag flags=0) |
| |
new void | GrabKeyboard () |
| |
new void | GrabMouse () |
| |
new void | GrabMouse (QCursor cursor) |
| |
new int | GrabShortcut (QKeySequence key, Qt.ShortcutContext context=Qt.ShortcutContext.WindowShortcut) |
| |
virtual int | HeightForWidth (int w) |
| |
new void | Hide () |
| |
virtual object | InputMethodQuery (Qt.InputMethodQuery query) |
| |
new void | InsertAction (QAction before, QAction action) |
| |
new void | InsertActions (QAction before, System.Collections.Generic.List< QAction > actions) |
| |
new bool | IsAncestorOf (QWidget child) |
| |
new bool | IsEnabledTo (QWidget ancestor) |
| |
new bool | IsVisibleTo (QWidget ancestor) |
| |
new void | Lower () |
| |
new QPoint | MapFrom (QWidget parent, QPoint pos) |
| |
new QPoint | MapFromGlobal (QPoint pos) |
| |
new QPoint | MapFromParent (QPoint pos) |
| |
new QPoint | MapTo (QWidget parent, QPoint pos) |
| |
new QPoint | MapToGlobal (QPoint pos) |
| |
new QPoint | MapToParent (QPoint pos) |
| |
new void | Move (int x, int y) |
new void | OverrideWindowFlags (Qt.WindowType type) |
| |
new void | OverrideWindowState (Qt.WindowState state) |
new void | Raise () |
| |
virtual void | ReleaseDC (System.IntPtr hdc) |
| |
new void | ReleaseKeyboard () |
| |
new void | ReleaseMouse () |
| |
new void | ReleaseShortcut (int id) |
| |
new void | RemoveAction (QAction action) |
| |
new void | Render (IQPaintDevice target) |
| |
new void | Render (QPainter painter) |
| |
new void | Render (IQPaintDevice target, QPoint targetOffset) |
| |
new void | Render (QPainter painter, QPoint targetOffset) |
| |
new void | Render (IQPaintDevice target, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren) |
| |
new void | Render (QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren) |
| |
new void | Repaint () |
| |
new void | Repaint (QRect rect) |
| |
new void | Repaint (QRegion rgn) |
| |
new void | Repaint (int x, int y, int w, int h) |
| |
new void | Resize (int w, int h) |
new bool | RestoreGeometry (QByteArray geometry) |
| |
new void | Scroll (int dx, int dy) |
| |
new void | Scroll (int dx, int dy, QRect r) |
| |
new void | SetAttribute (Qt.WidgetAttribute attribute, bool on=true) |
| |
new void | SetBaseSize (int basew, int baseh) |
new void | SetContentsMargins (int left, int top, int right, int bottom) |
| |
new void | SetDisabled (bool disable) |
| |
new void | SetFixedHeight (int h) |
| |
new void | SetFixedSize (QSize s) |
| |
new void | SetFixedSize (int w, int h) |
| |
new void | SetFixedWidth (int w) |
| |
new void | SetFocus () |
| |
new void | SetFocus (Qt.FocusReason reason) |
| |
new void | SetGeometry (int x, int y, int w, int h) |
new void | SetHidden (bool hidden) |
| |
new void | SetMask (QBitmap bitmap) |
| |
new void | SetMaximumSize (int maxw, int maxh) |
new void | SetMinimumSize (int minw, int minh) |
new void | SetParent (QWidget parent) |
| |
new void | SetParent (QWidget parent, Qt.WindowType f) |
| |
new void | SetShortcutAutoRepeat (int id, bool enable=true) |
| |
new void | SetShortcutEnabled (int id, bool enable=true) |
| |
new void | SetShown (bool shown) |
| |
new void | SetSizeIncrement (int w, int h) |
new void | SetSizePolicy (QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical) |
new void | Show () |
| |
new void | ShowFullScreen () |
| |
new void | ShowMaximized () |
| |
new void | ShowMinimized () |
| |
new void | ShowNormal () |
| |
new void | StackUnder (QWidget w) |
| |
new bool | TestAttribute (Qt.WidgetAttribute attribute) |
| |
new void | UngrabGesture (Qt.GestureType type) |
| |
new void | UnsetCursor () |
new void | UnsetLayoutDirection () |
new void | UnsetLocale () |
new void | Update () |
| |
new void | Update (QRect rect) |
| |
new void | Update (QRegion rgn) |
| |
new void | Update (int x, int y, int w, int h) |
| |
new void | UpdateGeometry () |
| |
new void | Dispose () |
![]() | |
QObject (QObject parent=null) | |
| |
new bool | BlockSignals (bool b) |
| |
new bool | Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| |
new void | DeleteLater () |
| |
new bool | Disconnect (QObject receiver, string member=null) |
| |
new bool | Disconnect (string signal=null, QObject receiver=null, string member=null) |
| |
new void | DumpObjectInfo () |
| |
new void | DumpObjectTree () |
| |
virtual bool | OnEvent (QEvent e) |
| |
virtual bool | EventFilter (QObject watched, QEvent @event) |
| |
new bool | Inherits (string classname) |
| |
new void | InstallEventFilter (QObject filterObj) |
| |
new void | KillTimer (int id) |
| |
new object | Property (string name) |
| |
new void | RemoveEventFilter (QObject obj) |
| |
new bool | SetProperty (string name, object value) |
| |
new void | SetUserData (uint id, QObjectUserData data) |
new int | StartTimer (int interval) |
| |
new QObjectUserData | UserData (uint id) |
new void | Dispose () |
![]() | |
delegate QTextStream | FuncQTextStreamQTextStream (QTextStream qTextStream) |
delegate void | ActionQtMsgTypeString (QtMsgType qtMsgType, string @string) |
delegate QObject | FuncQObject () |
delegate string | FuncStringQByteArray (QByteArray qByteArray) |
delegate QByteArray | FuncQByteArrayString (string @string) |
![]() | |
void | ReleaseDC (System.IntPtr hdc) |
Static Public Member Functions | |
static double | GetDouble (QWidget parent, string title, string label, double value=0, double minValue=-2147483647, double maxValue=2147483647, int decimals=1) |
| |
static double | GetDouble (QWidget parent, string title, string label, double value, double minValue, double maxValue, int decimals, ref bool ok, Qt.WindowType flags=0) |
| |
static int | GetInt (QWidget parent, string title, string label, int value=0, int minValue=-2147483647, int maxValue=2147483647, int step=1) |
| |
static int | GetInt (QWidget parent, string title, string label, int value, int minValue, int maxValue, int step, ref bool ok, Qt.WindowType flags=0) |
| |
static int | GetInteger (QWidget parent, string title, string label, int value=0, int minValue=-2147483647, int maxValue=2147483647, int step=1) |
| |
static int | GetInteger (QWidget parent, string title, string label, int value, int minValue, int maxValue, int step, ref bool ok, Qt.WindowType flags=0) |
| |
static string | GetItem (QWidget parent, string title, string label, System.Collections.Generic.List< string > items, int current=0, bool editable=true) |
| |
static string | GetItem (QWidget parent, string title, string label, System.Collections.Generic.List< string > items, int current, bool editable, ref bool ok, Qt.WindowType flags=0) |
| |
static string | GetItem (QWidget parent, string title, string label, System.Collections.Generic.List< string > items, int current, bool editable, ref bool ok, Qt.WindowType flags, Qt.InputMethodHint inputMethodHints) |
| |
static string | GetText (QWidget parent, string title, string label, QLineEdit.EchoMode echo=QLineEdit.EchoMode.Normal, string text="") |
| |
static string | GetText (QWidget parent, string title, string label, QLineEdit.EchoMode echo, string text, ref bool ok, Qt.WindowType flags=0) |
| |
static string | GetText (QWidget parent, string title, string label, QLineEdit.EchoMode echo, string text, ref bool ok, Qt.WindowType flags, Qt.InputMethodHint inputMethodHints) |
| |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
![]() | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
![]() | |
static QWidget | Find (NativeULong id) |
| |
static void | SetTabOrder (QWidget first, QWidget second) |
| |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
![]() | |
static bool | Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| |
static bool | Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| |
static bool | Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member) |
| |
static bool | Disconnect (QObject sender, string signal, QObject receiver, string member) |
| |
static string | Tr (string s, string c=null) |
| |
static string | Tr (string s, string c, int n) |
| |
static string | TrUtf8 (string s, string c=null) |
| |
static string | TrUtf8 (string s, string c, int n) |
| |
![]() | |
static QDataStream | Write (QDataStream s, object p) |
static QDataStream | Write (QDataStream stream, QSizeF size) |
| |
static QDataStream | Write (QDataStream stream, QPoint point) |
| |
static QTextStream | Write (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Write (QDataStream stream, QLineF line) |
| |
static QDataStream | Write (QDataStream stream, QPointF point) |
| |
static QDataStream | Write (QDataStream @out, QChar chr) |
| |
static QDataStream | Write (QDataStream @out, QByteArray ba) |
| |
static QDataStream | Write (QDataStream stream, QEasingCurve easing) |
| |
static QDataStream | Write (QDataStream stream, QRectF rectangle) |
| |
static QDataStream | Write (QDataStream @out, QDateTime dateTime) |
| |
static QDataStream | Write (QDataStream @out, QUrl url) |
| |
static QDataStream | Write (QDataStream @out, QTime time) |
| |
static QDataStream | Write (QDataStream arg1, QLocale arg2) |
static QDataStream | Write (QDataStream @out, QBitArray ba) |
| |
static QDataStream | Write (QDataStream s, QUuid id) |
| |
static QDataStream | Write (QDataStream stream, QLine line) |
| |
static QDataStream | Write (QDataStream @out, QDate date) |
| |
static QDataStream | Write (QDataStream @out, QRegExp regExp) |
| |
static QDataStream | Write (QDataStream stream, QRect rectangle) |
| |
static QDataStream | Write (QDataStream stream, QSize size) |
| |
static QDataStream | Write (QDataStream s, QVariant.Type p) |
static QDataStream | Write (QDataStream arg1, string arg2) |
static QDataStream | Write (QDataStream @out, System.Collections.Generic.List< string > list) |
| |
static QDataStream | Read (QDataStream @in, QChar chr) |
| |
static QDataStream | Read (QDataStream arg1, QLocale arg2) |
static QDataStream | Read (QDataStream stream, QRect rectangle) |
| |
static QDataStream | Read (QDataStream arg1, QEasingCurve arg2) |
static QDataStream | Read (QDataStream @in, QDate date) |
| |
static QDataStream | Read (QDataStream @in, QUrl url) |
| |
static QDataStream | Read (QDataStream s, QUuid id) |
| |
static QTextStream | Read (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Read (QDataStream stream, QLineF line) |
| |
static QDataStream | Read (QDataStream stream, QRectF rectangle) |
| |
static QDataStream | Read (QDataStream stream, QPointF point) |
| |
static QDataStream | Read (QDataStream stream, QLine line) |
| |
static QDataStream | Read (QDataStream @in, QBitArray ba) |
| |
static QDataStream | Read (QDataStream stream, QSize size) |
| |
static QDataStream | Read (QDataStream @in, QDateTime dateTime) |
| |
static QDataStream | Read (QDataStream @in, QTime time) |
| |
static QDataStream | Read (QDataStream stream, QPoint point) |
| |
static QDataStream | Read (QDataStream @in, QRegExp regExp) |
| |
static QDataStream | Read (QDataStream s, object p) |
static QDataStream | Read (QDataStream @in, QByteArray ba) |
| |
static QDataStream | Read (QDataStream stream, QSizeF size) |
| |
static QDataStream | Read (QDataStream arg1, string arg2) |
static QDataStream | Read (QDataStream s, QVariant.Type p) |
static QDataStream | Read (QDataStream @in, System.Collections.Generic.List< string > list) |
| |
static double | QAcos (double v) |
| |
static void | QAddPostRoutine (System.Action ptr) |
| |
static double | QAsin (double v) |
| |
static double | QAtan (double v) |
| |
static double | QAtan2 (double x, double y) |
| |
static void | QBadAlloc () |
static int | QCeil (double v) |
| |
static ushort | QChecksum (string s, uint len) |
| |
static QByteArray | QCompress (QByteArray data, int compressionLevel=-1) |
| |
static QByteArray | QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1) |
| |
static double | QCos (double v) |
| |
static double | QExp (double v) |
| |
static double | QFabs (double v) |
static double | QFastCos (double x) |
static double | QFastSin (double x) |
static string | QFlagLocation (string method) |
static int | QFloor (double v) |
| |
static bool | QFuzzyCompare (double p1, double p2) |
static bool | QFuzzyCompare (float p1, float p2) |
static bool | QFuzzyIsNull (double d) |
static bool | QFuzzyIsNull (float f) |
static uint | QHash (QBitArray key) |
| |
static uint | QHash (QChar key) |
| |
static uint | QHash (QStringRef key) |
static uint | QHash (QUrl url) |
| |
static uint | QHash (QPersistentModelIndex index) |
static uint | QHash (QByteArray key) |
| |
static uint | QHash (QModelIndex index) |
static uint | QHash (uint key) |
| |
static uint | QHash (char key) |
| |
static uint | QHash (byte key) |
| |
static uint | QHash (short key) |
| |
static uint | QHash (NativeLong key) |
| |
static uint | QHash (ushort key) |
| |
static uint | QHash (long key) |
| |
static uint | QHash (ulong key) |
| |
static uint | QHash (int key) |
| |
static uint | QHash (string key) |
| |
static uint | QHash (NativeULong key) |
| |
static Qt.ActionQtMsgTypeString | QInstallMsgHandler (Qt.ActionQtMsgTypeString arg1) |
static int | QIntCast (float f) |
static int | QIntCast (double f) |
static bool | QIsFinite (double d) |
static bool | QIsFinite (float f) |
static bool | QIsInf (float f) |
static bool | QIsInf (double d) |
static bool | QIsNaN (float f) |
static bool | QIsNaN (double d) |
static bool | QIsNull (float f) |
static bool | QIsNull (double d) |
static double | QLn (double v) |
| |
static double | QPow (double x, double y) |
| |
static void | QRegisterStaticPluginInstanceFunction (Qt.FuncQObject function) |
| |
static void | QRemovePostRoutine (System.Action arg1) |
static int | QRound (double d) |
static long | QRound64 (double d) |
static double | QSin (double v) |
| |
static double | QSqrt (double v) |
| |
static bool | QStringComparisonHelper (QStringRef s1, string s2) |
static double | QTan (double v) |
| |
static QByteArray | QUncompress (QByteArray data) |
| |
static QByteArray | QUncompress (Pointer< byte > data, int nbytes) |
| |
static void | Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size) |
static QByteArray | Qgetenv (string varName) |
static bool | Qputenv (string varName, QByteArray value) |
static void | Qsrand (uint seed) |
static int | Qstrcmp (QByteArray str1, QByteArray str2) |
static int | Qstrcmp (QByteArray str1, string str2) |
static int | Qstrcmp (string str1, QByteArray str2) |
static int | Qstrcmp (string str1, string str2) |
| |
static Pointer< sbyte > | Qstrcpy (Pointer< sbyte > dst, string src) |
| |
static Pointer< sbyte > | Qstrdup (string src) |
| |
static int | Qstricmp (string str1, string str2) |
| |
static uint | Qstrlen (string str) |
| |
static int | Qstrncmp (string str1, string str2, uint len) |
| |
static Pointer< sbyte > | Qstrncpy (Pointer< sbyte > dst, string src, uint len) |
| |
static int | Qstrnicmp (string str1, string str2, uint len) |
| |
static uint | Qstrnlen (string str, uint maxlen) |
| |
static string | QtTrId (string id, int n=-1) |
Protected Member Functions | |
QInputDialog (System.Type dummy) | |
new void | OnDoubleValueChanged (double value) |
| |
new void | OnDoubleValueSelected (double value) |
| |
new void | OnIntValueChanged (int value) |
| |
new void | OnIntValueSelected (int value) |
| |
new void | OnTextValueChanged (string text) |
| |
new void | OnTextValueSelected (string text) |
| |
![]() | |
QDialog (System.Type dummy) | |
new void | OnAccepted () |
| |
new void | AdjustPosition (QWidget arg1) |
override void | OnCloseEvent (QCloseEvent e) |
| |
override void | OnContextMenuEvent (QContextMenuEvent e) |
| |
new void | OnFinished (int result) |
| |
override void | OnKeyPressEvent (QKeyEvent e) |
| |
new void | OnRejected () |
| |
override void | OnResizeEvent (QResizeEvent @event) |
| |
override void | OnShowEvent (QShowEvent @event) |
| |
![]() | |
QWidget (System.Type dummy) | |
virtual void | OnActionEvent (QActionEvent @event) |
| |
virtual void | OnChangeEvent (QEvent @event) |
| |
virtual void | OnCloseEvent (QCloseEvent @event) |
| |
virtual void | OnContextMenuEvent (QContextMenuEvent @event) |
| |
new void | Create () |
| |
new void | Create (NativeULong window, bool initializeWindow=true, bool destroyOldWindow=true) |
| |
new void | OnCustomContextMenuRequested (QPoint pos) |
| |
new void | Destroy (bool destroyWindow=true, bool destroySubWindows=true) |
| |
virtual void | OnDragEnterEvent (QDragEnterEvent @event) |
| |
virtual void | OnDragLeaveEvent (QDragLeaveEvent @event) |
| |
virtual void | OnDragMoveEvent (QDragMoveEvent @event) |
| |
virtual void | OnDropEvent (QDropEvent @event) |
| |
virtual void | EnabledChange (bool arg1) |
virtual void | OnEnterEvent (QEvent @event) |
| |
virtual void | OnFocusInEvent (QFocusEvent @event) |
| |
virtual bool | FocusNextPrevChild (bool next) |
| |
virtual void | OnFocusOutEvent (QFocusEvent @event) |
| |
virtual void | FontChange (QFont arg1) |
virtual void | OnHideEvent (QHideEvent @event) |
| |
virtual void | OnInputMethodEvent (QInputMethodEvent @event) |
| |
virtual void | OnKeyPressEvent (QKeyEvent @event) |
| |
virtual void | OnKeyReleaseEvent (QKeyEvent @event) |
| |
virtual void | LanguageChange () |
| |
virtual void | OnLeaveEvent (QEvent @event) |
| |
virtual int | Metric (QPaintDevice.PaintDeviceMetric m) |
| |
virtual void | OnMouseDoubleClickEvent (QMouseEvent @event) |
| |
virtual void | OnMouseMoveEvent (QMouseEvent @event) |
| |
virtual void | OnMousePressEvent (QMouseEvent @event) |
| |
virtual void | OnMouseReleaseEvent (QMouseEvent @event) |
| |
virtual void | OnMoveEvent (QMoveEvent @event) |
| |
virtual void | OnPaintEvent (QPaintEvent @event) |
| |
virtual void | PaletteChange (QPalette arg1) |
new void | ResetInputContext () |
| |
virtual void | StyleChange (QStyle arg1) |
virtual void | OnTabletEvent (QTabletEvent @event) |
| |
new void | UpdateMicroFocus () |
| |
virtual void | OnWheelEvent (QWheelEvent @event) |
| |
virtual void | WindowActivationChange (bool arg1) |
![]() | |
QObject (System.Type dummy) | |
virtual void | OnChildEvent (QChildEvent @event) |
| |
virtual void | ConnectNotify (string signal) |
| |
virtual void | OnCustomEvent (QEvent @event) |
| |
new void | OnDestroyed (QObject obj=null) |
| |
virtual void | DisconnectNotify (string signal) |
| |
new int | Receivers (string signal) |
| |
virtual void | OnTimerEvent (QTimerEvent @event) |
| |
Properties | |
Slot< System.String > | TextValueChanged |
| |
Slot< System.String > | TextValueSelected |
| |
Slot< System.Int32 > | IntValueChanged |
| |
Slot< System.Int32 > | IntValueSelected |
| |
Slot< System.Double > | DoubleValueChanged |
| |
Slot< System.Double > | DoubleValueSelected |
| |
string | CancelButtonText [get, set] |
System.Collections.Generic.List < string > | ComboBoxItems [get, set] |
int | DoubleDecimals [get, set] |
double | DoubleMaximum [get, set] |
double | DoubleMinimum [get, set] |
double | DoubleValue [get, set] |
QInputDialog.InputMode | inputMode [get, set] |
int | IntMaximum [get, set] |
int | IntMinimum [get, set] |
int | IntStep [get, set] |
int | IntValue [get, set] |
string | LabelText [get, set] |
string | OkButtonText [get, set] |
QInputDialog.InputDialogOption | Options [get, set] |
QLineEdit.EchoMode | TextEchoMode [get, set] |
string | TextValue [get, set] |
override bool | Visible [get, set] |
| |
override QSize | MinimumSizeHint [get] |
| |
override QSize | SizeHint [get] |
| |
bool | IsComboBoxEditable [get] |
static new QMetaObject | StaticMetaObject [get] |
new IQInputDialogSignals | Emit [get] |
![]() | |
Slot< System.Int32 > | Finished |
| |
Slot | Accepted |
| |
Slot | Rejected |
| |
QWidget | Extension [get, set] |
| |
Qt.Orientation | Orientation [get, set] |
| |
int | Result [get, set] |
| |
override bool | Visible [get, set] |
| |
override QSize | MinimumSizeHint [get] |
| |
override QSize | SizeHint [get] |
| |
new bool | SizeGripEnabled [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new IQDialogSignals | Emit [get] |
![]() | |
virtual EventHandler < QEventArgs< QActionEvent > > | ActionEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | ChangeEvent |
| |
virtual EventHandler < QEventArgs< QCloseEvent > > | CloseEvent |
| |
virtual EventHandler < QEventArgs < QContextMenuEvent > > | ContextMenuEvent |
| |
virtual EventHandler < QEventArgs< QDragEnterEvent > > | DragEnterEvent |
| |
virtual EventHandler < QEventArgs< QDragLeaveEvent > > | DragLeaveEvent |
| |
virtual EventHandler < QEventArgs< QDragMoveEvent > > | DragMoveEvent |
| |
virtual EventHandler < QEventArgs< QDropEvent > > | DropEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | EnterEvent |
| |
virtual EventHandler < QEventArgs< QFocusEvent > > | FocusInEvent |
| |
virtual EventHandler < QEventArgs< QFocusEvent > > | FocusOutEvent |
| |
virtual EventHandler < QEventArgs< QHideEvent > > | HideEvent |
| |
virtual EventHandler < QEventArgs < QInputMethodEvent > > | InputMethodEvent |
| |
virtual EventHandler < QEventArgs< QKeyEvent > > | KeyPressEvent |
| |
virtual EventHandler < QEventArgs< QKeyEvent > > | KeyReleaseEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | LeaveEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseDoubleClickEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseMoveEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MousePressEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseReleaseEvent |
| |
virtual EventHandler < QEventArgs< QMoveEvent > > | MoveEvent |
| |
virtual EventHandler < QEventArgs< QPaintEvent > > | PaintEvent |
| |
virtual EventHandler < QEventArgs< QResizeEvent > > | ResizeEvent |
| |
virtual EventHandler < QEventArgs< QShowEvent > > | ShowEvent |
| |
virtual EventHandler < QEventArgs< QTabletEvent > > | TabletEvent |
| |
virtual EventHandler < QEventArgs< QWheelEvent > > | WheelEvent |
| |
Slot< QPoint > | CustomContextMenuRequested |
| |
QPalette.ColorRole | BackgroundRole [get, set] |
| |
QMargins | ContentsMargins [get, set] |
| |
QWidget | FocusProxy [get, set] |
| |
QPalette.ColorRole | ForegroundRole [get, set] |
| |
QGraphicsEffect | GraphicsEffect [get, set] |
| |
QInputContext | InputContext [get, set] |
| |
QLayout | Layout [get, set] |
| |
QRegion | Mask [get, set] |
| |
QStyle | Style [get, set] |
| |
Qt.WindowType | WindowFlags [get, set] |
string | WindowRole [get, set] |
| |
Qt.WindowState | WindowState [get, set] |
| |
virtual int | DevType [get] |
virtual System.IntPtr | GetDC [get] |
| |
virtual QPaintEngine | PaintEngine [get] |
| |
int | ColorCount [get] |
int | Depth [get] |
int | HeightMM [get] |
int | LogicalDpiX [get] |
int | LogicalDpiY [get] |
int | NumColors [get] |
bool | PaintingActive [get] |
int | PhysicalDpiX [get] |
int | PhysicalDpiY [get] |
int | WidthMM [get] |
System.Collections.Generic.List < QAction > | Actions [get] |
| |
QRect | ContentsRect [get] |
| |
NativeULong | EffectiveWinId [get] |
| |
bool | FocusNextChild [get] |
| |
bool | FocusPreviousChild [get] |
| |
QWidget | FocusWidget [get] |
| |
QFontInfo | FontInfo [get] |
| |
QFontMetrics | FontMetrics [get] |
| |
QGraphicsProxyWidget | GraphicsProxyWidget [get] |
| |
NativeULong | InternalWinId [get] |
bool | IsEnabledToTLW [get] |
| |
bool | IsHidden [get] |
| |
bool | IsLeftToRight [get] |
bool | IsRightToLeft [get] |
bool | IsTopLevel [get] |
| |
bool | IsWindow [get] |
| |
static QWidget | KeyboardGrabber [get] |
| |
virtual QSize | MinimumSizeHint [get] |
static QWidget | MouseGrabber [get] |
| |
QWidget | NativeParentWidget [get] |
| |
QWidget | NextInFocusChain [get] |
| |
QWidget | ParentWidget [get] |
| |
QWidget | PreviousInFocusChain [get] |
| |
QByteArray | SaveGeometry [get] |
| |
virtual QSize | SizeHint [get] |
QWidget | TopLevelWidget [get] |
| |
bool | UnderMouse [get] |
| |
QRegion | VisibleRegion [get] |
| |
NativeULong | WinId [get] |
| |
QWidget | Window [get] |
| |
Qt.WindowType | WindowType [get] |
| |
new bool | Modal [get] |
| |
new Qt.WindowModality | WindowModality [get, set] |
| |
new bool | Enabled [get, set] |
| |
new QRect | Geometry [get, set] |
| |
new QRect | FrameGeometry [get] |
| |
new QRect | NormalGeometry [get] |
| |
new int | X [get] |
| |
new int | Y [get] |
| |
new QPoint | Pos [get, set] |
| |
new QSize | FrameSize [get] |
| |
new QSize | Size [get, set] |
| |
new int | Width [get] |
| |
new int | Height [get] |
| |
new QRect | Rect [get] |
| |
new QRect | ChildrenRect [get] |
| |
new QRegion | ChildrenRegion [get] |
| |
new QSizePolicy | SizePolicy [get, set] |
| |
new QSize | MinimumSize [get, set] |
| |
new QSize | MaximumSize [get, set] |
| |
new int | MinimumWidth [get, set] |
| |
new int | MinimumHeight [get, set] |
| |
new int | MaximumWidth [get, set] |
| |
new int | MaximumHeight [get, set] |
| |
new QSize | SizeIncrement [get, set] |
| |
new QSize | BaseSize [get, set] |
| |
new QPalette | Palette [get, set] |
| |
new QFont | Font [get, set] |
| |
new QCursor | Cursor [get, set] |
| |
new bool | MouseTracking [get, set] |
| |
new bool | IsActiveWindow [get] |
| |
new Qt.FocusPolicy | FocusPolicy [get, set] |
| |
new bool | Focus [get] |
| |
new Qt.ContextMenuPolicy | ContextMenuPolicy [get, set] |
| |
new bool | UpdatesEnabled [get, set] |
| |
virtual new bool | Visible [get, set] |
| |
new bool | Minimized [get] |
| |
new bool | Maximized [get] |
| |
new bool | FullScreen [get] |
| |
new bool | AcceptDrops [get, set] |
| |
new string | WindowTitle [get, set] |
| |
new QIcon | WindowIcon [get, set] |
| |
new string | WindowIconText [get, set] |
| |
new double | WindowOpacity [get, set] |
| |
new bool | WindowModified [get, set] |
| |
new string | ToolTip [get, set] |
| |
new string | StatusTip [get, set] |
| |
new string | WhatsThis [get, set] |
| |
new string | AccessibleName [get, set] |
| |
new string | AccessibleDescription [get, set] |
| |
new Qt.LayoutDirection | LayoutDirection [get, set] |
| |
new bool | AutoFillBackground [get, set] |
| |
new string | StyleSheet [get, set] |
| |
new QLocale | Locale [get, set] |
| |
new string | WindowFilePath [get, set] |
| |
new Qt.InputMethodHint | InputMethodHints [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new ushort | Painters [get, set] |
new IQWidgetSignals | Emit [get] |
![]() | |
virtual EventHandler < QEventArgs< QChildEvent > > | ChildEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | CustomEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | Event |
| |
virtual EventHandler < QEventArgs< QTimerEvent > > | TimerEvent |
| |
Slot< QObject > | DestroyedQObject |
Slot | Destroyed |
| |
QObject | Parent [get, set] |
| |
System.Collections.Generic.List < QObject > | Children [get] |
| |
System.Collections.Generic.List < QByteArray > | DynamicPropertyNames [get] |
| |
bool | IsWidgetType [get] |
| |
static uint | RegisterUserData [get] |
QObject | Sender [get] |
| |
int | SenderSignalIndex [get] |
| |
bool | SignalsBlocked [get] |
| |
virtual System.IntPtr | SmokeObject [get, set] |
new string | ObjectName [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
| |
static new QMetaObject | StaticQtMetaObject [get] |
new IQObjectSignals | Emit [get] |
![]() | |
static string | QAppName [get] |
static double | QInf [get] |
static double | QQNaN [get] |
static double | QSNaN [get] |
static bool | QSharedBuild [get] |
static string | QVersion [get] |
static int | Qrand [get] |
![]() | |
System.Int32 | ColorCount [get] |
| |
System.Int32 | Depth [get] |
| |
System.Int32 | DevType [get] |
System.IntPtr | GetDC [get] |
System.Int32 | Height [get] |
| |
System.Int32 | HeightMM [get] |
| |
System.Int32 | LogicalDpiX [get] |
| |
System.Int32 | LogicalDpiY [get] |
| |
System.Int32 | NumColors [get] |
| |
QPaintEngine | PaintEngine [get] |
| |
System.Boolean | PaintingActive [get] |
| |
System.Int32 | PhysicalDpiX [get] |
| |
System.Int32 | PhysicalDpiY [get] |
| |
System.Int32 | Width [get] |
| |
System.Int32 | WidthMM [get] |
| |
Additional Inherited Members | |
![]() | |
object | Q_EMIT = null |
SmokeInvocation | interceptor |
readonly List< QEventHandler > | eventFilters = new List<QEventHandler>() |
The QInputDialog class provides a simple convenience dialog to get a single value from the user.
The input value can be a string, a number or an item from a list. A label must be set to tell the user what they should enter.
Four static convenience functions are provided: getText(), getInt(), getDouble(), and getItem(). All the functions can be used in a similar way, for example:
bool ok;
QString text = QInputDialog::getText(this, tr("QInputDialog::getText()"),
tr("User name:"), QLineEdit::Normal,
QDir::home().dirName(), &ok);
if (ok && !text.isEmpty())
textLabel->setText(text);
The ok variable is set to true if the user clicks OK; otherwise it is set to false.
The Standard Dialogs example shows how to use QInputDialog as well as other built-in Qt dialogs.
See also QMessageBox and Standard Dialogs Example.
This enum specifies various options that affect the look and feel of an input dialog.
This enum was introduced or modified in Qt 4.5.
See also options, setOption(), and testOption().
This enum describes the different modes of input that can be selected for the dialog.
This enum was introduced or modified in Qt 4.5.
See also inputMode.
|
protected |
QtGui.QInputDialog.QInputDialog | ( | QWidget | parent = null , |
Qt.WindowType | flags = 0 |
||
) |
Constructs a new input dialog with the given parent and window flags.
This function was introduced in Qt 4.5.
|
virtual |
Reimplemented from QtGui.QDialog.
new void QtGui.QInputDialog.Dispose | ( | ) |
|
virtual |
Reimplemented from QDialog::done().
Closes the dialog and sets its result code to result. If this dialog is shown with exec(), done() causes the local event loop to finish, and exec() to return result.
See also QDialog::done().
Reimplemented from QtGui.QDialog.
|
static |
Static convenience function to get a floating point number from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). value is the default floating point number that the line edit will be set to. min and max are the minimum and maximum values the user may choose. decimals is the maximum number of decimal places the number may have.
If ok is nonnull, *ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
This function returns the floating point number which has been entered by the user.
Use this static function like this:
bool ok;
double d = QInputDialog::getDouble(this, tr("QInputDialog::getDouble()"),
tr("Amount:"), 37.56, -10000, 10000, 2, &ok);
if (ok)
doubleLabel->setText(QString("$%1").arg(d));
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getText(), getInt(), and getItem().
|
static |
Static convenience function to get a floating point number from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). value is the default floating point number that the line edit will be set to. min and max are the minimum and maximum values the user may choose. decimals is the maximum number of decimal places the number may have.
If ok is nonnull, *ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
This function returns the floating point number which has been entered by the user.
Use this static function like this:
bool ok;
double d = QInputDialog::getDouble(this, tr("QInputDialog::getDouble()"),
tr("Amount:"), 37.56, -10000, 10000, 2, &ok);
if (ok)
doubleLabel->setText(QString("$%1").arg(d));
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getText(), getInt(), and getItem().
|
static |
Static convenience function to get an integer input from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). value is the default integer which the spinbox will be set to. min and max are the minimum and maximum values the user may choose. step is the amount by which the values change as the user presses the arrow buttons to increment or decrement the value.
If ok is nonnull *ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
On success, this function returns the integer which has been entered by the user; on failure, it returns the initial value.
Use this static function like this:
bool ok;
int i = QInputDialog::getInt(this, tr("QInputDialog::getInteger()"),
tr("Percentage:"), 25, 0, 100, 1, &ok);
if (ok)
integerLabel->setText(tr("%1%").arg(i));
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
This function was introduced in Qt 4.5.
See also getText(), getDouble(), and getItem().
|
static |
Static convenience function to get an integer input from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). value is the default integer which the spinbox will be set to. min and max are the minimum and maximum values the user may choose. step is the amount by which the values change as the user presses the arrow buttons to increment or decrement the value.
If ok is nonnull *ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
On success, this function returns the integer which has been entered by the user; on failure, it returns the initial value.
Use this static function like this:
bool ok;
int i = QInputDialog::getInt(this, tr("QInputDialog::getInteger()"),
tr("Percentage:"), 25, 0, 100, 1, &ok);
if (ok)
integerLabel->setText(tr("%1%").arg(i));
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
This function was introduced in Qt 4.5.
See also getText(), getDouble(), and getItem().
|
static |
Use getInt() instead.
|
static |
Use getInt() instead.
|
static |
Static convenience function to let the user select an item from a string list.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). items is the string list which is inserted into the combobox. current is the number of the item which should be the current item. inputMethodHints is the input method hints that will be used if the combobox is editable and an input method is active.
If editable is true the user can enter their own text; otherwise the user may only select one of the existing items.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
This function returns the text of the current item, or if editable is true, the current text of the combobox.
Use this static function like this:
QStringList items;
items << tr("Spring") << tr("Summer") << tr("Fall") << tr("Winter");
bool ok;
QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
tr("Season:"), items, 0, false, &ok);
if (ok && !item.isEmpty())
itemLabel->setText(item);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getText(), getInt(), and getDouble().
|
static |
Static convenience function to let the user select an item from a string list.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). items is the string list which is inserted into the combobox. current is the number of the item which should be the current item. inputMethodHints is the input method hints that will be used if the combobox is editable and an input method is active.
If editable is true the user can enter their own text; otherwise the user may only select one of the existing items.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
This function returns the text of the current item, or if editable is true, the current text of the combobox.
Use this static function like this:
QStringList items;
items << tr("Spring") << tr("Summer") << tr("Fall") << tr("Winter");
bool ok;
QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
tr("Season:"), items, 0, false, &ok);
if (ok && !item.isEmpty())
itemLabel->setText(item);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getText(), getInt(), and getDouble().
|
static |
Static convenience function to let the user select an item from a string list.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). items is the string list which is inserted into the combobox. current is the number of the item which should be the current item. inputMethodHints is the input method hints that will be used if the combobox is editable and an input method is active.
If editable is true the user can enter their own text; otherwise the user may only select one of the existing items.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the widget flags.
This function returns the text of the current item, or if editable is true, the current text of the combobox.
Use this static function like this:
QStringList items;
items << tr("Spring") << tr("Summer") << tr("Fall") << tr("Winter");
bool ok;
QString item = QInputDialog::getItem(this, tr("QInputDialog::getItem()"),
tr("Season:"), items, 0, false, &ok);
if (ok && !item.isEmpty())
itemLabel->setText(item);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getText(), getInt(), and getDouble().
|
static |
Static convenience function to get a string from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). text is the default text which is placed in the line edit. mode is the echo mode the line edit will use. inputMethodHints is the input method hints that will be used in the edit widget if an input method is active.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the specified widget flags.
If the dialog is accepted, this function returns the text in the dialog's line edit. If the dialog is rejected, a null QString is returned.
Use this static function like this:
bool ok;
QString text = QInputDialog::getText(this, tr("QInputDialog::getText()"),
tr("User name:"), QLineEdit::Normal,
QDir::home().dirName(), &ok);
if (ok && !text.isEmpty())
textLabel->setText(text);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getInt(), getDouble(), and getItem().
|
static |
Static convenience function to get a string from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). text is the default text which is placed in the line edit. mode is the echo mode the line edit will use. inputMethodHints is the input method hints that will be used in the edit widget if an input method is active.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the specified widget flags.
If the dialog is accepted, this function returns the text in the dialog's line edit. If the dialog is rejected, a null QString is returned.
Use this static function like this:
bool ok;
QString text = QInputDialog::getText(this, tr("QInputDialog::getText()"),
tr("User name:"), QLineEdit::Normal,
QDir::home().dirName(), &ok);
if (ok && !text.isEmpty())
textLabel->setText(text);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getInt(), getDouble(), and getItem().
|
static |
Static convenience function to get a string from the user.
title is the text which is displayed in the title bar of the dialog. label is the text which is shown to the user (it should say what should be entered). text is the default text which is placed in the line edit. mode is the echo mode the line edit will use. inputMethodHints is the input method hints that will be used in the edit widget if an input method is active.
If ok is nonnull *a ok will be set to true if the user pressed OK and to false if the user pressed Cancel. The dialog's parent is parent. The dialog will be modal and uses the specified widget flags.
If the dialog is accepted, this function returns the text in the dialog's line edit. If the dialog is rejected, a null QString is returned.
Use this static function like this:
bool ok;
QString text = QInputDialog::getText(this, tr("QInputDialog::getText()"),
tr("User name:"), QLineEdit::Normal,
QDir::home().dirName(), &ok);
if (ok && !text.isEmpty())
textLabel->setText(text);
Warning: Do not delete parent during the execution of the dialog. If you want to do this, you should create the dialog yourself using one of the QInputDialog constructors.
See also getInt(), getDouble(), and getItem().
|
protected |
This signal is emitted whenever the double value changes in the dialog. The current value is specified by value.
This signal is only relevant when the input dialog is used in DoubleInput mode.
|
protected |
This signal is emitted whenever the user selects a double value by accepting the dialog; for example, by clicking the OK button. The selected value is specified by value.
This signal is only relevant when the input dialog is used in DoubleInput mode.
|
protected |
This signal is emitted whenever the integer value changes in the dialog. The current value is specified by value.
This signal is only relevant when the input dialog is used in IntInput mode.
|
protected |
This signal is emitted whenever the user selects a integer value by accepting the dialog; for example, by clicking the OK button. The selected value is specified by value.
This signal is only relevant when the input dialog is used in IntInput mode.
|
protected |
This signal is emitted whenever the text string changes in the dialog. The current string is specified by text.
This signal is only relevant when the input dialog is used in TextInput mode.
|
protected |
This signal is emitted whenever the user selects a text string by accepting the dialog; for example, by clicking the OK button. The selected string is specified by text.
This signal is only relevant when the input dialog is used in TextInput mode.
new void QtGui.QInputDialog.Open | ( | ) |
new void QtGui.QInputDialog.Open | ( | QObject | receiver, |
string | member | ||
) |
This is an overloaded function.
This function connects one of its signals to the slot specified by receiver and member. The specific signal depends on the arguments that are specified in member. These are:
textValueSelected() if member has a QString for its first argument.
intValueSelected() if member has an int for its first argument.
doubleValueSelected() if member has a double for its first argument.
accepted() if member has NO arguments.
The signal will be disconnected from the slot when the dialog is closed.
This function was introduced in Qt 4.5.
new void QtGui.QInputDialog.SetComboBoxEditable | ( | bool | editable | ) |
new void QtGui.QInputDialog.SetDoubleRange | ( | double | min, |
double | max | ||
) |
Sets the range of double precision floating point values accepted by the dialog when used in DoubleInput mode, with minimum and maximum values specified by min and max respectively.
new void QtGui.QInputDialog.SetIntRange | ( | int | min, |
int | max | ||
) |
Sets the range of integer values accepted by the dialog when used in IntInput mode, with minimum and maximum values specified by min and max respectively.
new void QtGui.QInputDialog.SetOption | ( | QInputDialog.InputDialogOption | option, |
bool | on = true |
||
) |
Sets the given option to be enabled if on is true; otherwise, clears the given option.
See also options and testOption().
new bool QtGui.QInputDialog.TestOption | ( | QInputDialog.InputDialogOption | option | ) |
Returns true if the given option is enabled; otherwise, returns false.
See also options and setOption().
|
static |
|
static |
|
static |
|
static |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
addremove |
This signal is emitted whenever the double value changes in the dialog. The current value is specified by value.
This signal is only relevant when the input dialog is used in DoubleInput mode.
|
addremove |
This signal is emitted whenever the user selects a double value by accepting the dialog; for example, by clicking the OK button. The selected value is specified by value.
This signal is only relevant when the input dialog is used in DoubleInput mode.
|
getprotected |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
addremove |
This signal is emitted whenever the integer value changes in the dialog. The current value is specified by value.
This signal is only relevant when the input dialog is used in IntInput mode.
|
addremove |
This signal is emitted whenever the user selects a integer value by accepting the dialog; for example, by clicking the OK button. The selected value is specified by value.
This signal is only relevant when the input dialog is used in IntInput mode.
|
get |
|
getset |
|
get |
Reimplemented from QWidget::minimumSizeHint().
|
getset |
|
getset |
|
get |
Reimplemented from QWidget::sizeHint().
|
staticget |
|
getset |
|
getset |
|
addremove |
This signal is emitted whenever the text string changes in the dialog. The current string is specified by text.
This signal is only relevant when the input dialog is used in TextInput mode.
|
addremove |
This signal is emitted whenever the user selects a text string by accepting the dialog; for example, by clicking the OK button. The selected string is specified by text.
This signal is only relevant when the input dialog is used in TextInput mode.
|
getset |
Reimplemented from QWidget::setVisible().