private void IsGoogleAppsToggled(int _state) { Qt.CheckState state = (Qt.CheckState)Enum.ToObject(typeof(Qt.CheckState),_state); if (state == Qt.CheckState.Unchecked) { main.GoogleAppsAccountName.SetDisabled(true); } else if (state == Qt.CheckState.Checked) { main.GoogleAppsAccountName.SetDisabled(false); } }
public void SetCheckState(Qt.CheckState state) { interceptor.Invoke("setCheckState$", "setCheckState(Qt::CheckState)", typeof(void), typeof(Qt.CheckState), state); }
protected virtual void DrawCheck(QPainter painter, QStyleOptionViewItem option, QRect rect, Qt.CheckState state) { interceptor.Invoke("drawCheck###$", "drawCheck(QPainter*, const QStyleOptionViewItem&, const QRect&, Qt::CheckState) const", typeof(void), typeof(QPainter), painter, typeof(QStyleOptionViewItem), option, typeof(QRect), rect, typeof(Qt.CheckState), state); }
public void SetCheckState(int column, Qt.CheckState state) { interceptor.Invoke("setCheckState$$", "setCheckState(int, Qt::CheckState)", typeof(void), typeof(int), column, typeof(Qt.CheckState), state); }