X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=article_dialog.ui;h=1e8557c968b07458485f0381bba6ee213d8dbeb8;hp=e1124b902fd7b0f9c4b1dda544e3ee26e0f4c329;hb=e897998f0634d3518f069846c62592fe43dc63bf;hpb=903f2462bb6e7130191b1b0c667a9f6fce1e6189
diff --git a/article_dialog.ui b/article_dialog.ui
index e1124b9..1e8557c 100644
--- a/article_dialog.ui
+++ b/article_dialog.ui
@@ -6,8 +6,8 @@
0
0
- 624
- 544
+ 654
+ 548
@@ -23,8 +23,14 @@
true
- -
+
-
+
+
+ 75
+ true
+
+
Title
@@ -33,8 +39,14 @@
-
- -
+
-
+
+
+ 50
+ false
+
+
Keywords
@@ -43,8 +55,14 @@
-
- -
+
-
+
+
+ 50
+ false
+
+
Summary
@@ -60,8 +78,14 @@
- -
+
-
+
+
+ 75
+ true
+
+
Article content
@@ -79,7 +103,12 @@
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>
@@ -107,7 +136,12 @@
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>
@@ -116,6 +150,9 @@
:/bia/resources/italic.gif:/bia/resources/italic.gif
+
+ Ctrl+I
+
false
@@ -127,7 +164,12 @@
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>
@@ -136,6 +178,9 @@
:/bia/resources/pre.gif:/bia/resources/pre.gif
+
+ Ctrl+F
+
false
@@ -147,7 +192,12 @@
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>
@@ -156,6 +206,9 @@
:/bia/resources/right.gif:/bia/resources/right.gif
+
+ Ctrl+R
+
false
@@ -167,7 +220,12 @@
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>
@@ -176,6 +234,9 @@
:/bia/resources/justify.gif:/bia/resources/justify.gif
+
+ Ctrl+J
+
false
@@ -187,7 +248,12 @@
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>
@@ -196,6 +262,9 @@
:/bia/resources/bullets.gif:/bia/resources/bullets.gif
+
+ Ctrl+.
+
false
@@ -207,7 +276,12 @@
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>
@@ -216,6 +290,9 @@
:/bia/resources/numbers.gif:/bia/resources/numbers.gif
+
+ Ctrl+1
+
false
@@ -227,7 +304,12 @@
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>
@@ -236,6 +318,9 @@
:/bia/resources/code.gif:/bia/resources/code.gif
+
+ Ctrl+=
+
false
@@ -247,7 +332,12 @@
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>
@@ -256,6 +346,9 @@
:/bia/resources/table.gif:/bia/resources/table.gif
+
+ Ctrl+T
+
false
@@ -267,7 +360,12 @@
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>
@@ -276,6 +374,9 @@
:/bia/resources/hr.gif:/bia/resources/hr.gif
+
+ Ctrl+H
+
false
@@ -286,6 +387,14 @@
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>
+
@@ -293,6 +402,9 @@
:/bia/resources/par.gif:/bia/resources/par.gif
+
+ Ctrl+P
+
false
@@ -304,7 +416,12 @@
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>
@@ -313,24 +430,14 @@
:/bia/resources/br.gif:/bia/resources/br.gif
+
+ Ctrl+Return
+
false
- -
-
-
-
- 0
- 210
-
-
-
- Qt::ScrollBarAlwaysOn
-
-
-
-
@@ -351,7 +458,7 @@
-
- 1
+ -1
10
@@ -360,6 +467,12 @@
-
+
+
+ 75
+ true
+
+
Stub (file name without HTML extension)
@@ -389,7 +502,12 @@
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>
@@ -398,6 +516,9 @@
:/bia/resources/img.gif:/bia/resources/img.gif
+
+ Ctrl+Shift+I
+
false
@@ -409,7 +530,12 @@
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>
@@ -418,6 +544,9 @@
:/bia/resources/link.gif:/bia/resources/link.gif
+
+ Ctrl+Shift+L
+
-
@@ -426,7 +555,12 @@
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>
@@ -435,6 +569,9 @@
:/bia/resources/center.gif:/bia/resources/center.gif
+
+ Ctrl+O
+
false
@@ -446,7 +583,12 @@
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>
@@ -455,6 +597,9 @@
:/bia/resources/left.gif:/bia/resources/left.gif
+
+ Ctrl+L
+
false
@@ -466,7 +611,12 @@
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>
@@ -475,34 +625,41 @@
:/bia/resources/bquote.gif:/bia/resources/bquote.gif
+
+ Ctrl+Q
+
false
+ -
+
+
+
+ 0
+ 210
+
+
+
+
+ Monospace
+
+
+
+ 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
@@ -680,8 +837,8 @@
onJustify()
- 302
- 211
+ 332
+ 219
98
@@ -696,8 +853,8 @@
onBullet()
- 355
- 199
+ 386
+ 219
336
@@ -712,8 +869,8 @@
onNumber()
- 387
- 195
+ 422
+ 219
372
@@ -728,8 +885,8 @@
onBQuote()
- 423
- 203
+ 458
+ 219
311
@@ -744,8 +901,8 @@
onCode()
- 457
- 203
+ 494
+ 219
311
@@ -760,8 +917,8 @@
onTable()
- 492
- 203
+ 530
+ 219
311
@@ -776,8 +933,8 @@
onHRule()
- 532
- 203
+ 572
+ 219
311
@@ -792,8 +949,8 @@
onPara()
- 566
- 203
+ 608
+ 219
311
@@ -808,8 +965,8 @@
onBreak()
- 601
- 203
+ 644
+ 219
311
@@ -836,5 +993,6 @@
onHRule()
onPara()
onBreak()
+ onTextChanged()