| 34 | } |
| 35 | |
| 36 | const QStringList CDlgDesktopSize::GetDesktopSize() |
| 37 | { |
| 38 | m_lstDesktopSize.clear(); |
| 39 | for(int i = 0; i < m_pModel->rowCount(); i++) |
| 40 | { |
| 41 | QModelIndex index = m_pModel->index(i, 0); |
| 42 | QString s = m_pModel->data(index).toString(); |
| 43 | if(checkFormat(s)) |
| 44 | m_lstDesktopSize << s; |
| 45 | } |
| 46 | return m_lstDesktopSize; |
| 47 | } |
| 48 | |
| 49 | void CDlgDesktopSize::on_pbAdd_clicked() |
| 50 | { |