Преглед на файлове

snapshot for transfer to laptop

Pat Beirne преди 9 години
родител
ревизия
ecc242a54e
променени са 1 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 8 1
      dirnotes

+ 8 - 1
dirnotes

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