MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / exec

Method exec

DSView/pv/dialogs/dsdialog.cpp:127–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int DSDialog::exec()
128{
129 //ok,cancel
130 if (m_bBaseButton){
131 _base_button = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,Qt::Horizontal, this);
132 _main_layout->addWidget(_base_button);//, 5, 1, 1, 1, Qt::AlignHCenter | Qt::AlignBottom);
133 //_main_layout->addWidget(_base_button,0, Qt::AlignHCenter | Qt::AlignBottom);
134 connect(_base_button, SIGNAL(rejected()), this, SLOT(reject()));
135 connect(_base_button, SIGNAL(accepted()), this, SLOT(accept()));
136 }
137
138 update_font();
139
140 PopupDlgList::AddDlgTolist(this);
141
142 return QDialog::exec();
143}
144
145 void DSDialog::SetTitleSpace(int h)
146 {

Callers 15

notifyMethod · 0.45
mainFunction · 0.45
on_session_errorMethod · 0.45
show_docMethod · 0.45
mousePressEventMethod · 0.45
create_popupMethod · 0.45
show_contextmenuMethod · 0.45
on_configureMethod · 0.45
on_collect_modeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected