Example #1
0
    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);
        }
    }
Example #2
0
 public void SetCheckState(Qt.CheckState state)
 {
     interceptor.Invoke("setCheckState$", "setCheckState(Qt::CheckState)", typeof(void), typeof(Qt.CheckState), state);
 }
Example #3
0
 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);
 }
Example #4
0
 public void SetCheckState(int column, Qt.CheckState state)
 {
     interceptor.Invoke("setCheckState$$", "setCheckState(int, Qt::CheckState)", typeof(void), typeof(int), column, typeof(Qt.CheckState), state);
 }