| 194 | ///////////////////////// SequenceFileDialog |
| 195 | |
| 196 | SequenceFileDialog::SequenceFileDialog( QWidget* parent, // necessary to transmit the stylesheet to the dialog |
| 197 | const std::vector<std::string> & filters, // the user accepted file types |
| 198 | bool isSequenceDialog, // true if this dialog can display sequences |
| 199 | FileDialogModeEnum mode, // if it is an open or save dialog |
| 200 | const std::string & currentDirectory, // the directory to show first |
| 201 | Gui* gui, |
| 202 | bool allowRelativePaths) |
| 203 | : QDialog(parent) |
| 204 | , _filters() |
| 205 | , _view(0) |
| 206 | , _itemDelegate( new SequenceItemDelegate(this) ) |
| 207 | , _model() |
| 208 | , _favoriteViewModel( new QFileSystemModel() ) |
| 209 | , _lookinViewModel( new QFileSystemModel() ) |
| 210 | , _mainLayout(0) |
| 211 | , _requestedDir() |
| 212 | , _lookInLabel(0) |
| 213 | , _lookInCombobox(0) |
| 214 | , _previousButton(0) |
| 215 | , _nextButton(0) |
| 216 | , _upButton(0) |
| 217 | , _createDirButton(0) |
| 218 | , _openButton(0) |
| 219 | , _cancelButton(0) |
| 220 | , _addFavoriteButton(0) |
| 221 | , _removeFavoriteButton(0) |
| 222 | , _selectionLineEdit(0) |
| 223 | , _relativeLabel(0) |
| 224 | , _relativeChoice(0) |
| 225 | , _sequenceButton(0) |
| 226 | , _filterLabel(0) |
| 227 | , _filterLineEdit(0) |
| 228 | , _filterDropDown(0) |
| 229 | , _fileExtensionCombo(0) |
| 230 | , _buttonsLayout(0) |
| 231 | , _centerLayout(0) |
| 232 | , _favoriteLayout(0) |
| 233 | , _favoriteButtonsLayout(0) |
| 234 | , _selectionLayout(0) |
| 235 | , _filterLineLayout(0) |
| 236 | , _filterLayout(0) |
| 237 | , _buttonsWidget(0) |
| 238 | , _favoriteWidget(0) |
| 239 | , _favoriteButtonsWidget(0) |
| 240 | , _selectionWidget(0) |
| 241 | , _filterLineWidget(0) |
| 242 | , _filterWidget(0) |
| 243 | , _favoriteView(0) |
| 244 | , _centerSplitter(0) |
| 245 | , _history() |
| 246 | , _currentHistoryLocation(-1) |
| 247 | , _showHiddenAction(0) |
| 248 | , _newFolderAction(0) |
| 249 | , _dialogMode(mode) |
| 250 | , _centerArea(0) |
| 251 | , _centerAreaLayout(0) |
| 252 | , _togglePreviewButton(0) |
| 253 | , _preview() |
nothing calls this directly
no test coverage detected