Commit Graph

262 Commits

Author SHA1 Message Date
e8fb86134c move layout from dialog to systemwindow
*distant sounds of hammering in basement*

so we can get Floating Windows layout aware
as well without duplicate of dialog layout logic

Change-Id: I063375f2f7d4e5c3bfbfedf55649078d4dbe4139
2014-08-30 17:22:37 +01:00
d8e976e365 name offending dialog
Change-Id: I678627177dd81b422a66370cbc4ef7d7e740714b
2014-08-26 13:34:45 +01:00
bc16ad7c8d connect gtk-yes and gtk-no up
Change-Id: I5c17e633b9a638ed99d1129447f628155dd043cd
2014-08-25 20:53:34 +01:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
4b339818bb add a VclViewport
like GtkViewport so that the scrolled region will be clipped,
which also has the side-effect of stopping glade clobbering
the non view-port scrolled .ui files on editing

Change-Id: Ic64174b3a35b77f068e0085cdc7721aeb33f1d82
2014-08-20 14:00:58 +01:00
5a83b31aca expose a way to drop ownership of a window from builder tree
Change-Id: I6f6bff32271ed1d6c328ba211a6b1249fda039dd
2014-07-02 11:57:08 +01:00
f188c982d5 Convert RID_SANE_DIALOG to .ui
Change-Id: I1f08493cdc18f4c0691a8436368432fe4e94dec3
Reviewed-on: https://gerrit.libreoffice.org/9696
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-11 13:27:30 +00:00
eaa89db886 tweak massively complicated html export wizard a bit
Change-Id: I1d15780d0128204f063a816df9df251b05ab93d2
2014-05-30 15:54:58 +01:00
68bc8af6b6 SvxRelativeField: set the unit from the passed stringmap
In the Paragraph "Indents & Spacing" tab there are fields with unit:
<object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm">

But the unit is effectively ignored, and the resulting SvxRelativeField
with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the
dialog sets cm as unit.

Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20 16:44:29 +02:00
5314bb664c coverity#1209590 Dereference after null check
Change-Id: Iedee81b4c0474a1bbda0b2366c246f6b6b433a10
2014-05-07 15:47:24 +01:00
4f9b21248f simplify ternary conditions "xxx ? yyy : false"
Look for code like:
   xxx ? yyy : false;
Which can be simplified to:
   xxx && yyy

Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
50bf123ddb Kill superfluous vertical whitespace
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-04-02 16:54:18 +03:00
d2bc27c85b Resolves: fdo#76457 image buttons too narrow
but we liked the size of the symbol buttons

regression since 1f6e88276006bea5d597ee6ca6fdf3af4dbf5ffd

Really the PushButton::CalcMinimumSize and PushButton::ImplDrawPushButton are
the better place to handle this, but its such a train-wreck

Change-Id: Ib7ba00c6a9c2698ff4e4f264c4242bf48a686da8
2014-03-21 20:38:26 +00:00
78a2020846 vcl: prefer passing OUString and OString by reference
Change-Id: I6c2c6f597ca62c004ad7dc606cef3a3b10e810b6
2014-03-13 08:39:26 +02:00
dd7babac70 map GtkSpinner to Throbber
Change-Id: I52eab374fbce2dd51a3ab12c4cff605f4cd7610d
2014-03-09 19:17:31 +00:00
1cded3f89a convert customize menu page to .ui
Change-Id: Ifb47cb1e902a64ece951fe9b4d28ba49bbb4b3ee
2014-03-07 16:26:44 +00:00
c47496fdf9 Add config_libraries.h definitions to get library names easily.
Works for libmerged too, so we can get rid of LIBO_MERGELIBS.
And remove few more #defines in vcl.

It's generated by gbuild, so probably abusing config_host directory.
Open to improvements.

Change-Id: I87ab109bf109e42751766011daf076e9cdf8f5ee
2014-02-25 09:05:09 +01:00
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
34b3f01925 implement loading GtkSeparatorToolItems
Change-Id: I8111b154d8358fd4dd667000ccbdd16be38a6dc5
2014-02-20 13:50:00 +00:00
91d714c5dd silence unknown packing spew
Change-Id: Ic9fa7761ef03594a9609044a963c838f7dda555b
2014-02-11 12:11:43 +00:00
fd5e86090b tidy up toolbox packing handling
we don't want to apply the children's attributes onto the parent widget

Change-Id: Iad31e7f89266633e621aaf597713564747f7cac7
2014-02-07 20:11:41 +00:00
3f1a97eda0 implement expandable toolbox items
Change-Id: I64ace48ed6a72cea670ac2cdd774764b7c586648
2014-02-07 13:59:04 +00:00
9863db7dc5 Am I faster than the clang tinderboxes, or not?
Change-Id: Ie38066e8b3953c07f343bae69b6fec5b0ceb25b4
2014-02-07 14:28:07 +01:00
6cc8693cb2 vclbuilder: Honor the "visible" flag of toolbar items.
Change-Id: Iaf58462cbc700b48f693ca60c0a4242a73b290eb
2014-02-07 14:25:04 +01:00
c1d37365c4 bool improvements
Change-Id: Iede12ed1e35581cf48d64b898f22949d0c1aa6de
2014-01-28 20:26:19 +01:00
daa654fb44 GtkComboBox->VclComboBoxNumeric
Change-Id: Iba1416692a619c1f566f26da5b06ed04342057b3
2014-01-08 13:45:03 +00:00
ef683ad852 improve warning message
Change-Id: I2d8aab3f4589750aecb0a9565c595a712fc7bc73
2014-01-08 13:45:03 +00:00
3f1682f3c2 check internal children against prefix rather than equality
Change-Id: I972a0fb4eb86dcafa230f82251d3f9c3cbed7f2b
2014-01-01 19:26:14 +00:00
60b5de35ed map homogeneous to opposite of non-homogeneous
which should silence that annoying "unknown packing: homogeneous" warning

Change-Id: I826908024063909ddd5f975829b7a5727944d399
2013-12-06 16:38:50 +00:00
c2f5e09900 Zip .ui translations per UIConfig target.
Fix installer / scp2 to not ignore directory prefix in 'Name'.

Change-Id: Ib319363c8be73a72029f1ba3833e518e15c55e29
Reviewed-on: https://gerrit.libreoffice.org/6915
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-12-06 05:43:21 -06:00
6019cd9bb5 want to be able to support non homogeneous buttons in buttonboxes
Change-Id: I7ea4c093d6318a24106542f851cfd58230bc3ea3
2013-11-18 14:08:08 +00:00
3b9baca81c add a stock connect button string
Change-Id: Ib90364afebea4ff1b926f3c8b9fd949b155fa81f
2013-11-15 12:11:42 +00:00
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
dd28837249 vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22 14:42:17 +02:00
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
dbf2273e45 support gtk-stop generic label
Change-Id: I1f17459dc57a1377c5c48412fcc81989cc69fccd
2013-09-17 09:04:41 +01:00
363446eb61 Resolves: fdo#69236 route size request to layout widget, not hard-coded value
a) For the sidebar the sidebars automatically handle scrolling, but for the
older panel the widgets has to do the scrolling so add scrolling parents to the
.ui

b) Fold the DialogListBox scrolling widget implementation into
VclScrolledWindow and remove the duplication.

Change-Id: Ife9ccd8c501e5dee7bf3102a92c8261d979cd834
2013-09-16 11:33:20 +01:00
7808874312 convert find entry dialog to .ui
Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
2013-09-09 13:38:50 +01:00
f96771165e Resolves: fdo#68081 why would I want a spinner that doesn't repeat
surely WB_SPIN should imply repeat in the first place, *shrug*

Change-Id: I1e4cb5a01d473cd0f8d907d566cd26d51a81da93
2013-09-06 12:23:42 +01:00
8f6b90a80c stop annoying temp full screen windows appearing on insert->index entry
Change-Id: I730617f5ce28149f79d1d22efbfb7eab22e5840d
2013-09-02 21:00:05 +01:00
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
86450f9fce allow toolbox icons to be set directly from .ui
Change-Id: I8902fb837cfbd99b14a80527300470002571af36
2013-08-21 13:15:47 +01:00
cc0b40f6a9 add some a11y relations and enable translation of ms
Change-Id: Ib509a7ae62aefc919bdaed269c1605ac6bae9564
2013-08-18 13:47:31 +01:00
101a8f0f07 Related: fdo#65546 sort PACK_END into visual order for tabbing
and then reverse them for layout packing

Change-Id: I417bb3f6667ddc10103623867fea1a9b8061f5eb
2013-08-15 17:13:45 +01:00
fbe0e7c105 set helpid for toolbuttons
Change-Id: I4cc2d199ed94444a056134359cbe2674a2885555
2013-08-14 11:32:20 +01:00
6fc33b576e convert envelope printer page to .ui
Change-Id: I0d57f816abd05d8bb190fe47804b5a8db07ca6b5
2013-08-14 09:13:07 +01:00
a052d850a6 add support for gtk-media-play symbol
Change-Id: I6d615112fd80999597eac9470eca10b6bc1d16d4
2013-08-13 14:51:16 +01:00
2235f495e3 add a seconds unit
Change-Id: I3507caab5cd61c282102ab21bf034ec54e497af3
2013-08-13 14:51:15 +01:00
3c307ff5a5 add a stock 'Play' button
Change-Id: Iaf48ce921eb92486e22bb76070fc0fa29f248570
2013-08-13 14:51:15 +01:00