U2Panel::U2Panel(QWidget *parent,QString text):QWidget(parent){ skin=NULL; initSkin(); initGlobalVars(); initWindowAttrs(); initPixmapBuffer(); initFonts(); initPinYinDB(); initCursorTimer(); startCursorTimer(); themeDialogShows=FALSE; text_buf=text; if(text_buf.length()>0){ cout<<"text buf length "<<text_buf.length()<<endl; cout<<text_buf<<endl; text_ptr=text_buf.length(); text_order(); text_genePos(); } initClipBoard(); }
SwitchMonitor::SwitchMonitor(QWidget *parent) : QWidget(parent) { initGlobalVars(parent); }
// returns the set of all global scalars // getCompilerGen - if =true, the returned set includes compiler-generated variables and doesn't if =false varIDSet& getGlobalScalars(SgProject* project, bool getCompilerGen) { initGlobalVars(project, getCompilerGen); return globalScalars; }