Caolán McNamara
502be5d920
default ScrolledWindow to autoscroll
...
Change-Id: I5297e4b9480066000bf6d72e54a5d8117528b90c
2012-10-31 14:16:54 +00:00
Caolán McNamara
d21eb6bc91
add hook to block use of markup in .ui files
...
Change-Id: Ia7eed5e9e1f8fba9876730e909461dabc167deb9
2012-10-26 12:58:56 +01:00
Caolán McNamara
d3fb6d227c
remove .ui mark-up in favor of font attributes
...
so we can keep translations markup free, and it matches
better our existing font use in controls
Change-Id: Ib762030f8bf831f2b0afabdd643508e660ad9266
See: https://live.gnome.org/GnomeGoals/RemoveMarkupInMessages
2012-10-25 15:32:09 +01:00
Caolán McNamara
7b45dfe097
convert Mnemonic markup automatically
...
Change-Id: I55b6bf11468ce958aea7c98894d3a76343b53a9a
2012-10-25 12:04:26 +01:00
Caolán McNamara
4cc5ccef4b
convert index dialog to .ui
...
Change-Id: I4b16cb517dca25f862b9dd612785dae4d0f21793
2012-10-24 15:39:27 +01:00
Caolán McNamara
39c9ef3991
map some more stock images
...
Change-Id: I19fbc2062b2857e194d5850f2febea514fde50d9
2012-10-24 15:39:26 +01:00
Caolán McNamara
3c71a0bae6
explictly require Bitmap to get image
...
Change-Id: I0f7e0510f6c946be7cf930659db961d3c17e1c4f
2012-10-22 13:35:09 +01:00
Caolán McNamara
841b975a09
implement secondary button groups in buttonboxes
...
Change-Id: I0e60b7e197ba4f6ebd3f24cb2e9072ce3e1353fb
2012-10-22 10:28:45 +01:00
Caolán McNamara
ca6aa93fd4
add infrastructure for secondary button groups
...
Change-Id: I5fd1bbc31a0259e92f6eb23beef5d3c77b74eed8
2012-10-22 09:13:39 +01:00
Caolán McNamara
324e116a2e
add a stock index image to vcl, ala gtk-index
...
Change-Id: I96cd80f14d557752c19b88bb2c99298d7c3e3e0b
2012-10-22 09:13:38 +01:00
Caolán McNamara
4e5fdfb31e
add stock new and edit button texts
...
Change-Id: Ia8f5f6592211e50323de66a4177f752a1adcf584
2012-10-18 21:31:09 +01:00
Caolán McNamara
c648d42878
annoying border/child window confusion
...
Change-Id: I6ab919ff326a8525d1bed7db6474764de4e5bcf0
2012-10-17 16:06:31 +01:00
Caolán McNamara
e8029a19ec
super simple bold/italic label support
...
Change-Id: I2c42b344139ca2603e1e5392e9d15d89d07986d5
2012-10-17 16:06:27 +01:00
Caolán McNamara
0ac7f6120e
Resolves: fdo#55685 SvxLanguageBox is in svxcore not in svx
...
Change-Id: I50f68674e057dd358357d611bbbbb3332d8cd00b
2012-10-12 10:43:00 +01:00
Caolán McNamara
5551d2776d
handle ui-previewer on .ui in cwd
...
Change-Id: If13c5494ffb960e943fa8d2c99f2da28b5f95736
2012-10-12 09:19:42 +01:00
Caolán McNamara
d7cdef2c49
VCLMultiLineEdit->VclMultiLineEdit to align with other new widget names
...
Change-Id: I97b7459b9c5c680d624234e8c51a5997a02fd5f7
2012-10-11 09:21:42 +01:00
Caolán McNamara
e38d9aa925
add a stub ScrolledWindow to store scroll properties
...
e.g. VclMultiLineEdit manages its own scrolling, so just
store that info in a dummy ScrolledWindow for now and
set the scroll window settings onto the VCLMultiLineEdit
if it has a scrolledwindow parent
Change-Id: I8f7282e1348aa4e9ff77cce384dcc367b17bd3b0
2012-10-11 09:21:42 +01:00
Caolán McNamara
40796af946
map GtkTextView to VCLMultiLineEdit
...
Change-Id: I05c4b4d50400035a2542e375a773ed6d867187e6
2012-10-10 16:08:29 +01:00
Caolán McNamara
54acc08629
default internal-children to visible, default containers to not-shown
...
Change-Id: I25cd15e586abeeeabfde7539986309b187690320
2012-10-09 16:41:56 +01:00
Caolán McNamara
f52f89dc65
mark layout as clean before setting allocation
...
so that if setting the allocation makes the control
change its mind the dirty flag won't be unset in
this iteration, and will trigger a second one
Change-Id: Ia4bb37848495bc6115eb8b16ec7a390cd58bd84f
2012-10-08 15:41:42 +01:00
Caolán McNamara
6799ec80cd
import GtkScrollbar as scrollbars and connect GtkAdjustments
...
Change-Id: Idef8a338f09b52cf0758a6a35e3b5bbcc96a7383
2012-10-08 13:03:13 +01:00
Tor Lillqvist
97593ae24a
Handle lack of module loading/unloading API when DISABLE_DYNLOADING
...
There are basicically two classes of cases:
1) Where the code is for obscure historical reasons or what I see as
misguided "optimization" split into a more libraries than necessary,
and these then are loaded at run-time. Instead, just use direct
linking.
2) Where dynamic loading is part of the functionality offered to some
upper (scripting etc) layer, or where some system-specific non-LO
library is loaded dynamically, as it is not necessarily present on
end-user machines. Can't have such in the DISABLE_DYNLOADING case.
Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
2012-10-07 07:59:15 +03:00
Caolán McNamara
8f6d8d471d
sort by grid position, then pack type, then pack position
...
so that focus ends up on the visually first enabled control
Change-Id: Ia279c4531536305ce43eb8372abde2445769487d
2012-10-05 14:37:50 +01:00
Caolán McNamara
d559ffe051
add stock "remove" text
...
Change-Id: I945a46a8ca3df8c6cf7982a531025d8d8b6c31a4
2012-10-05 14:37:49 +01:00
Caolán McNamara
c5850f4b25
Use MenuButton for non-editable GtkComboBoxText instead of ComboBox
...
its more similar for the non-editable list. Requires some love
to MenuButton to reflect the selected entry and resize appropiately
Change-Id: I4b37931e35a5f326d6fd4e445eb741bece6b55a6
2012-10-04 12:49:27 +01:00
Caolán McNamara
ddd0e56cd7
handle children of deferred dialog better
...
Change-Id: I86f0a23408c031a99a31cd309defec519a2e91ec
2012-10-04 12:49:26 +01:00
Caolán McNamara
cad78399e4
support loading certain stock images as button symbols
...
Change-Id: I475a4bc7e0686fa17beceb68f1aed016ef158117
2012-10-03 09:58:36 +01:00
Caolán McNamara
be23f7fbb8
sort child positions within parents according to grid position
...
so that tabbing between widgets jumps between then in a sensible
order
Change-Id: I852f4fb08781da2b703f8f87e84abdf4c366fa26
2012-09-28 08:48:54 +01:00
Caolán McNamara
03e4a93815
defer initializing dialog until sizeable/unsizeable is known
...
we have to defer initializing the dialog until we have determined the
sizeable/unsizable info as we can't change it after the fact
Change-Id: I27c90f8f92953d919b36cddc6a99fae9d7db47eb
2012-09-28 08:48:54 +01:00
Caolán McNamara
5d60e826ae
set the default button on various dialogs
...
Change-Id: I63b1cc73d8ed240c40dec07fe1f8470da8410464
2012-09-28 08:48:52 +01:00
Caolán McNamara
56ec8c6dcd
adapt zoom dialog code to layout widgets
...
Change-Id: I7da387db88b8a4449dc1dc7099527f786b0d565e
2012-09-28 08:48:52 +01:00
Caolán McNamara
a390a10269
move layout diagnostics to vcl.layout channel
...
Change-Id: Ib33d91ea56219036182d30fdd3dc2159ce32a48c
2012-09-28 08:48:51 +01:00
Caolán McNamara
8d793b0445
adapt code to new table autoformat dialog
...
Change-Id: I7bc8c1b37fa9757c5d47902d54865d0319135517
2012-09-28 08:48:50 +01:00
Caolán McNamara
adda1a25f2
convert hard-coded layout of char name tabpage to .ui
...
Change-Id: I20829b6a0835bf96489d67b6f7effcfa84650328
2012-09-28 08:48:49 +01:00
Caolán McNamara
29d6cfdca5
convert hard-coded layout of char hyperlink tabpage to .ui
...
Change-Id: I4d43f911b084146393e4be514584acc245a4fda4
2012-09-28 08:48:49 +01:00
Caolán McNamara
fdc8245182
import inconsistent-state GtkCheckButtons as TriStateBoxs
...
Change-Id: If7fbe960bf5af31b51a7e454b8131c31b232a79b
2012-09-28 08:48:49 +01:00
Caolán McNamara
fca9bc70c0
add a new stock reset/revert button
...
Change-Id: Ie854c063856eb8ed7401162ed60114d7cc904d26
2012-09-28 08:48:48 +01:00
Caolán McNamara
dc4522d249
map GtkComboBoxText to ComboBox
...
Change-Id: Ib73ff4ba0fc6c7c977bda8582079fdb0194e12a9
2012-09-28 08:48:47 +01:00
Caolán McNamara
e3982d4eb6
set a helpid on the tabpage container
...
Change-Id: Ice461f5de76ecb5628682572c0b40736a29b9381
2012-09-28 08:48:45 +01:00
Caolán McNamara
644cb58ac6
add a route to toggle off spinners from spinboxes
...
Change-Id: I344b591b9d02e08717db1da89518f1a9654bd7a1
2012-09-28 08:48:44 +01:00
Caolán McNamara
628be02621
want to be able to find tabpages by name
...
Change-Id: I4e08ded38a4d1d9d193d5d7731c7ac667c70048c
2012-09-28 08:48:44 +01:00
Caolán McNamara
6382768c8e
support GtkEntry width-chars property
...
Change-Id: I5a3bdf6058b0d786923a9543a064bddcc84f001a
2012-09-28 08:48:43 +01:00
Caolán McNamara
41d2ae9875
drop autoshow of all widgets, and honour visibility flag
...
Change-Id: I752c8be2830441114b747a809eb1a331ac19472a
2012-09-28 08:48:43 +01:00
Caolán McNamara
19863833be
autoconnect multi-column list stores to dropdowns
...
Default to importing the first column into the list and the second column as
the additional data and only considering the first column for translation
Change-Id: Ic74a4550167455c83634c4112ab2b698c1d25ea1
2012-09-28 08:48:43 +01:00
Caolán McNamara
dfbaba92e5
map gtk-close -> PushButton+SV_BUTTONTEXT_CLOSE
...
Change-Id: Ie8de8e23d72a8bad2c5edb097bd8b2c50a8ce4bf
2012-09-28 08:48:40 +01:00
Caolán McNamara
676659bc05
we need TEXT_RAW to retain leading/trailing label whitespace text
...
Change-Id: Ic0fe9dba4cb2efcb96830425626a3ae9636ce18c
2012-09-28 08:48:40 +01:00
Caolán McNamara
70c7afadf8
We need to distinguish NumericFields from MetricFields
...
In the future I'm hoping we can get some gtk3-side support
for patterns for GtkSpinButtons or such such. In the meamtime
overload that info into the name
Change-Id: I20464e3ddafb710dd7330fc038bb9330b852410a
2012-09-28 08:48:40 +01:00
Caolán McNamara
fc86fdf6b4
GetProcAddress doesn't work like dlsym with executable's handle
...
underlying GetProcAddress on windows, unlike dlsym, doesn't search
through all loaded .dlls searching for the symbol when given the
default module. So load the module by name.
Change-Id: I148250c9d8dd5aa2b802581d049533f2c5e83caf
2012-09-28 08:48:40 +01:00
Caolán McNamara
817e876a8d
Move all the state we need just during parsing to one place
...
and throw the lot away when finished with it
Change-Id: Ie64d3fa4cea41fa1ec956538616f73204957f311
2012-09-28 08:48:39 +01:00
Caolán McNamara
e1f31827af
c++11ism won't wash
...
Change-Id: I86ce5203998f8e23533c01243b5aac5ac6b4fc53
2012-09-28 08:48:38 +01:00