ScratchPad 0 0 500 600 Scratchpad Copy or write some C/C++ code here: Courier New 10 Optionally enter a filename (mainly for automatic language detection) and click on "Check": 0 0 0 0 Qt::Horizontal 40 20 filename Check 0 0 Qt::Horizontal QDialogButtonBox::Close mButtonBox rejected() ScratchPad reject() 20 20 20 20