|
@@ -171,11 +171,18 @@ class DirNotes(QMainWindow):
|
|
dirRight.setMaximumWidth(200)
|
|
dirRight.setMaximumWidth(200)
|
|
dirRight.setEnabled(False)
|
|
dirRight.setEnabled(False)
|
|
|
|
|
|
|
|
+ rDate = QRadioButton("Sort by date",win)
|
|
|
|
+ rSize = QRadioButton("Sort by size",win)
|
|
|
|
+
|
|
layout = QVBoxLayout()
|
|
layout = QVBoxLayout()
|
|
upperLayout = QHBoxLayout()
|
|
upperLayout = QHBoxLayout()
|
|
|
|
+ innerLayout = QVBoxLayout()
|
|
layout.addWidget(e)
|
|
layout.addWidget(e)
|
|
upperLayout.addWidget(dirLeft)
|
|
upperLayout.addWidget(dirLeft)
|
|
- upperLayout.addWidget(b1)
|
|
|
|
|
|
+ innerLayout.addWidget(rDate)
|
|
|
|
+ innerLayout.addWidget(rSize)
|
|
|
|
+ innerLayout.addWidget(b1)
|
|
|
|
+ upperLayout.addLayout(innerLayout)
|
|
upperLayout.addWidget(dirRight)
|
|
upperLayout.addWidget(dirRight)
|
|
layout.addLayout(upperLayout)
|
|
layout.addLayout(upperLayout)
|
|
layout.addWidget(lb)
|
|
layout.addWidget(lb)
|