瀏覽代碼

Removed unused function

Andreas Fetzer 12 年之前
父節點
當前提交
d3904cbc3c
共有 2 個文件被更改,包括 0 次插入17 次删除
  1. 0 15
      Libs/DICOM/Widgets/ctkDICOMTableManager.cpp
  2. 0 2
      Libs/DICOM/Widgets/ctkDICOMTableManager.h

+ 0 - 15
Libs/DICOM/Widgets/ctkDICOMTableManager.cpp

@@ -171,21 +171,6 @@ void ctkDICOMTableManager::onChangeLayoutPushed()
   }
 }
 
-void ctkDICOMTableManager::changeTableLayout(QBoxLayout::Direction direction)
-{
-  Q_D(ctkDICOMTableManager);
-  d->layoutTables->removeWidget(d->patientsTable);
-  d->layoutTables->removeWidget(d->studiesTable);
-  d->layoutTables->removeWidget(d->seriesTable);
-  delete d->layoutTables;
-
-  d->layoutTables = new QBoxLayout(direction);
-  d->layoutTables->addWidget(d->patientsTable);
-  d->layoutTables->addWidget(d->studiesTable);
-  d->layoutTables->addWidget(d->seriesTable);
-  d->layout->addLayout(d->layoutTables);
-}
-
 void ctkDICOMTableManager::setCTKDICOMDatabase(QSharedPointer<ctkDICOMDatabase> db)
 {
   Q_D(ctkDICOMTableManager);

+ 0 - 2
Libs/DICOM/Widgets/ctkDICOMTableManager.h

@@ -54,8 +54,6 @@ private Q_SLOTS:
   void onChangeLayoutPushed();
 
 private:
-  void changeTableLayout(QBoxLayout::Direction direction);
-
   Q_DECLARE_PRIVATE(ctkDICOMTableManager)
   Q_DISABLE_COPY(ctkDICOMTableManager)
 };