X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=article_dialog.ui;h=7fd1581a37071073964640f74b06f87b78b12108;hp=e1124b902fd7b0f9c4b1dda544e3ee26e0f4c329;hb=ba3069991aeda91317057aa2c115f8c2151d0a98;hpb=903f2462bb6e7130191b1b0c667a9f6fce1e6189
diff --git a/article_dialog.ui b/article_dialog.ui
index e1124b9..7fd1581 100644
--- a/article_dialog.ui
+++ b/article_dialog.ui
@@ -6,8 +6,8 @@
0
0
- 624
- 544
+ 750
+ 548
@@ -23,8 +23,14 @@
true
- -
+
-
+
+
+ 75
+ true
+
+
Title
@@ -33,8 +39,14 @@
-
- -
+
-
+
+
+ 50
+ false
+
+
Keywords
@@ -43,25 +55,27 @@
-
- -
+
-
+
+
+ 50
+ false
+
+
Summary
- -
-
-
- Qt::ScrollBarAlwaysOn
-
-
- true
-
-
-
- -
+
-
+
+
+ 75
+ true
+
+
Article content
@@ -79,13 +93,18 @@
Qt::NoFocus
- Bold
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:600; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bold</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:400; font-style:italic;">Shortcut: Ctrl+B</span></p></body></html>
-
+
:/bia/resources/bold.gif:/bia/resources/bold.gif
@@ -107,15 +126,23 @@
Qt::NoFocus
- Italic
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:italic;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Italic</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shortcut: Ctrl+I</p></body></html>
-
+
:/bia/resources/italic.gif:/bia/resources/italic.gif
+
+ Ctrl+I
+
false
@@ -127,15 +154,23 @@
Qt::NoFocus
- Preformatted text
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Preformatted text</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+F</span></p></body></html>
-
+
:/bia/resources/pre.gif:/bia/resources/pre.gif
+
+ Ctrl+F
+
false
@@ -147,15 +182,23 @@
Qt::NoFocus
- Right align para
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Right align para</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+R</span></p></body></html>
-
+
:/bia/resources/right.gif:/bia/resources/right.gif
+
+ Ctrl+R
+
false
@@ -167,15 +210,23 @@
Qt::NoFocus
- Justify para
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Justify para</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+J</span></p></body></html>
-
+
:/bia/resources/justify.gif:/bia/resources/justify.gif
+
+ Ctrl+J
+
false
@@ -187,15 +238,23 @@
Qt::NoFocus
- Bulleted list
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bulleted list</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+. </span>(Ctrl+dot)</p></body></html>
-
+
:/bia/resources/bullets.gif:/bia/resources/bullets.gif
+
+ Ctrl+.
+
false
@@ -207,15 +266,23 @@
Qt::NoFocus
- Numbered list
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Numbered list</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+1 </span>(Ctrl+One)</p></body></html>
-
+
:/bia/resources/numbers.gif:/bia/resources/numbers.gif
+
+ Ctrl+1
+
false
@@ -227,15 +294,23 @@
Qt::NoFocus
- Code block
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Code block</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+= </span>(Ctrl+Equals)</p></body></html>
-
+
:/bia/resources/code.gif:/bia/resources/code.gif
+
+ Ctrl+=
+
false
@@ -247,15 +322,23 @@
Qt::NoFocus
- Table
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Table</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+T</span></p></body></html>
-
+
:/bia/resources/table.gif:/bia/resources/table.gif
+
+ Ctrl+T
+
false
@@ -267,15 +350,23 @@
Qt::NoFocus
- Horizontal rule
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Horizontal rule</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+H</span></p></body></html>
-
+
:/bia/resources/hr.gif:/bia/resources/hr.gif
+
+ Ctrl+H
+
false
@@ -286,13 +377,24 @@
Qt::NoFocus
+
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Paragraph</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+P</span></p></body></html>
+
-
+
:/bia/resources/par.gif:/bia/resources/par.gif
+
+ Ctrl+P
+
false
@@ -304,33 +406,28 @@
Qt::NoFocus
- Line break
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Line break</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Enter</span></p></body></html>
-
+
:/bia/resources/br.gif:/bia/resources/br.gif
+
+ Ctrl+Return
+
false
- -
-
-
-
- 0
- 210
-
-
-
- Qt::ScrollBarAlwaysOn
-
-
-
-
@@ -351,7 +448,7 @@
-
- 1
+ -1
10
@@ -360,6 +457,12 @@
-
+
+
+ 75
+ true
+
+
Stub (file name without HTML extension)
@@ -389,15 +492,23 @@
Qt::NoFocus
- Insert image
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Insert image</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Shift+I</span></p></body></html>
-
+
:/bia/resources/img.gif:/bia/resources/img.gif
+
+ Ctrl+Shift+I
+
false
@@ -409,15 +520,23 @@
Qt::NoFocus
- Insert link
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Insert link</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Shift+L</span></p></body></html>
-
+
:/bia/resources/link.gif:/bia/resources/link.gif
+
+ Ctrl+Shift+L
+
-
@@ -426,15 +545,23 @@
Qt::NoFocus
- Center para
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Center para</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+O</span></p></body></html>
-
+
:/bia/resources/center.gif:/bia/resources/center.gif
+
+ Ctrl+O
+
false
@@ -446,15 +573,23 @@
Qt::NoFocus
- Left align para
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Left align para</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+L</span></p></body></html>
-
+
:/bia/resources/left.gif:/bia/resources/left.gif
+
+ Ctrl+L
+
false
@@ -466,43 +601,83 @@
Qt::NoFocus
- Blockquote
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Blockquote</p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Q</span></p></body></html>
-
+
:/bia/resources/bquote.gif:/bia/resources/bquote.gif
+
+ Ctrl+Q
+
false
+ -
+
+
+
+ 0
+ 210
+
+
+
+
+ Monospace
+
+
+
+ Qt::ScrollBarAlwaysOn
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 40
+
+
+
+
+ 16777215
+ 75
+
+
+
+ Qt::ScrollBarAlwaysOn
+
+
+ true
+
+
+
article_title
keywords
summary
- bold
- italic
- preformat
- image
- link
- paraleft
- paracenter
- pararight
- parajustify
- bullets
- numbered
- blockquote
- codeblock
- table
- hrule
- paragraph
- linebreak
content
category
rating
@@ -510,7 +685,7 @@
buttonBox
-
+
@@ -680,8 +855,8 @@
onJustify()
- 302
- 211
+ 332
+ 219
98
@@ -696,8 +871,8 @@
onBullet()
- 355
- 199
+ 386
+ 219
336
@@ -712,8 +887,8 @@
onNumber()
- 387
- 195
+ 422
+ 219
372
@@ -728,8 +903,8 @@
onBQuote()
- 423
- 203
+ 458
+ 219
311
@@ -744,8 +919,8 @@
onCode()
- 457
- 203
+ 494
+ 219
311
@@ -760,8 +935,8 @@
onTable()
- 492
- 203
+ 530
+ 219
311
@@ -776,8 +951,8 @@
onHRule()
- 532
- 203
+ 572
+ 219
311
@@ -792,8 +967,8 @@
onPara()
- 566
- 203
+ 608
+ 219
311
@@ -808,8 +983,8 @@
onBreak()
- 601
- 203
+ 644
+ 219
311
@@ -836,5 +1011,6 @@
onHRule()
onPara()
onBreak()
+ onTextChanged()