174 Commits

Author SHA1 Message Date
Jinhao
7cb27951e0 fix 2 listbox issues
inline widget modifies a wrong item when the listbox is sorted
a crash issue when erasing the last item if the listbox is sorted
2015-09-30 17:09:55 +08:00
Jinhao
16c93537c9 code review 2015-08-23 03:42:11 +08:00
Jinhao
0e5c88f121 code review 2015-07-24 00:44:35 +08:00
Jinhao
5bc1568f3e change parameter type of click event from arg_mouse to arg_click 2015-07-21 01:14:23 +08:00
Jinhao
b1ed1f0452 Merge branch 'hotfixes-1.0.2' into develop
Conflicts:
	include/nana/gui/detail/basic_window.hpp
	include/nana/gui/widgets/listbox.hpp
	source/gui/detail/linux_X11/bedrock.cpp
	source/gui/detail/win32/bedrock.cpp
	source/gui/detail/window_layout.cpp
	source/gui/detail/window_manager.cpp
	source/gui/widgets/listbox.cpp
	source/gui/widgets/toolbar.cpp
2015-07-11 13:35:22 +08:00
Jinhao
59f3554632 fix listbox auto-redraw issue 2015-07-06 22:23:05 +08:00
Jinhao
a6455bcbe0 inline widget for listbox is ready to launch 2015-07-06 03:27:41 +08:00
Jinhao
6c554ceab2 inline widget for listbox is ready 2015-06-24 02:14:36 +08:00
Jinhao
76ebf52739 add whether_to_draw to determine draw widget background 2015-06-23 02:25:59 +08:00
Jinhao
28413b7f25 explicit conversion from point/size to rectangle 2015-06-22 11:30:14 +08:00
Jinhao
1bb9a09a8a develop inline widgets for listbox 2015-06-21 04:44:49 +08:00
Jinhao
c761aced03 fix inline widget position issue 2015-06-18 01:45:45 +08:00
Jinhao
5982f8c7bf fix a crash error when click on an empty category of listbox 2015-06-16 00:12:09 +08:00
Jinhao
1822fafd79 construct the inline widget for listbox 2015-06-14 21:48:35 +08:00
Jinhao
36b3e6e6cc some minor changes 2015-05-30 22:09:44 +08:00
qPCR4vir
e696fff779 implement double click to auto resize a column in listbox 2015-05-08 00:35:53 +02:00
qPCR4vir
371633f23f listbox auto_width set the column width to fit the current longest text 2015-05-08 00:35:43 +02:00
qPCR4vir
444449dfaa let listbox append_header return the pos of the new header 2015-05-08 00:35:32 +02:00
qPCR4vir
6fd15140a9 introduce cat_proxy::select(bool sel) 2015-05-05 14:56:36 +02:00
qPCR4vir
7863dcdba6 FIX: crash in page down and home of a listbox with categories, trying to create an item_proxy {cat, npos} and select it 2015-05-05 14:03:11 +02:00
qPCR4vir
d4d1a79af8 FIX: a +1 error during navigation of listbox with categories 2015-05-05 14:02:58 +02:00
qPCR4vir
bcb2d5b6fc FIX: crash if finding pos of cat 2015-05-05 14:02:49 +02:00
qPCR4vir
65ebdccd90 FIX: let check this 0,0 is good 2015-05-05 14:02:35 +02:00
qPCR4vir
31639cb34d to find the first item or cat 2015-05-05 14:02:26 +02:00
qPCR4vir
52d040a95d FIX: trace the whole cat when selected, not just the last item 2015-05-05 14:02:13 +02:00
Jinhao
766b9a1e24 Merge branch 'hotfixes-1.0.1' into develop 2015-05-03 17:05:58 +08:00
Jinhao
e449cd5a24 fix a weird behavior of textbox(#52)
and some other GCC compiling errors
2015-05-03 16:59:22 +08:00
Jinhao
08e860a7e7 Merge branch 'hotfixes-1.0.1' into develop
Conflicts:
	.gitignore
	include/nana/deploy.hpp
	source/deploy.cpp
	source/gui/widgets/listbox.cpp
2015-05-03 03:08:26 +08:00
Jinhao
706b923c9b Merge branch 'hotfixes' of https://github.com/qPCR4vir/nana into qPCR4vir-hotfixes 2015-05-02 03:10:54 +08:00
qPCR4vir
c6df0c4293 FIX: a draw problem with item in listbox 2015-04-29 23:05:57 +02:00
qPCR4vir
97db67b2a4 FIX: a crash when clear an empty listbox 2015-04-29 12:46:37 +02:00
qPCR4vir
4fcd2edd54 FIX: crash when clear an ordered listbox 2015-04-29 12:46:16 +02:00
qPCR4vir
611d295fc8 comment key use 2015-04-27 14:19:09 +02:00
qPCR4vir
4b4843bb7f fix necessary copy, add comments and code review 2015-04-27 01:00:55 +02:00
beru
77c039be42 add methods to get/set sortability of listbox 2015-04-27 06:18:28 +09:00
qPCR4vir
585732a497 simpler code 2015-04-26 02:32:46 +02:00
qPCR4vir
83fa73d11f listbox select all
Now  the programs user can "export" the whole list just by pressing ctrl+A-C and pasting into another application, like LibreOffice Calc, Excel, an editor, etc
2015-04-25 22:57:19 +02:00
qPCR4vir
db0591a5db allow programmatically export an arbitrary set of columns 2015-04-25 21:42:15 +02:00
qPCR4vir
49378469ab copy base on def export options 2015-04-25 21:42:01 +02:00
qPCR4vir
7fcd38816b to string take (uses) export options 2015-04-25 21:41:48 +02:00
qPCR4vir
2767fa75ca listbox have def_export_options(); 2015-04-25 21:41:38 +02:00
qPCR4vir
8fdbb0bf44 item to string in column order 2015-04-25 21:41:26 +02:00
qPCR4vir
01d212f59a columns_indexs all_headers( only_visibles) 2015-04-25 21:41:15 +02:00
qPCR4vir
1fb363fb72 listbox override key_char to manage copy: Ctrl-C. 2015-04-25 10:27:59 +02:00
qPCR4vir
063968a803 working on listbox export to string CSV: listbox, header, dummy list 2015-04-25 10:27:31 +02:00
qPCR4vir
0d736db479 FIX: PageDown select last item in page not first 2015-04-24 17:25:27 +02:00
qPCR4vir
8d0e48bd1e FIX: Listbox doesn't handle Home, End. OK in windows 2015-04-24 16:47:03 +02:00
qPCR4vir
c3bf16554c FIX: navigate ordered listbox with keyboard up/down, FEATURE: page up/down, and multi selection with shift + up/down
Comments and code review.
Original from branch page_scroll
unfortunately included code already merged by Jinhao (header_width, etc)
2015-04-23 00:32:47 +02:00
Jinhao
6ba23bb6c3 add header_width() methods for getting/setting header width. 2015-04-12 23:28:48 +08:00
Jinhao
e84b5ff78a code reviews 2015-04-12 23:26:27 +08:00