-
Notifications
You must be signed in to change notification settings - Fork 12
/
main.qml
892 lines (803 loc) · 31.2 KB
/
main.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
/*
Pdf2Word is a GUI tool to Libreoffice CMD tool to convert pdf to Editable word
'rtf', 'doc', 'docx'
Copyright (C) <2018> <Sultan Al-Issai> Aka ~ foxoman
www.foxoman.net || [email protected]
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import QtQuick 2.11
import QtQuick.Controls 2.4
import QtQuick.Window 2.4
import QtQuick.Layouts 1.3
import Qt.labs.platform 1.0
import Process 1.0
import FileIO 1.0
ApplicationWindow {
id: root
visible: true
width: 280
height: 350
title: qsTr("Pdf to Word Converter")
// Disable ApplicationWindow Scaling
maximumWidth: 280
maximumHeight: 350
minimumHeight: 350
minimumWidth: 280
// Always start the app window in the middle of the desktop screen
x: (Screen.width - width) / 2
y: (Screen.height - height) / 2
property string fileUrl: "" // Pdf File Path
property string fileName: "" // Pdf File name
property string officeBin: "" // LibreOffice Main bin per platform
// Documents Folder in OS
property url docFolder: StandardPaths.writableLocation(
StandardPaths.DocumentsLocation)
property string wordType: "docx" // rtf, doc, docx
property bool terminated: false
Component.onCompleted: {
//console.log(docFolder)
// Setup LibreOffice Main Bin based on OS
if (Qt.platform.os === "linux") {
// Linux
officeBin = "soffice"
}
if (Qt.platform.os === "osx") {
// MacOS
officeBin = "/Applications/LibreOffice.app/Contents/MacOS/soffice"
}
}
// Command Line Process Interface from C++
Process {
id: process
property string output: ""
onStarted: {
stack.clean()
stack.push(convertPage)
terminated = false
}
onFinished: {
if (terminated === true) {
stack.clean()
stack.push(welcomePage)
notify.send(qsTr("Conversion Terminated"))
} else {
stack.clean()
stack.push(donePage)
notify.send(qsTr("Your PDF has been converted"))
}
}
onReadyRead: {
output = process.readAll()
//console.log(output)
}
}
/** Notify in Linux ***/
// FIXME: need to setup notification support in other platform
Process {
id: notify
function send(msg) {
notify.start("notify-send", [qsTr("PDf to Word"), msg])
}
}
// File Dialog to Select PDF File
FileDialog {
id: openDialog
title: qsTr("Please choose a pdf file")
fileMode: FileDialog.OpenFile
selectedNameFilter.index: 1
onAccepted: {
// Get the File path and Name
fileUrl = file.toString().replace("file://", "")
fileName = appHelper.fileNameFromPath(file.toString())
// Push the Confirmation Screen
stack.clean()
stack.push(confirmPage)
}
nameFilters: ["Pdf files (*.pdf)"]
// Always choose the Documents Folder based on OS
folder: docFolder
}
// Main Toolbar
header: ToolBar {
id: headbar
height: 35
// Fix a bug with white line in top of the ToolBar using fusion theme
Rectangle {
x: -10
height: 1
width: root.width + 10
color: "#2a2b2c"
}
RowLayout {
anchors.fill: parent
// Back Button
ToolButton {
id: backBtn
enabled: true
font.family: "fontAwesome"
text: {
if (stack.currentItem.objectName === "welcomePage") {
""
} else {
"\uf053"
}
}
onClicked: {
aboutBtn.enabled = true
backBtn.enabled = false
stack.clean() // Go Back
}
font.bold: true
font.pixelSize: headbar.height / 3
hoverEnabled: true
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Back")
}
RowLayout {
Layout.fillWidth: true
width: headbar.width
Label {
text: "Pdf"
horizontalAlignment: Qt.AlignRight
verticalAlignment: Qt.AlignVCenter
Layout.fillWidth: true
font.pixelSize: headbar.height
color: Qt.lighter("red")
font.bold: true
font.family: "Cookie"
style: Text.Raised
}
Label {
text: "to"
horizontalAlignment: Qt.AlignHCenter
verticalAlignment: Qt.AlignVCenter
//Layout.fillWidth: true
font.pixelSize: headbar.height
color: Qt.lighter("gray")
font.bold: true
font.family: "Cookie"
style: Text.Raised
}
Label {
text: "Word"
horizontalAlignment: Qt.AlignLeft
verticalAlignment: Qt.AlignVCenter
Layout.fillWidth: true
font.pixelSize: headbar.height
color: Qt.lighter("blue")
font.bold: true
font.family: "Cookie"
style: Text.Raised
}
}
// About and Settings page
ToolButton {
id: aboutBtn
font.family: "fontAwesome"
onClicked: {
stack.clean()
stack.push(aboutPage)
}
font.bold: true
// Disable it in About Page and keept it enabled in others
enabled: (stack.currentItem.objectName === "aboutPage") ? false : true
text: {
if (stack.currentItem.objectName === "aboutPage") {
""
} else {
"\uf013"
}
}
font.pixelSize: headbar.height / 3
hoverEnabled: true
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("About Pdf to Word")
}
}
}
// Stack veiw to hold the pages view in the screen
StackView {
id: stack
anchors.fill: parent
initialItem: welcomePage
function clean() {
if (stack.depth == 1) {
return
}
// check if target page already is on the stack
var targetIsUninitialized = false
if (!stack.get(stack.depth - 2)) {
targetIsUninitialized = true
}
var page = pop()
if (targetIsUninitialized) {
stack.currentItem.init()
}
// do cleanup from previous page
//page.cleanup()
} // popOnePage
}
// Welcome Page
Component {
id: welcomePage
Item {
objectName: "welcomePage"
Component.onCompleted: {
aboutBtn.enabled = true
backBtn.enabled = false
}
Item {
id: welcomePan
anchors.fill: parent
anchors.margins: 20
// Drop Mouse Area
MouseArea {
anchors.fill: parent
hoverEnabled: true
enabled: !dropArea.enabled
onContainsMouseChanged: dropArea.enabled = true
}
// Drop Area
DropArea {
id: dropArea
anchors.fill: parent
onEntered: {
// Ensure at least one file is supported before accepted the drag
// Loop through Multiple Drop Items and select the first valid one
for (var i = 0; i < drag.urls.length; i++) {
if (validateFileExtension(drag.urls[i])) {
fileUrl = drag.urls[i].toString().replace(
"file://", "")
fileName = appHelper.fileNameFromPath(
drag.urls[i].toString())
// If all ok accsept the drop
drag.accepted = true
pdficon.color = Qt.lighter("green") // Show green icon
pdficon.text = "\uf1c1" // Chaneg the file icon to pdf icon
break
} else {
// Back to default state
pdficon.color = "red"
pdficon.text = "\uf15b"
dropArea.enabled = false
}
}
}
onExited: {
pdficon.color = "#B2B2B2"
pdficon.text = "\uf15b"
}
onDropped: {
pdficon.color = "#B2B2B2"
pdficon.text = "\uf15b"
stack.clean()
stack.push(confirmPage) // Go to confirmPage
}
// Only pdf
function validateFileExtension(filePath) {
return filePath.split('.').pop() === "pdf"
}
}
ColumnLayout {
anchors.fill: parent
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Welcome to \"Pdf to Word\" Converter\nConvert PDF to editable Word files")
Layout.alignment: Qt.AlignHCenter
font.bold: true
style: Text.Raised
}
Item {
height: 10
}
// pdf icon
Label {
id: pdficon
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf15b"
font.pixelSize: 80
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
Behavior on color {
ColorAnimation {
duration: 1000
}
}
}
Item {
height: 4
}
// UP Icon
Label {
id: upIcon
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf0a6"
font.pixelSize: 20
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Drag and Drop Here")
Layout.alignment: Qt.AlignHCenter
font.pixelSize: 14
font.bold: true
style: Text.Raised
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Or select a pdf file using your system file browser")
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
// Down Icon
Label {
id: downIcon
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf0a7"
font.pixelSize: 20
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
// Select Pdf File Button
RoundButton {
text: "\uf1c1"
font.family: "fontAwesome"
highlighted: true
onClicked: openDialog.open()
font.bold: true
Layout.alignment: Qt.AlignHCenter
//anchors.bottom: welcomePan.bottom
anchors.bottomMargin: 1
hoverEnabled: true
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: qsTr("Select a pdf file")
}
}
}
}
}
// Confirm page
Component {
id: confirmPage
Item {
objectName: "confirmPage"
Component.onCompleted: {
aboutBtn.enabled = true
backBtn.enabled = true
}
Item {
id: confirmPan
anchors.fill: parent
anchors.margins: 20
ColumnLayout {
anchors.fill: parent
// pdf icon
Label {
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf1c1"
font.pixelSize: 80
Layout.alignment: Qt.AlignHCenter
color: Qt.lighter("red")
style: Text.Raised
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Selected PDF File:")
Layout.alignment: Qt.AlignHCenter
font.pixelSize: 14
font.bold: true
style: Text.Raised
}
// file name
Label {
width: confirmPan.width
text: fileName
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Qt.lighter("red")
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
padding: 6
horizontalAlignment: Text.AlignHCenter
font.italic: true
style: Text.Raised
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("To be converted to: ")
Layout.alignment: Qt.AlignHCenter
font.pixelSize: 14
font.bold: true
style: Text.Raised
}
ButtonGroup {
id: radioGroup
}
Row {
Layout.alignment: Qt.AlignHCenter
RadioButton {
checked: true
text: qsTr("docx")
ButtonGroup.group: radioGroup
onCheckedChanged: wordType = text
}
RadioButton {
text: qsTr("doc")
ButtonGroup.group: radioGroup
onCheckedChanged: wordType = text
}
RadioButton {
text: qsTr("rtf")
ButtonGroup.group: radioGroup
onCheckedChanged: wordType = text
}
}
Item {
height: 10
}
// convert button
Button {
text: qsTr("Convert")
highlighted: true
Layout.alignment: Qt.AlignHCenter
//anchors.bottom: parent.bottom
anchors.bottomMargin: 8
onClicked: process.start(
officeBin,
["--infilter=writer_pdf_import", "--convert-to", wordType, fileUrl, "--outdir", docFolder, "--headless", "--invisible", "--norestore"])
}
}
}
}
}
// Convert page
Component {
id: convertPage
Item {
objectName: "convertPage"
Component.onCompleted: {
aboutBtn.enabled = false
backBtn.enabled = false
}
Item {
id: convertPan
anchors.fill: parent
anchors.margins: 20
ColumnLayout {
anchors.fill: parent
BlockLoader {
Layout.alignment: Qt.AlignHCenter
width: 80
height: 50
}
Item {
height: 10
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Converting PDF to WORD")
Layout.alignment: Qt.AlignHCenter
font.bold: true
font.pixelSize: 14
style: Text.Raised
}
// file name
Label {
width: convertPan.width
text: fileName
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Qt.lighter("red")
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
padding: 6
horizontalAlignment: Text.AlignHCenter
font.italic: true
style: Text.Raised
}
Label {
width: convertPan.width
text: qsTr("Kindly wait or cancel using the bellow button")
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
padding: 6
horizontalAlignment: Text.AlignHCenter
style: Text.Raised
}
Label {
id: downIcon
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf0a7"
font.pixelSize: 20
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
Item {
height: 10
}
// Cancel button
Button {
text: qsTr("Cancel")
highlighted: true
Layout.alignment: Qt.AlignHCenter
onClicked: {
process.kill()
terminated = true
}
//anchors.bottom: convertPan.bottom
anchors.bottomMargin: 8
}
}
}
}
}
// Done Page
Component {
id: donePage
Item {
objectName: "donePage"
Component.onCompleted: {
aboutBtn.enabled = true
backBtn.enabled = true
}
Item {
id: donePan
anchors.fill: parent
anchors.margins: 20
ColumnLayout {
anchors.fill: parent
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Your PDF has been converted")
Layout.alignment: Qt.AlignHCenter
font.pixelSize: 14
font.bold: true
style: Text.Raised
color: Qt.lighter("green")
}
// Word Icon
Label {
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf1c2"
font.pixelSize: 80
Layout.alignment: Qt.AlignHCenter
color: Qt.lighter("blue")
style: Text.Raised
}
Label {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: qsTr("Generated File: ")
Layout.alignment: Qt.AlignHCenter
font.pixelSize: 14
font.bold: true
style: Text.Raised
}
// Generated file name
Label {
text: fileName.replace(".pdf", "." + wordType)
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
font.italic: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
style: Text.Raised
color: Qt.lighter("blue")
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
padding: 6
}
Label {
width: donePan.width
text: qsTr("Find your generated file in ~Documents\nor open in the default word application")
verticalAlignment: Text.AlignVCenter
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
padding: 6
horizontalAlignment: Text.AlignHCenter
style: Text.Raised
}
Label {
id: downIcon
font.family: "fontAwesome"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
text: "\uf0a7"
font.pixelSize: 20
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
Item {
height: 4
}
// Open genereated file button
Button {
id: openbtn
text: qsTr("Open Generated File")
highlighted: true
//anchors.bottom: parent.bottom
anchors.bottomMargin: 8
Layout.alignment: Qt.AlignHCenter
onClicked: Qt.openUrlExternally(
docFolder + "/" + fileName.replace(
".pdf", "." + wordType))
}
}
}
}
}
// About Page
Component {
id: aboutPage
Item {
objectName: "aboutPage"
FileIO {
id: logFile
source: ":/change.log"
onError: console.log(msg)
}
FileIO {
id: translators
source: ":/translations/translators.log"
onError: console.log(msg)
}
Component.onCompleted: {
aboutBtn.enabled = false
backBtn.enabled = true
logTap.text = logFile.read()
transTap.text = translators.read()
}
Item {
id: aboutPan
anchors.fill: parent
anchors.margins: 20
ColumnLayout {
anchors.fill: parent
Label {
text: qsTr("<b>Version:</b> 1.0.1 Final")
font.bold: true
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 14
Layout.alignment: Qt.AlignHCenter
style: Text.Raised
}
// Logo image
Image {
id: logo
source: "pdftoword.png"
Layout.alignment: Qt.AlignHCenter
Layout.preferredWidth: 72
Layout.preferredHeight: 72
mipmap: true
}
TabBar {
id: bar
width: parent.width
TabButton {
text: qsTr("About:")
width: implicitWidth
}
TabButton {
text: qsTr("License:")
width: implicitWidth
}
TabButton {
text: qsTr("Changelog:")
width: implicitWidth
}
TabButton {
text: qsTr("Translators:")
width: implicitWidth
}
}
StackLayout {
width: parent.width
currentIndex: bar.currentIndex
Tap {
id: aboutTap
Layout.alignment: Qt.AlignHCenter
Layout.fillHeight: true
Layout.fillWidth: true
text: "Pdf to Word is a GUI tool to Libreoffice CMD tool<br /> to convert pdf to Editable word
'rtf', 'doc', 'docx'<br />
" + "<b>Developed By:</b> Sultan Al Isaiee<br /><b><i>foxoman</i></b> @ 2018<br /
>" + "<b>Buy Me a Coffee:</b> <a href=\"https://www.buymeacoffee.com/foxoman\">www.buymeacoffee.com/foxoman</a><br
/>" + "<b>Email:</b> <a href=\"mailto:[email protected]\">[email protected]</a>"
}
Tap {
id: liTap
Layout.alignment: Qt.AlignHCenter
Layout.fillHeight: true
Layout.fillWidth: true
text: "GNU GENERAL PUBLIC LICENSE <b>"
+ "<a href=\"https://www.gnu.org/licenses/gpl.txt\">GPL-3</a></b><br />"
}
Tap {
id: logTap
Layout.alignment: Qt.AlignHCenter
Layout.fillHeight: true
Layout.fillWidth: true
text: ""
}
Tap {
id: transTap
Layout.alignment: Qt.AlignHCenter
Layout.fillHeight: true
Layout.fillWidth: true
text: ""
}
}
Item {
height: 4
}
RowLayout {
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter
spacing: 12
// Google Plus Icon
LinkButton {
fcode: "\uf0d5"
link: "https://plus.google.com/u/0/+SultanAlIsaiee"
}
// Twitter Icon
LinkButton {
fcode: "\uf099"
link: "https://twitter.com/foxoman"
}
// Medium Icon
LinkButton {
fcode: "\uf23a"
link: "https://medium.com/@foxoman"
}
// Github Icon
LinkButton {
fcode: "\uf09b"
link: "https://github.com/foxoman"
}
}
Item {
height: 4
}
}
}
}
}
}