Sha256: c1a6b3355f37c816e94157f53cc87ef8a0ed246a8f1baaab4bd564d8ef203ff5
Contents?: true
Size: 350 Bytes
Versions: 15
Compression:
Stored size: 350 Bytes
Contents
# Qt-specific accept/reject. Including class must provide #result module Clevic module AcceptReject def accepted? [ Qt::Dialog::Accepted, Qt::MessageBox::Yes, Qt::MessageBox::Ok ].include?( result ) end def rejected? [ Qt::Dialog::Rejected, Qt::MessageBox::No, Qt::MessageBox::Cancel ].include?( result ) end end end
Version data entries
15 entries across 15 versions & 1 rubygems