/// <remarks> /// Specify if the content of the page is valid, and if the next button may be enabled on this page. /// By default all pages are valid. /// This will disable or enable the next button on the specified page /// <param> name="page" the page on which the next button will be enabled/disable /// </param><param> name="enable" if true the next button will be enabled, if false it will be disabled /// </param></remarks> <short> Specify if the content of the page is valid, and if the next button may be enabled on this page.</short> public void SetValid(KPageWidgetItem page, bool enable) { interceptor.Invoke("setValid#$", "setValid(KPageWidgetItem*, bool)", typeof(void), typeof(KPageWidgetItem), page, typeof(bool), enable); }
/// <remarks> /// return if a page is valid /// <param> name="page" the page to check the validity of /// </param></remarks> <short> return if a page is valid </short> /// <see> setValid</see> public bool IsValid(KPageWidgetItem page) { return (bool) interceptor.Invoke("isValid#", "isValid(KPageWidgetItem*) const", typeof(bool), typeof(KPageWidgetItem), page); }
/// <remarks> /// Specify whether a page is appropriate. /// A page is considered inappropriate if it should not be shown due to /// the contents of other pages making it inappropriate. /// A page which is inappropriate will not be shown. /// The last page in an assistant dialog should always be appropriate /// <param> name="page" the page to set as appropriate /// </param><param> name="appropriate" flag indicating the appropriateness of the page. /// If <code>appropriate</code> is true, then <code>page</code> is appropriate and will be /// shown in the assistant dialog. If false, <code>page</code> will not be shown. /// </param></remarks> <short> Specify whether a page is appropriate.</short> public void SetAppropriate(KPageWidgetItem page, bool appropriate) { interceptor.Invoke("setAppropriate#$", "setAppropriate(KPageWidgetItem*, bool)", typeof(void), typeof(KPageWidgetItem), page, typeof(bool), appropriate); }
/// <remarks> /// Adds a new top level page to the model. /// <param> name="item" The @see KPageWidgetItem which describes the page. /// </param></remarks> <short> Adds a new top level page to the model.</short> public void AddPage(KPageWidgetItem item) { interceptor.Invoke("addPage#", "addPage(KPageWidgetItem*)", typeof(void), typeof(KPageWidgetItem), item); }
/// <remarks> /// Check if a page is appropriate for use in the assistant dialog. /// <param> name="page" is the page to check the appropriateness of. /// </param></remarks> <return> true if <code>page</code> is appropriate, false if it is not /// </return> /// <short> Check if a page is appropriate for use in the assistant dialog.</short> public bool IsAppropriate(KPageWidgetItem page) { return (bool) interceptor.Invoke("isAppropriate#", "isAppropriate(KPageWidgetItem*) const", typeof(bool), typeof(KPageWidgetItem), page); }
/// <remarks> /// Inserts a new page in the model. /// <param> name="before" The new page will be insert before this @see KPageWidgetItem /// on the same level in hierarchy. /// </param><param> name="item" The @see KPageWidgetItem which describes the page. /// </param></remarks> <short> Inserts a new page in the model.</short> public void InsertPage(KPageWidgetItem before, KPageWidgetItem item) { interceptor.Invoke("insertPage##", "insertPage(KPageWidgetItem*, KPageWidgetItem*)", typeof(void), typeof(KPageWidgetItem), before, typeof(KPageWidgetItem), item); }
/// <remarks> /// Removes the page associated with the given @see KPageWidgetItem. /// </remarks> <short> Removes the page associated with the given @see KPageWidgetItem.</short> public void RemovePage(KPageWidgetItem item) { interceptor.Invoke("removePage#", "removePage(KPageWidgetItem*)", typeof(void), typeof(KPageWidgetItem), item); }
/// <remarks> /// Inserts a new page in the model. /// <param> name="before" The new page will be insert before this @see KPageWidgetItem /// on the same level in hierarchy. /// </param><param> name="widget" The widget of the page. /// </param><param> name="name" The name which is displayed in the navigation view. /// </param></remarks> <return> The associated @see KPageWidgetItem. /// </return> /// <short> Inserts a new page in the model.</short> public KPageWidgetItem InsertPage(KPageWidgetItem before, QWidget widget, string name) { return (KPageWidgetItem) interceptor.Invoke("insertPage##$", "insertPage(KPageWidgetItem*, QWidget*, const QString&)", typeof(KPageWidgetItem), typeof(KPageWidgetItem), before, typeof(QWidget), widget, typeof(string), name); }
/// <remarks> /// Returns the index for a given @see KPageWidgetItem. The index is invalid if the /// item can't be found in the model. /// </remarks> <short> Returns the index for a given @see KPageWidgetItem.</short> public QModelIndex Index(KPageWidgetItem item) { return (QModelIndex) interceptor.Invoke("index#", "index(const KPageWidgetItem*) const", typeof(QModelIndex), typeof(KPageWidgetItem), item); }
/// <remarks> /// Inserts a new sub page in the model. /// <param> name="parent" The new page will be insert as child of this @see KPageWidgetItem. /// </param><param> name="item" The @see KPageWidgetItem which describes the page. /// </param></remarks> <short> Inserts a new sub page in the model.</short> public void AddSubPage(KPageWidgetItem parent, KPageWidgetItem item) { interceptor.Invoke("addSubPage##", "addSubPage(KPageWidgetItem*, KPageWidgetItem*)", typeof(void), typeof(KPageWidgetItem), parent, typeof(KPageWidgetItem), item); }
/// <remarks> /// Inserts a new sub page in the model. /// <param> name="parent" The new page will be insert as child of this @see KPageWidgetItem. /// </param><param> name="widget" The widget of the page. /// </param><param> name="name" The name which is displayed in the navigation view. /// </param></remarks> <return> The associated @see KPageWidgetItem. /// </return> /// <short> Inserts a new sub page in the model.</short> public KPageWidgetItem AddSubPage(KPageWidgetItem parent, QWidget widget, string name) { return (KPageWidgetItem) interceptor.Invoke("addSubPage##$", "addSubPage(KPageWidgetItem*, QWidget*, const QString&)", typeof(KPageWidgetItem), typeof(KPageWidgetItem), parent, typeof(QWidget), widget, typeof(string), name); }
/// <remarks> /// Sets the page which is associated with the given @see KPageWidgetItem to /// be the current page and emits the currentPageChanged() signal. /// </remarks> <short> Sets the page which is associated with the given @see KPageWidgetItem to be the current page and emits the currentPageChanged() signal.</short> public void SetCurrentPage(KPageWidgetItem item) { interceptor.Invoke("setCurrentPage#", "setCurrentPage(KPageWidgetItem*)", typeof(void), typeof(KPageWidgetItem), item); }