- Timestamp:
- Nov 30, 2021 9:01:57 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 148536
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.cpp ¶
r92640 r92641 118 118 , m_pMainLayout(0) 119 119 , m_pVerticalSplitter(0) 120 , m_pFileTableSplitter(0) 120 121 , m_pToolBar(0) 121 122 , m_pVerticalToolBar(0) … … 184 185 if (m_fShowToolbar) 185 186 prepareToolBar(); 186 /* Two widgets are inserted into this splitter. Upper pWidget widget is a container with file tables and all the panels187 except the log panel and lower widget is the log panel: */188 187 m_pVerticalSplitter = new QSplitter; 189 188 if (!m_pVerticalSplitter) … … 216 215 m_pGuestFileTable->setEnabled(false); 217 216 217 /* This widget hosts host file table and vertical toolbar. */ 218 QWidget *pHostTableAndVerticalToolbarWidget = new QWidget; 219 QHBoxLayout *pHostTableAndVerticalToolbarLayout = new QHBoxLayout(pHostTableAndVerticalToolbarWidget); 220 pHostTableAndVerticalToolbarLayout->setSpacing(0); 221 pHostTableAndVerticalToolbarLayout->setContentsMargins(0, 0, 0, 0); 222 218 223 m_pHostFileTable = new UIFileManagerHostTable(m_pActionPool); 219 224 if (m_pHostFileTable) … … 223 228 connect(m_pHostFileTable, &UIFileManagerHostTable::sigDeleteConfirmationOptionChanged, 224 229 this, &UIFileManager::sltHandleOptionsUpdated); 225 p FileTableContainerLayout->addWidget(m_pHostFileTable);230 pHostTableAndVerticalToolbarLayout->addWidget(m_pHostFileTable); 226 231 } 227 prepareVerticalToolBar(pFileTableContainerLayout); 232 pFileTableContainerLayout->addWidget(pHostTableAndVerticalToolbarWidget); 233 prepareVerticalToolBar(pHostTableAndVerticalToolbarLayout); 228 234 if (m_pGuestFileTable) 229 235 { … … 260 266 m_pVerticalSplitter->addWidget(pTopWidget); 261 267 262 m_pOperationsPanel = 263 new UIFileManagerOperationsPanel; 268 m_pOperationsPanel = new UIFileManagerOperationsPanel; 264 269 if (m_pOperationsPanel) 265 270 { … … 338 343 this, &UIFileManager::sltCopyHostToGuest); 339 344 } 340 341 345 if (m_pGuestSessionPanel) 342 346 { … … 351 355 connect(m_pOptionsPanel, &UIFileManagerOptionsPanel::sigHidePanel, 352 356 this, &UIFileManager::sltHandleHidePanel); 353 354 357 if (m_pLogPanel) 355 358 connect(m_pLogPanel, &UIFileManagerLogPanel::sigHidePanel, -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.h ¶
r92640 r92641 183 183 QVBoxLayout *m_pMainLayout; 184 184 QSplitter *m_pVerticalSplitter; 185 /** Splitter hosting host and guest file system tables. */ 186 QSplitter *m_pFileTableSplitter; 185 187 QIToolBar *m_pToolBar; 186 188 QIToolBar *m_pVerticalToolBar;
Note:
See TracChangeset
for help on using the changeset viewer.